[gimp] plug-ins: add missing parameters to file-png-save in openraster save_ora



commit 9a19cf3b814ef85dffa241a88ff8e2b3bc3035df
Author: Jacob Boerema <jgboerema gmail com>
Date:   Wed Jan 27 18:40:19 2021 -0500

    plug-ins: add missing parameters to file-png-save in openraster save_ora

 plug-ins/python/file-openraster.py | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/plug-ins/python/file-openraster.py b/plug-ins/python/file-openraster.py
index 48efc9a2da..d9db4fdfd7 100755
--- a/plug-ins/python/file-openraster.py
+++ b/plug-ins/python/file-openraster.py
@@ -222,10 +222,13 @@ def save_ora(procedure, run_mode, image, n_drawables, drawables, file, args, dat
             GObject.Value(GObject.TYPE_BOOLEAN, interlace),
             GObject.Value(GObject.TYPE_INT, compression),
             # write all PNG chunks except oFFs(ets)
-            GObject.Value(GObject.TYPE_BOOLEAN, True),
-            GObject.Value(GObject.TYPE_BOOLEAN, True),
-            GObject.Value(GObject.TYPE_BOOLEAN, False),
-            GObject.Value(GObject.TYPE_BOOLEAN, True),
+            GObject.Value(GObject.TYPE_BOOLEAN, True),      # Save background color (bKGD chunk)
+            GObject.Value(GObject.TYPE_BOOLEAN, True),      # Save gamma (gAMA chunk)
+            GObject.Value(GObject.TYPE_BOOLEAN, False),     # Save layer offset (oFFs chunk)
+            GObject.Value(GObject.TYPE_BOOLEAN, True),      # Save resolution (pHYs chunk)
+            GObject.Value(GObject.TYPE_BOOLEAN, True),      # Save creation time (tIME chunk)
+            # Other settings
+            GObject.Value(GObject.TYPE_BOOLEAN, True),      # Save color values from transparent pixels
         ])
         if (os.path.exists(tmp)):
             orafile.write(tmp, path)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]