[gimp/gimp-2-8] Bug 751089: Part PNG files are not opened properly
- From: Massimo Valentini <mvalentini src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-8] Bug 751089: Part PNG files are not opened properly
- Date: Tue, 30 Jun 2015 17:54:41 +0000 (UTC)
commit 1ca0f2ec98f9643e2a1798ad0afc17b8b2168d1c
Author: Massimo Valentini <mvalentini src gnome org>
Date: Tue Jun 30 19:49:53 2015 +0200
Bug 751089: Part PNG files are not opened properly
(cherry picked from commit f72f8f20e57ba8abeac3a656b07314a34673776c)
plug-ins/common/file-png.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plug-ins/common/file-png.c b/plug-ins/common/file-png.c
index f123b1a..ee057bc 100644
--- a/plug-ins/common/file-png.c
+++ b/plug-ins/common/file-png.c
@@ -765,6 +765,7 @@ load_image (const gchar *filename,
}
png_init_io (pp, fp);
+ png_set_compression_buffer_size (pp, 512);
gimp_progress_init_printf (_("Opening '%s'"),
gimp_filename_to_utf8 (filename));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]