Working with Gigapixel Images (Very large files!)

May 23, 2010 at 5:13pm

Working with Gigapixel Images (Very large files!)

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!

#50525
May 24, 2010 at 8:26am

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.

#181262

You must be logged in to reply to this topic.