[gegl] docs: use better example for id=foo ref=foo in gegl-chain



commit 46000435dda690ba7874984b07ab113ec7010fe8
Author: Øyvind Kolås <pippin gimp org>
Date:   Thu Apr 6 21:35:42 2017 +0200

    docs: use better example for id=foo ref=foo in gegl-chain
    
    Replace cloned text with a useful adaptive threshold example.

 docs/gegl-chain.txt |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/docs/gegl-chain.txt b/docs/gegl-chain.txt
index ba4baae..87cd439 100644
--- a/docs/gegl-chain.txt
+++ b/docs/gegl-chain.txt
@@ -27,8 +27,9 @@ The format treats input and output pads as explicitly linked when they follow ea
  $ gegl in.jpg -- noise-reduction iterations=2 over aux=[ text string='hello there' color=white size=32 
translate x=100 y=100 dropshadow radius=2 x=1.5 y=1.5 ]
 
 And finally, it is possible to create links in the chain, reusing permitting
-creating masks for color adjustments based on image content, as well as other
-forms of buffer reuse.
+creating masks for color adjustments based on image content, for instance the
+following example, which uses a blurred version of an image as a threshold mask
+- which thus becomes a local content dependent thresholding filter.
 
- $ gegl in.jpg -- noise-reduction iterations=2 over aux=[ text string='hello there' color=white size=32 
dropshadow id=foo translate x=100 y=100 radius=2 x=1.5 y=1.5 ] over aux=[ ref=foo translate y=300 ]
+ $ gegl in.jpg -- id=a threshold aux=[ ref=a gaussian-blur std-dev-x=0.1rel std-dev-y=0.1rel ]
 


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