469,112 Members | 2,014 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,112 developers. It's quick & easy.

Editing a Bitmap, while keeping it's color-depth & colors ?

Hello All,

I would like to be able to edit a .BMP-file, while retaining it's
color-depth & colors.

Actually, I want to cut small pieces outof one .BMP, and store it into
another one. Jup, sort of a tile-editor :-)

Does anyone have a small sample (or pointer to one) of howto :
1) Load & save a device-independant bitmap (DIB).
2) Create a Device-independant bitmap that has the color-depth/colors of
another DIB
3) BitBlit from one to the other (although I think I allready have an idea
how to do this :-)

I've allready looked in my snippets-bag & used google, but I can't say I
grasp what has to be done ... :-\

Rudy Wieser

Jul 17 '05 #1
0 1514

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Crirus | last post: by
5 posts views Thread by Lance | last post: by
7 posts views Thread by Dennis | last post: by
3 posts views Thread by Sebastor | last post: by
4 posts views Thread by Yoavo | last post: by
1 post views Thread by Nathan Sokalski | last post: by
reply views Thread by kglaser89 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.