[gegl] tests: Add a test for softglow



commit e48b175a383087d1c3e22d7d20863451a51106f6
Author: Téo Mazars <teo mazars ensimag fr>
Date:   Tue Jun 4 19:46:24 2013 +0200

    tests: Add a test for softglow

 tests/compositions/Makefile.am            |    1 +
 tests/compositions/reference/softglow.png |  Bin 0 -> 1265227 bytes
 tests/compositions/softglow.xml           |   16 ++++++++++++++++
 3 files changed, 17 insertions(+), 0 deletions(-)
---
diff --git a/tests/compositions/Makefile.am b/tests/compositions/Makefile.am
index e3cc80d..10dfad5 100644
--- a/tests/compositions/Makefile.am
+++ b/tests/compositions/Makefile.am
@@ -48,6 +48,7 @@ TESTS = \
   run-rgbe-save.xml.sh                 \
   run-rotate.xml.sh                    \
   run-simple-scale.xml.sh              \
+  run-softglow.xml.sh                  \
   run-transform.xml.sh
 
   #run-matting-global.xml.sh           
diff --git a/tests/compositions/reference/softglow.png b/tests/compositions/reference/softglow.png
new file mode 100644
index 0000000..83e438b
Binary files /dev/null and b/tests/compositions/reference/softglow.png differ
diff --git a/tests/compositions/softglow.xml b/tests/compositions/softglow.xml
new file mode 100644
index 0000000..a65d6de
--- /dev/null
+++ b/tests/compositions/softglow.xml
@@ -0,0 +1,16 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<gegl>
+  <node operation='gegl:softglow'>
+    <params>
+      <param name='glow-radius'>10.0</param>
+      <param name='brightness'>0.4</param>
+      <param name='sharpness'>0.85</param>
+    </params>
+  </node>
+  <node operation='gegl:load'>
+    <params>
+      <param name='path'>data/car-stack.png</param>
+    </params>
+  </node>
+</gegl>
+


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