big image into jit.matrix

    Oct 08 2011 | 2:38 pm
    hi all, sorry this may be a faq.
    i want to show a jpeg image which is 20000x10000 argb. sending "dim 20000 10000" to jit.matrix seems succesfull. it returns "size 800000000". but it returns "importmovie foo.jpeg 0".
    i tried @usesrcdim 1 @srcdimstart 0 0 @srcdimend 2000 1000 or @adapt 1 but no success.
    does anyone know how much is the maximum size of an image? is there any way to know image size beforehand? any smarter way to show this big image?
    thanks! rosenich

    • Oct 29 2011 | 7:00 pm
      I would like to know the maximum size as well (I assume the limitation is on the size). I work with a visual artist, and the images she sends me are very large. I have tried lowering the resolution as well as resizing them, and at some point while doing the former I could import the image, however jit.pwindow would display something that had little to do with the original. Extreme resizing measures have led to me being able to import the image correctly, however it would be very helpful to know the maximum size so I can just tell her what to send, or at least know how far I need to go when treating the image. :)
    • Mar 01 2012 | 6:53 pm
      hello. i'd like to know also the maximum size of a picture to import in a jit.matrix before the bug importation (the big pictures are just strange). is that a limitation of quicktime ? thanks.
    • Mar 03 2013 | 9:03 pm
      I was trying to load an 4096w x 4096h jpeg into jit.matrix and it rendered garbled in jit.pwindow and jit.window. The image loaded fine in all other software (including Quicktime Picture Viewer). If I resize the image's width to less than 4096 pixels then the image will render fine.
      If I import a 4096w x 4096h jpeg into jit.matrix and then immediately export it, the exported file appears fine in other picture viewers
      So I'm concluding that jit.matrix is working just fine and that the issue resides with jit.pwindow and jit.window when they attempt to render images larger than 4095 pixels wide
      My solution is cropping the image to 4095w x 4095h
      Max 6.0.8 Windows 8 Enterprise N