20struct gp_bmp_info_header {
22 uint32_t pixel_offset;
25 uint32_t header_offset;
39 uint32_t compress_type;
43 uint32_t palette_colors;
57 COMPRESS_BITFIELDS = 3,
60 COMPRESS_ALPHABITFIELDS = 6,
61 COMPRESS_MAX = COMPRESS_ALPHABITFIELDS,
64enum gp_bmp_info_header_size {
65 BITMAPCOREHEADER = 12,
66 BITMAPCOREHEADER2 = 64,
67 BITMAPINFOHEADER = 40,
68 BITMAPINFOHEADER2 = 52,
69 BITMAPINFOHEADER3 = 56,
70 BITMAPINFOHEADER4 = 108,
71 BITMAPINFOHEADER5 = 124,
86int gp_bmp_read_info_header(gp_io *io,
struct gp_bmp_info_header *header);
98gp_pixel_type gp_bmp_pixel_type(
struct gp_bmp_info_header *header);
107uint32_t gp_bmp_palette_size(
struct gp_bmp_info_header *header);
119int gp_bmp_read_pixels(gp_io *io,
struct gp_bmp_info_header *header,
gp_pixel_type
List of all pixel types.