summaryrefslogtreecommitdiff
path: root/apps/mupdfextract.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/mupdfextract.c')
-rw-r--r--apps/mupdfextract.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/mupdfextract.c b/apps/mupdfextract.c
index e86a7db1..a6a677cd 100644
--- a/apps/mupdfextract.c
+++ b/apps/mupdfextract.c
@@ -44,7 +44,7 @@ static void saveimage(int num)
fz_drop_image(ctx, image);
sprintf(name, "img-%04d", num);
- fz_save_pixmap(ctx, img, name, dorgb);
+ fz_write_pixmap(ctx, img, name, dorgb);
fz_drop_pixmap(ctx, img);
pdf_drop_obj(ref);