------------------
E-mail with questions, comments, and retorts.
🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
24bit, and Indexed colors...
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...
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.
FlyFire/CodeX
http://codexorg.webjump.com
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement