Archived

This topic is now archived and is closed to further replies.

What image file format good at compress?

This topic is 4985 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

Depending upon the API you are targetting, PNG loading may already be built in. Both DirectX and GDI+ have built-in support for PNG loading. With other APIs, your mileage may vary, but you probably want to check before doing a lot of work integrating libpng or such into your game/engine.

Share this post


Link to post
Share on other sites
quote:
Original post by gmcbay
Depending upon the API you are targetting, PNG loading may already be built in. Both DirectX and GDI+ have built-in support for PNG loading. With other APIs, your mileage may vary, but you probably want to check before doing a lot of work integrating libpng or such into your game/engine.


A lot of work ? You mean the 40 lines of code needed to include libpng into a texture or image loader ? The 2 minutes it takes to essentially copy and paste the example code that comes with libpng ?

Use libpng, it''s a very good library. Very easy and simple to use, platform independent, and high standard conformance.

Share this post


Link to post
Share on other sites