Forums > Jitter

Resizing Movie Files without Stretching Aspect Ratio


Sym
October 2, 2013 | 12:58 am

Hey, I’m working on a patch where I’m rescaling a jit.pwindow playing a quicktime movie to play Fullscreen on the Patcher.

However when rescaling it also changes the aspect ratio and streches it to the top and the bottom. Is it possible to have it keep it’s correct ratio and have jit.pwindow to show black bars in the space that stays empty?


October 3, 2013 | 12:52 pm

Turn your movie into a texture and then send it into a jit.gl.plane. When you then resize jit.pwindow then you know that the aspect ratio will always stay the same.


Viewing 2 posts - 1 through 2 (of 2 total)