Originally posted by: jeff
Here I need some help.
In photoshop we can save a image into raw format.In this
format,all the data is the image data itself.That is if a
image is 8-bit with size of 512*512,then the size of the
file is 512*512 byte.
Then my question is that how to build a bitmap from the
raw image? If I want to use the the CDIB class that
developed by others,how to fill the image data into in?
Originally posted by: Karsten
Bitmaps have per definition to be aligned to the next DWORD border. It can be read in most every "bit" description in the MSDN.
This is very important if you are manipulating the bits by a own operation. You can than work in scanlines.