[gimp] file-pnm: Pass format to gegl_buffer_get() to fix saving from other formats
- From: Mukund Sivaraman <muks src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] file-pnm: Pass format to gegl_buffer_get() to fix saving from other formats
- Date: Tue, 20 Jan 2015 15:31:00 +0000 (UTC)
commit c05853885a7d1ec73843ef6a50e4239b64585071
Author: Mukund Sivaraman <muks banu com>
Date: Tue Jan 20 21:00:04 2015 +0530
file-pnm: Pass format to gegl_buffer_get() to fix saving from other formats
plug-ins/common/file-pnm.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/common/file-pnm.c b/plug-ins/common/file-pnm.c
index 3375bb5..3ce2ed3 100644
--- a/plug-ins/common/file-pnm.c
+++ b/plug-ins/common/file-pnm.c
@@ -1352,7 +1352,7 @@ save_image (GFile *file,
gegl_buffer_get (buffer,
GEGL_RECTANGLE (0, ypos, xres, yend - ypos), 1.0,
- NULL, data,
+ format, data,
GEGL_AUTO_ROWSTRIDE, GEGL_ABYSS_NONE);
d = data;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]