summaryrefslogtreecommitdiff
path: root/source/fitz/load-tiff.c
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2017-07-03 18:33:48 +0100
committerRobin Watts <robin.watts@artifex.com>2017-07-19 19:41:23 +0100
commitf957eae764e6dbc74401b66d6a18ba3290fdb982 (patch)
tree224513a5080adde16386669feb0881aefe75794a /source/fitz/load-tiff.c
parent3d6cf4e4e543ce0d204db71ef8d0b9277219f250 (diff)
downloadmupdf-f957eae764e6dbc74401b66d6a18ba3290fdb982.tar.xz
Add spots to fz_pixmaps.
Update separations interface further to cope with whether spots should be rendered separately, or as composite colors.
Diffstat (limited to 'source/fitz/load-tiff.c')
-rw-r--r--source/fitz/load-tiff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/load-tiff.c b/source/fitz/load-tiff.c
index 881498c0..77539876 100644
--- a/source/fitz/load-tiff.c
+++ b/source/fitz/load-tiff.c
@@ -1313,7 +1313,7 @@ fz_load_tiff_subimage(fz_context *ctx, unsigned char *buf, size_t len, int subim
/* Expand into fz_pixmap struct */
alpha = tiff.extrasamples != 0;
- image = fz_new_pixmap(ctx, tiff.colorspace, tiff.imagewidth, tiff.imagelength, alpha);
+ image = fz_new_pixmap(ctx, tiff.colorspace, tiff.imagewidth, tiff.imagelength, NULL, alpha);
image->xres = tiff.xresolution;
image->yres = tiff.yresolution;