[gimp] Add Linear Burn to PSD exporting, update the list of XCF layer modes



commit 2bce09ff9b63543199ead9e558ea6095afd87df2
Author: Alexandre Prokoudine <alexandre prokoudine gmail com>
Date:   Sat Feb 4 18:03:59 2017 +0300

    Add Linear Burn to PSD exporting, update the list of XCF layer modes

 plug-ins/file-psd/psd-util.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/plug-ins/file-psd/psd-util.c b/plug-ins/file-psd/psd-util.c
index 2d6d6f1..07c7161 100644
--- a/plug-ins/file-psd/psd-util.c
+++ b/plug-ins/file-psd/psd-util.c
@@ -897,6 +897,10 @@ gimp_to_psd_blend_mode (GimpLayerMode          layer_mode,
       psd_mode = g_strndup ("idiv", 4);                       /* Color Burn (ps6) */
       break;
 
+    case GIMP_LAYER_MODE_LINEAR_BURN:
+      psd_mode = g_strndup ("lbrn", 4);                       /* Linear Burn (ps6) */
+      break;
+
     case GIMP_LAYER_MODE_HARDLIGHT:
     case GIMP_LAYER_MODE_HARDLIGHT_LEGACY:
       psd_mode = g_strndup ("hLit", 4);                       /* Hard Light (ps3) */
@@ -999,6 +1003,7 @@ gimp_layer_mode_effects_name (GimpLayerMode mode)
     "DIFFERENCE",
     "ADD",
     "SUBTRACT",
+    "EXCLUSION"
     "DARKEN",
     "LIGHTEN",
     "HUE",
@@ -1008,8 +1013,12 @@ gimp_layer_mode_effects_name (GimpLayerMode mode)
     "DIVIDE",
     "DODGE",
     "BURN",
+    "LINEAR BURN"
     "HARD LIGHT",
     "SOFT LIGHT",
+    "VIVID LIGHT",
+    "LINEAR LIGHT",
+    "PIN LIGHT",
     "GRAIN EXTRACT",
     "GRAIN MERGE",
     "COLOR ERASE"


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