Jit.pwindow resolution and fullscreen problems.

    Oct 02 2012 | 2:27 pm
    I'm using jit.pwindow to play some image files randomly every 3 seconds.
    The problem is that the displyed resolution of the jpg images I'm using is awful when expanding the window or when going fullscreen.
    I'd also like to automatically fit the images to the window, which i can do with imovie, but not jit.pwindow.
    Many thanks

    • Oct 02 2012 | 2:34 pm
      Classic mistake: you aren't setting the resolution so it defaults to 320x240. I assume you're using jit.qt.movie to load 'm? Set @adapt 1 so it will set the resolution automatically.
      Not sure what you mean exactly with auto fit in jit.pwindow.
    • Oct 02 2012 | 2:46 pm
      That's great, I've just set it to adapt but the resolution still isn't as good as the source images.
    • Oct 02 2012 | 3:23 pm
      Works fine for me. Don't forget that the way you patched it @adapt isn't saved with the patch and will default to 0 next time you open it. Initialize it like this to have it set on load:
      [jit.qt.movie @adapt 1]
    • Oct 02 2012 | 4:17 pm
      Thanks.. I have to admit I'm not actually sure how to initialize this...
      However, When comparing the Jpegs in preview on mac osx they are clearly of a higher resolution that when using jit.window. I can show you some screen grabs if that helps.
      I really can't work out why. The other thing that is happening is that the aspect ratio of the photographs is not being preserved- they are stretched to fit the screen.
    • Oct 02 2012 | 4:34 pm
      That's how jit.pwindow and .window operate if you send 'm plain matrices, they squeeze/stretch 'm into the window size. If you have diverging image sizes you'll have to work with @usedstdim. See Jitter tutorial 14.