Jump to content
  • Advertisement

Archived

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

Frankie68

Reading / writing JPEG's, GIF's or PNG's, how?

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

Hello, Reading and writing bmp''s is really simple, but now I want to use a format that is less space-consuming. So the question that I am going to ask is really simple, I am just hoping on a clever answer. How can I read/write JPEG''s, GIF''s and PNG''s? I am not expecting huge sourcecode-snippets, but maybe you know a link to a nice website that I can visit to start on the subject. And maybe more general: what is the best way to find info on a fileformat? Using google always gives bad results. I end up on sites who are offering programs to edit them. But that is not what I want. Thanks for reading my post, and maybe you can help me...

Share this post


Link to post
Share on other sites
Advertisement
libjpeg and libpng.

both come with readme files that walk you through creating a function to load/save in appropriate formats.

edit: gifs are evil, why would you want to use them anyway?

[edited by - niyaw on December 7, 2002 8:10:44 AM]

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!