summaryrefslogtreecommitdiff
path: root/source/tools
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2013-06-20 15:02:08 +0200
committerTor Andersson <tor.andersson@artifex.com>2013-06-20 16:46:10 +0200
commit73f5ba5cb7520a01d5bc4d85358f21d298d33317 (patch)
treed91890b7ccdbb59ff992d96f281bcb2a88ca2292 /source/tools
parent643370f04348569b5e5e577660031d638537671c (diff)
downloadmupdf-73f5ba5cb7520a01d5bc4d85358f21d298d33317.tar.xz
Rename fz_image_to_pixmap to fz_new_pixmap_from_image.
Match our naming conventions.
Diffstat (limited to 'source/tools')
-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 6e8e4aec..e7418224 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(doc, ref);
- pix = fz_image_to_pixmap(ctx, image, 0, 0);
+ pix = fz_new_pixmap_from_image(ctx, image, 0, 0);
fz_drop_image(ctx, image);
sprintf(name, "img-%04d", num);