34 #ifndef __HPGS_IMAGE_H__
35 #define __HPGS_IMAGE_H__
An abstract pixel image.
Definition: hpgs.h:989
A screen RGB color as stored in a palette.
Definition: hpgs.h:251
Definition: hpgsimage.h:54
unsigned res_x
The number of pixels per meter in x-direction, or 0 if unknown.
Definition: hpgsimage.h:67
hpgs_palette_color pattern_color
The color of the ROP3 pattern.
Definition: hpgsimage.h:65
int compression
The compression used for writing the image in the range from 0 to 9.
Definition: hpgsimage.h:60
int depth
The bit depth of the image.
Definition: hpgsimage.h:57
int color_type
The color type.
Definition: hpgsimage.h:58
hpgs_rop3_func_t rop3
The ROP3 raster operation.
Definition: hpgsimage.h:64
unsigned char * data
The pixel data.
Definition: hpgsimage.h:62
unsigned res_y
The number of pixels per meter in y-direction, or 0 if unknown.
Definition: hpgsimage.h:68
int bytes_per_row
The number of bytes per row of the pixel data.
Definition: hpgsimage.h:59