summaryrefslogtreecommitdiff
path: root/source/tools/pdfextract.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/tools/pdfextract.c
parent17db174004b7d94777d2c3d2d09c8fba629b6e78 (diff)
downloadmupdf-497d9f348c23ff0465147734bf5dcb548511b256.tar.xz
Rename fz_image_get_pixmap to fz_get_pixmap_from_image.
Diffstat (limited to 'source/tools/pdfextract.c')
-rw-r--r--source/tools/pdfextract.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/tools/pdfextract.c b/source/tools/pdfextract.c
index 6f2ed1ca..e867ca04 100644
--- a/source/tools/pdfextract.c
+++ b/source/tools/pdfextract.c
@@ -72,7 +72,7 @@ static void saveimage(int num)
/* TODO: detect DCTD and save as jpeg */
image = pdf_load_image(ctx, doc, ref);
- pix = fz_image_get_pixmap(ctx, image, 0, 0);
+ pix = fz_get_pixmap_from_image(ctx, image, 0, 0);
fz_drop_image(ctx, image);
snprintf(buf, sizeof(buf), "img-%04d", num);