summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2016-04-28 19:42:45 +0100
committerRobin Watts <robin.watts@artifex.com>2016-04-28 19:45:56 +0100
commit858d56ff790966ea614a0217510cdf36d0496488 (patch)
tree0eacaa7c68b8b93b2f50d23a92a5114cd69f4e00 /include
parentad13312fc42a236750fbea697a07e4109fae8513 (diff)
downloadmupdf-858d56ff790966ea614a0217510cdf36d0496488.tar.xz
Fix JPX breakage caused during refactor.
I was using fz_compressed_image when I should have been using fz_pixmap_image.
Diffstat (limited to 'include')
-rw-r--r--include/mupdf/fitz/image.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/mupdf/fitz/image.h b/include/mupdf/fitz/image.h
index 41c4b80c..96434d35 100644
--- a/include/mupdf/fitz/image.h
+++ b/include/mupdf/fitz/image.h
@@ -19,6 +19,7 @@
*/
typedef struct fz_image_s fz_image;
typedef struct fz_compressed_image_s fz_compressed_image;
+typedef struct fz_pixmap_image_s fz_pixmap_image;
/*
fz_get_pixmap_from_image: Called to get a handle to a pixmap from an image.
@@ -121,4 +122,7 @@ void fz_set_compressed_image_tile(fz_context *ctx, fz_compressed_image *cimg, fz
fz_compressed_buffer *fz_compressed_image_buffer(fz_context *ctx, fz_image *image);
void fz_set_compressed_image_buffer(fz_context *ctx, fz_compressed_image *cimg, fz_compressed_buffer *buf);
+fz_pixmap *fz_pixmap_image_tile(fz_context *ctx, fz_pixmap_image *cimg);
+void fz_set_pixmap_image_tile(fz_context *ctx, fz_pixmap_image *cimg, fz_pixmap *pix);
+
#endif