summaryrefslogtreecommitdiff
path: root/include/fitz/image.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/fitz/image.h')
-rw-r--r--include/fitz/image.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/fitz/image.h b/include/fitz/image.h
new file mode 100644
index 00000000..7f6038ce
--- /dev/null
+++ b/include/fitz/image.h
@@ -0,0 +1,17 @@
+enum
+{
+ FZ_CSGRAY,
+ FZ_CSRGB,
+ FZ_CSCMYK
+};
+
+struct fz_image_s
+{
+ fz_node super;
+ int w, h, n, bpc;
+ int cs;
+ unsigned char *data;
+};
+
+fz_error *fz_newimage(fz_node **nodep, int w, int h, int n, int bpc, int cs);
+