diff options
Diffstat (limited to 'source/tools/pdfextract.c')
-rw-r--r-- | source/tools/pdfextract.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/tools/pdfextract.c b/source/tools/pdfextract.c index 74b3654e..3f79137a 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_get_pixmap_from_image(ctx, image, 0, 0); + pix = fz_get_pixmap_from_image(ctx, image, NULL, NULL, 0, 0); fz_drop_image(ctx, image); snprintf(buf, sizeof(buf), "img-%04d", num); |