[gimp/goat-invasion] app: specify nearest neighbour interpolation for layers



commit 68c2bb308bb92cc119fe74858ffcf0e96f614987
Author: Ãyvind KolÃs <pippin gimp org>
Date:   Mon Apr 2 01:46:39 2012 +0100

    app: specify nearest neighbour interpolation for layers
    
    This gets rid of some of the extra 0,0,0 pixels (black) that get's pulled in
    for layers without transparency in bottom and to the right.

 app/core/gimpitem.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/app/core/gimpitem.c b/app/core/gimpitem.c
index a7a142d..182304b 100644
--- a/app/core/gimpitem.c
+++ b/app/core/gimpitem.c
@@ -1575,6 +1575,7 @@ gimp_item_get_offset_node (GimpItem *item)
       private->offset_node =
         gegl_node_new_child (node,
                              "operation", "gegl:translate",
+                             "filter",    "nearest",
                              "x",         (gdouble) private->offset_x,
                              "y",         (gdouble) private->offset_y,
                              NULL);



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