[gimp] plug-ins: default export bit depth for 16 or 32 bpc images should be 12.



commit b3bed72d8408518e1d7d1916a8bce57ee9d7fbe8
Author: Jehan <jehan girinstud io>
Date:   Fri Sep 18 15:31:05 2020 +0200

    plug-ins: default export bit depth for 16 or 32 bpc images should be 12.
    
    The proposed defaults for export should be the less destructive
    possible. So for any 16 or 32 bpc GIMP images, since our HEIF plug-in
    only supports up to 12 bpc, this should be what we export to.

 plug-ins/common/file-heif.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plug-ins/common/file-heif.c b/plug-ins/common/file-heif.c
index 27bae54517..47fe1c4489 100644
--- a/plug-ins/common/file-heif.c
+++ b/plug-ins/common/file-heif.c
@@ -2307,9 +2307,9 @@ save_dialog (GimpProcedure *procedure,
       break;
     default:
       /* high bit depth */
-      if (save_bit_depth < 10)
+      if (save_bit_depth < 12)
         {
-          save_bit_depth = 10;
+          save_bit_depth = 12;
           g_object_set (config,
                         "save-bit-depth", save_bit_depth,
                         NULL);


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