Jump to content

View more

Image of the Day

Boxes as reward for our ranking mode. ヾ(☆▽☆)
#indiedev #gamedev #gameart #screenshotsaturday https://t.co/ALF1InmM7K
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

jpg file question

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
2 replies to this topic

#1 wizzard   Members   

122
Like
Likes
Like

Posted 30 August 1999 - 11:20 PM

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.

#2 ghowland   Members   

134
Like
Likes
Like

Posted 29 August 1999 - 11:07 AM

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


#3 foofightr   Members   

130
Like
Likes
Like

Posted 30 August 1999 - 11:20 PM

just as a side note, JPG's can not be 16bit; they must be 24bit.

Isn't the JPG format copyrighted?





Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.