Archived

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

initial_y

What image file format good at compress?

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