Jump to content
  • Advertisement

Archived

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

McMcDonald

Loading jpg - color problems

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

Hi! I am using directx7. I load my .bmp-graphics - all works well. But if i load the same graphics (using NViewLib.dll) as .jpg, it seems that black is not really black (my colorkey). For example around yellow colors there are a lot of pixels that appears not transparent. I use Adobe photoshop to save the .bmp as .jpg (highest quality). Any ideas? It would be nice to use .jpg to get a downloadable game. Thanks McMc

Share this post


Link to post
Share on other sites
Advertisement
Becuase of compression and approxmination of colour [even at "highest quality" there is compression] you end up with some colours varying.

if you are doing transaparency, i recommend tga or bmp, as you can savethese uncompressed.

i don''t know about the black "brightening"...

hope this helps...

www.stephen-hawes.co.uk

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!