Jump to content
  • Advertisement

Archived

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

wizzard

jpg file question

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

This is really two questions

1 - How do you load a JPEG file and convert it to a non-compressed bitmap?

2 - How do you put a non-compressed, in-memory bitmap to a DD surface?

1: Check on sites like www.wotsit.org for information about the JPEG file format and converting files from the encoded format to a non-encoded mode.

2: Move information, once uncompressed, just as you would any other graphic format, such as BMP, which can be found in just about any tutorial on starting with DD.

-Geoff

Share this post


Link to post
Share on other sites
Advertisement
How do you load a jpg into a dd surface?? By this i mean the decription of the file and the actual writing to the surface?? Also, assume that the jpg and surface are 16 bit. Thanks in advance.

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!