Forums > MaxMSP

Working with Gigapixel Images (Very large files!)

May 23, 2010 | 5:13 pm

I’ve been using:

jit.qt.movie
jit.rota

to load and then scale image files. It’s working fine for small images, however, I’d like to load images 20MB or even up to 500MB with very high resolution so I can essentially zoom in and out with little quality loss. I’ve tried loading an image 20MB and it hangs and the output window just stays black.

Anyone have ideas for working with large files like this?

Thanks!


May 24, 2010 | 8:26 am

Processing images like that will take some cpu i guess, it might be better to process in GL directly instead of using jit.rota (so rotating/scaling an jit.gl.videoplane and rendering it to a window directly).

For the reading part: have you tried ‘asyncread’ instead of ‘read’ ? That should prevent from the entire patch from responding. I have no idea how this will work with big image-files, but worth a try. The object will send a message from the info outlet once it is done.


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