Jump to content
  • Advertisement

Archived

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

initial_y

What image file format good at compress?

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

Advertisement
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

  • 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!