|
|
ru.linux- RU.LINUX --------------------------------------------------------------------- From : Nikolay Moskvichev 2:5010/70 16 Jun 2006 08:04:35 To : All Subject : Re: maps.google.com --------------------------------------------------------------------------------
> ZK> просмотра? Кроме того - файл _не_пакованный_ судя по тому, что написано в
> bmp непакованный не бывает. там rle encoding. А в новых bmp кажется еще
> что-то.
>
The BITMAPINFOHEADER structure contains information about the dimensions
and color format of a device-independent bitmap (DIB).
typedef struct tagBITMAPINFOHEADER{ // bmih
DWORD biSize;
LONG biWidth;
LONG biHeight;
WORD biPlanes;
WORD biBitCount
DWORD biCompression;
DWORD biSizeImage;
LONG biXPelsPerMeter;
LONG biYPelsPerMeter;
DWORD biClrUsed;
DWORD biClrImportant;
} BITMAPINFOHEADER;
Members
biCompression
Specifies the type of compression for a compressed bottom-up bitmap
(top-down DIBs cannot be compressed). It can be one of the following
values:
Value Description
BI_RGB - An uncompressed format.
BI_RLE8 - A run-length encoded (RLE) format for bitmaps with 8 bits per
pixel. The compression format is a two-byte format consisting of a count
byte followed by a byte containing a color index. For more information,
see the following Remarks section.
BI_RLE4 - An RLE format for bitmaps with 4 bits per pixel. The
compression format is a two-byte format consisting of a count byte
followed by two word-length color indices. For more information, see the
following Remarks section.
BI_BITFIELDS - Specifies that the bitmap is not compressed and that the
color table consists of three doubleword color masks that specify the
red, green, and blue components, respectively, of each pixel. This is
valid when used with 16- and 32-bits-per-pixel bitmaps.
--- ifmail v.2.15dev5
* Origin: Ye 'Ol Disorganized NNTPCache groupie (2:5010/70)
Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.linux/1512e83ae677.html, оценка из 5, голосов 10
|