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

May 31, 2009 at 8:20pm

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

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

#44183
May 31, 2009 at 11:10pm

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

#158806
Apr 16, 2014 at 11:58pm

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.

#286857

You must be logged in to reply to this topic.