summaryrefslogtreecommitdiff
path: root/include/fitz/wld_image.h
blob: 89d180ba50829e9a086df9e26af6e307ae5ef109 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
typedef struct fz_image_s fz_image;

/* loadtile will fill a pixmap with the pixel samples. non-premultiplied alpha. */

struct fz_image_s
{
	int refs;
	fz_error* (*loadtile)(fz_image*,fz_pixmap*);
	void (*drop)(fz_image*);
	fz_colorspace *cs;
	int w, h, n, a;
};

fz_image *fz_keepimage(fz_image *img);
void fz_dropimage(fz_image *img);