Forums > Jitter

How do I load a page from a multi-page TIFF file to a gl.texture?

May 31, 2009 | 8:20 pm

Hey folks,

I’m trying to load a single page from a 20-page TIFF file to be used as a texture in OpenGL. How can I read a specific page into a gl.texture/jit.matrix object?

Also, is there any way that Jitter/OpenGL can detect how many pages the file is?

Thanks in advance,

Peace,
Drew


May 31, 2009 | 11:10 pm

Jitter uses quicktime for image I/O. If quicktime can read a specific page of a multi-page tiff, then you should be able to use the same mechanism in Jitter. I’m pretty sure that QT can’t do this. So, you’re going to need to export the specific page of the tiff some other way and read that instead.

wes


April 16, 2014 | 11:58 pm

i know a .net tiff software that support load and read tiff, but i don’t sure it has the same function as quicktime. can anyone test for me, thank you.


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