Jump to content
  • Advertisement


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


24bit, and Indexed colors...

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

How do i display a image such as a PCX we will say, in true color..how would I go about taking the palette and converting it to true color if any conversion is even needed...

E-mail with questions, comments, and retorts.

Share this post

Link to post
Share on other sites
Don't forget, that in true color, red, green and blue values is 8bit, and in normal VGA palette, all rgb values represented as 6bit values. So you'll need to multiply each color value by 4 (or <<2) and then pack them into resulting 24bit or 32bit colour.


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!