summaryrefslogtreecommitdiff
path: root/include/fitz/image.h
blob: ea3ebaa9cb2895c512c5785f60fb7159135b4f77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
typedef struct fz_image_s fz_image;

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

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