[gnome-photos] pipeline: Assign a fixed position to gegl:crop



commit b78b6bbcf09c865eec456e90508dc6bc0ee400c4
Author: Debarshi Ray <debarshir gnome org>
Date:   Fri Apr 8 20:12:26 2016 +0200

    pipeline: Assign a fixed position to gegl:crop
    
    We need to ensure that gegl:crop is placed before any spatial
    operation. eg., an insta-filter preset that uses a vignette. Otherwise
    the gradient will get clipped.
    
    Also, having it early in the graph has the benefit of reducing the
    number of pixels that successive operations have to deal with.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=764801

 src/photos-pipeline.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-pipeline.c b/src/photos-pipeline.c
index 71f7e41..07db4c5 100644
--- a/src/photos-pipeline.c
+++ b/src/photos-pipeline.c
@@ -65,6 +65,7 @@ EGG_DEFINE_COUNTER (instances, "PhotosPipeline", "Instances", "Number of PhotosP
 
 static const gchar *OPERATIONS[] =
 {
+  "gegl:crop",
   "photos:insta-filter"
 };
 


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