From 858d56ff790966ea614a0217510cdf36d0496488 Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Thu, 28 Apr 2016 19:42:45 +0100 Subject: Fix JPX breakage caused during refactor. I was using fz_compressed_image when I should have been using fz_pixmap_image. --- include/mupdf/fitz/image.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') 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 -- cgit v1.2.3