Jump to content
  • Advertisement
Sign in to follow this  
cebugdev

TIFF(JPEG compression) loading in opengl

Recommended Posts

hi,

i am using stbi_load library since it is so lightweight, all we need to include is a header file, so i can easily port it to mobile (OpenGL ES), but i have discovered that it does not load TIFF with JPEG compression,

are there any other alternative image loader that can load TIFF (with JPEG compression)?
Im planning to use TIFF(with JPEG) as the textures to my 3d objects because of its size which is more than half of that PNGs.

 

Share this post


Link to post
Share on other sites
Advertisement

IIRC i have used http://www.libtiff.org/ because it supported JPEG compression for CMYK images (4 color channels), so i guess it works for you.

However, likely you uncompress them at loading time, so you end up using uncompressed textures. Which takes more memory and is mostly slower. You might want to use compression supported by GPU hardware instead.

 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!