Jump to content
  • Advertisement
Sign in to follow this  
Khaos Dragon

16 bit greyscale png

This topic is 5484 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I notice that Terragen can export its heightmaps to 16 bit raw files. And since, I am handling all my image loading with sdl_image, I think I would prefer to load in my heightmaps as 16 bit greyscale png's. I know how to load in 16 bit raw files, but I can't seem to find a way to save it to 16 bit greyscale png, even using libPNG (the documentation is really confusing). There don't seem to be any cases that deal with 16 bit greyscale, and most major image editing programs like photoshop don't seem to work with them. Does anybody know of any programs that might help me, or know how to do this in libPNG?

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!