Jump to content
  • Advertisement

Archived

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

cruiz

16BIT bitmap????

This topic is 6098 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 out there! Im programming a game with 8BIT and now i try to grade it up to 16 BIT. How can I make a 16BIT bitmap???? No really!! In coreldraw and in Adobe Photoshop I only can do 8BIT and 24BIT. But not in 16BIT!!!!!!! Im a little bit frustrated! I think you have more experience with this BIT-stuff than me. Can I load with VC++ another Format than .bmp? how? Please post anything. I mean all experiences and tipps can help me. I thanks you all out there. Greets: C.Ruiz

Share this post


Link to post
Share on other sites
Advertisement
Most Painting programs support only 8bit or 24bit pictures... This means that you should load a 24bit image and convert it to a 16bit one... You just need some bit shifting stuff.

Share this post


Link to post
Share on other sites
or, create your own conversion program that converts 24bit images to 16bit images using your own file format. than your game dont need to deal with 24bit images.

Share this post


Link to post
Share on other sites
Thanks for posts...
How can I convert a bitmap from 24 to 16??
And can I download this "bit shifting stuff" from
somewhere in the internet? Can you tell me some names?
tnx to all: C.Ruiz

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Cruiz,

If your game is a 2D one I recommend you have a look at the Allegro library which has routines for games and colour converting. (see www.allegro.cc) Best of all the source if free so you could always use the 24->16/15 bpp conversion routines..

I use allegro for my work and it''s a great library for 2D games especially.

Hope this helps, Rich.

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!