The DilloImage data-structure and methods.
void * a_Imgbuf_new(void *v_ir, int img_type, uint_t width, uint_t height, double gamma)
Create a new Imgbuf.
void a_Imgbuf_ref(void *v_imgbuf)
Increment reference count for an Imgbuf.
void a_Imgbuf_update(void *v_imgbuf, const uchar_t *buf, DilloImgType type, uchar_t *cmap, uint_t width, uint_t height, uint_t y)
Update the root buffer of an imgbuf.
int a_Imgbuf_last_reference(void *v_imgbuf)
Last reference for this Imgbuf?
void a_Imgbuf_unref(void *v_imgbuf)
Decrement reference count for an Imgbuf.
void a_Imgbuf_new_scan(void *v_imgbuf)
Reset for a new scan from a multiple-scan image.