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?
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.