Read a TIFF with OpenGL?

Hi, everyone! Who could tell me how to read a TIFF image with OpenGL? Are there any good ways to show easyly the TIFF image to a viewport?

Originally posted by Rain:
Hi, everyone! Who could tell me how to read a TIFF image with OpenGL? Are there any good ways to show easyly the TIFF image to a viewport?

reading a TIFF file is not in the scope of OpenGL. Use a specific lib for this (eg libtiff - www.libtiff.org))
Then, when you have your image ready, you can pass it to OpenGL either through the texture mechanism or the pixel path.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.