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

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • R.Wieser

    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 ... :-\

    Regards,
    Rudy Wieser



Working...