
API-Calls for Clipboard-Bitmap save to File
Resolution is not controlled in any way by the BITMAPFILEHEADER.
You have to coordinate the BITMAPINFO data (the .biBitsPixel member and the
.bmiColors palette array of RGBQuads) along with the pixel bits themselves
(eg, 8 Bits/Pixel means each byte represents a pixel as an index into the
.bmiColors array, while monochrome (1 Bit/Pixel) means each byte represents
eight pixels).
What was it you wanted to do?
Jim Deutch
MS Dev MVP
Quote:
>Thank you, Jim Deutch. The API-way works so far. What I need now are the
>parameters for BITMAPFILEHEADER that are responsible for the default
>Bitmap-resolutions..
>In other words:
>Jim Deutch to Lu-Khon Mai (22.07.99)
>>I've got a routine here to save a picturebox as a monochrome bitmap: you
>>should find it pretty easy to change it for 16- and 256-color standard
>>palettes (if not, just ask more questions here!). Custom palettes are
>quite
>>a bit more work...
>So I ask for more... :-)