summaryrefslogtreecommitdiff
path: root/source/pdf/pdf-device.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2015-12-18 15:30:46 +0100
committerTor Andersson <tor.andersson@artifex.com>2015-12-28 13:21:02 +0100
commit497d9f348c23ff0465147734bf5dcb548511b256 (patch)
tree316500b56d3eae73ba90a8cf60ca717643f5c592 /source/pdf/pdf-device.c
parent17db174004b7d94777d2c3d2d09c8fba629b6e78 (diff)
downloadmupdf-497d9f348c23ff0465147734bf5dcb548511b256.tar.xz
Rename fz_image_get_pixmap to fz_get_pixmap_from_image.
Diffstat (limited to 'source/pdf/pdf-device.c')
-rw-r--r--source/pdf/pdf-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-device.c b/source/pdf/pdf-device.c
index dce26a3a..bcdcb914 100644
--- a/source/pdf/pdf-device.c
+++ b/source/pdf/pdf-device.c
@@ -146,7 +146,7 @@ send_image(fz_context *ctx, pdf_device *pdev, fz_image *image, int mask, int sma
int n;
/* Currently, set to maintain resolution; should we consider
* subsampling here according to desired output res? */
- pixmap = fz_image_get_pixmap(ctx, image, image->w, image->h);
+ pixmap = fz_get_pixmap_from_image(ctx, image, image->w, image->h);
colorspace = pixmap->colorspace; /* May be different to image->colorspace! */
n = (pixmap->n == 1 ? 1 : pixmap->n-1);
size = image->w * image->h * n;