From 5825ef8805ca8439ac576fb0071f9ddbdf8f6281 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 16 Jun 2016 11:21:36 +0200 Subject: Drop save_alpha argument from image writing functions. --- platform/java/com/artifex/mupdf/fitz/Pixmap.java | 2 +- platform/x11/jstest_main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'platform') diff --git a/platform/java/com/artifex/mupdf/fitz/Pixmap.java b/platform/java/com/artifex/mupdf/fitz/Pixmap.java index 61c5ddc6..5e23ca21 100644 --- a/platform/java/com/artifex/mupdf/fitz/Pixmap.java +++ b/platform/java/com/artifex/mupdf/fitz/Pixmap.java @@ -44,7 +44,7 @@ public class Pixmap public native void clear(); public native void clearWithValue(int value); - public native void saveAsPNG(String filename, boolean saveAlpha); + public native void saveAsPNG(String filename); public native int getX(); public native int getY(); diff --git a/platform/x11/jstest_main.c b/platform/x11/jstest_main.c index 79d300ea..264e2ec7 100644 --- a/platform/x11/jstest_main.c +++ b/platform/x11/jstest_main.c @@ -374,7 +374,7 @@ main(int argc, char *argv[]) if (strstr(text, ".pgm") || strstr(text, ".ppm") || strstr(text, ".pnm")) fz_save_pixmap_as_pnm(ctx, gapp.image, text); else - fz_save_pixmap_as_png(ctx, gapp.image, text, 0); + fz_save_pixmap_as_png(ctx, gapp.image, text); } else if (match(&line, "RESIZE")) { -- cgit v1.2.3