Advertisement Jump to content


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


jpg file question

This topic is 7084 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 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.


Share this post

Link to post
Share on other sites
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, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!