34#define IMAGE_MAX_AREA (6000 * 6000)
82 int32_t bg_color, int32_t fg_color);
84 int32_t bg_color, int32_t fg_color);
@ DILLO_IMG_TYPE_CMYK_INV
void a_Image_ref(DilloImage *Image)
Add a reference to an Image struct Do nothing if the argument is NULL.
void a_Image_unref(DilloImage *Image)
Unref and free if necessary Do nothing if the argument is NULL.
DilloImage * a_Image_new_with_dw(void *layout, const char *alt_text, int32_t bg_color, int32_t fg_color)
Create and initialize a new image structure with an image widget.
void * a_Image_get_dw(DilloImage *Image)
Return the image renderer as a widget.
@ IMG_Write
Feeding the entry.
@ IMG_Abort
Image transfer aborted.
@ IMG_SetParms
Parameters set.
@ IMG_SetCmap
Color map set.
@ IMG_Empty
Just created the entry.
@ IMG_Close
Whole image got!
void a_Image_abort(DilloImage *Image)
Implement the abort method.
void a_Image_write(DilloImage *Image, uint_t y)
Implement the write method.
DilloImage * a_Image_new(void *layout, void *img_rndr, int32_t bg_color, int32_t fg_color)
Create and initialize a new image structure.
void a_Image_close(DilloImage *Image)
Implement the close method.
void a_Image_set_parms(DilloImage *Image, void *v_imgbuf, DilloUrl *url, int version, uint_t width, uint_t height, DilloImgType type)
Set initial parameters of the image.
uint_t ScanNumber
Current decoding scan.
int32_t fg_color
Foreground color.
bitvec_t * BitVec
Bit vector for decoded rows.
int RefCount
Reference counter.
int32_t bg_color
Background color.
ImageState State
Processing status.
Parse and normalize all URL's inside Dillo.