summaryrefslogtreecommitdiff
path: root/source/fitz/pixmap.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/fitz/pixmap.c
parent17db174004b7d94777d2c3d2d09c8fba629b6e78 (diff)
downloadmupdf-497d9f348c23ff0465147734bf5dcb548511b256.tar.xz
Rename fz_image_get_pixmap to fz_get_pixmap_from_image.
Diffstat (limited to 'source/fitz/pixmap.c')
-rw-r--r--source/fitz/pixmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/pixmap.c b/source/fitz/pixmap.c
index ed20265e..3096b6b3 100644
--- a/source/fitz/pixmap.c
+++ b/source/fitz/pixmap.c
@@ -943,7 +943,7 @@ png_from_pixmap(fz_context *ctx, fz_pixmap *pix, int drop)
fz_buffer *
fz_new_buffer_from_image_as_png(fz_context *ctx, fz_image *image, int w, int h)
{
- return png_from_pixmap(ctx, fz_image_get_pixmap(ctx, image, image->w, image->h), 1);
+ return png_from_pixmap(ctx, fz_get_pixmap_from_image(ctx, image, image->w, image->h), 1);
}
fz_buffer *