[gimp] file-png: Specify the interlace type explicitly
- From: Mukund Sivaraman <muks src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] file-png: Specify the interlace type explicitly
- Date: Thu, 5 May 2011 13:30:08 +0000 (UTC)
commit 4fa2bbabf9959dc8bebc45fe263e737198c30e99
Author: Mukund Sivaraman <muks banu com>
Date: Thu May 5 18:53:11 2011 +0530
file-png: Specify the interlace type explicitly
plug-ins/common/file-png.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/common/file-png.c b/plug-ins/common/file-png.c
index b16dbf5..4405ea4 100644
--- a/plug-ins/common/file-png.c
+++ b/plug-ins/common/file-png.c
@@ -1473,7 +1473,7 @@ save_image (const gchar *filename,
png_set_IHDR (pp, info, drawable->width, drawable->height,
bit_depth,
color_type,
- pngvals.interlaced,
+ pngvals.interlaced ? PNG_INTERLACE_ADAM7 : PNG_INTERLACE_NONE,
PNG_COMPRESSION_TYPE_BASE,
PNG_FILTER_TYPE_BASE);
png_set_compression_level (pp, pngvals.compression_level);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]