This structure describes a color consisting of relative intensities of red, green, and blue. typedef struct tagRGBQUAD { BYTE rgbBlue; BYTE rgbGreen; BYTE rgbRed; BYTE rgbReserved;} RGBQUAD; Members rgbBlue Specifies the intensity of blue in the color. rgbGreen Specifies the intensity of green in the color. rgbRed Specifies the intensity of red in the color. rgbReserved <<----------------保留, 设置成0 Reserved; set to zero. <<----------
水平方向上的每米的像素个数
biYpelsPerMeter
垂直方向上的每米的像素个数 http://www.vckbase.com/document/viewdoc/?id=674
BYTE rgbBlue;
BYTE rgbGreen;
BYTE rgbRed;
BYTE rgbReserved;}
RGBQUAD;
Members
rgbBlue
Specifies the intensity of blue in the color.
rgbGreen
Specifies the intensity of green in the color.
rgbRed
Specifies the intensity of red in the color.
rgbReserved <<----------------保留, 设置成0
Reserved; set to zero. <<----------
读取一个用photoshop处理出来的bmp文件,看看别人是如何设置的具体数值
水平方向上的每米的像素个数
biYpelsPerMeter
垂直方向上的每米的像素个数 2.54 cm=1 inch
象素 = dpi * inch
自己换算了