Commit 47e52cb2 authored by John Marshall's avatar John Marshall Committed by John Marshall

tests: add exposure and saturation composition

tests from Debarshi Ray - issue #53
parent 67517ec6
<?xml version='1.0' encoding='UTF-8'?>
<gegl>
<node operation='gegl:over'>
<node operation='gegl:crop'>
<params>
<param name='x'>256.0</param>
<param name='y'>192.0</param>
<param name='width'>256.0</param>
<param name='height'>192.0</param>
</params>
</node>
<node operation='gegl:exposure'>
<params>
<param name='black-level'>0.03</param>
<param name='exposure'>-1.0</param>
</params>
</node>
<node operation='gegl:convert-format'>
<params>
<param name='format'>YA float</param>
</params>
</node>
<clone ref='clone0'/>
</node>
<node operation='gegl:over'>
<node operation='gegl:crop'>
<params>
<param name='x'>0.0</param>
<param name='y'>192.0</param>
<param name='width'>256.0</param>
<param name='height'>192.0</param>
</params>
</node>
<node operation='gegl:exposure'>
<params>
<param name='black-level'>0.03</param>
<param name='exposure'>-1.0</param>
</params>
</node>
<node operation='gegl:convert-format'>
<params>
<param name='format'>Y float</param>
</params>
</node>
<clone ref='clone0'/>
</node>
<node operation='gegl:over'>
<node operation='gegl:crop'>
<params>
<param name='x'>256.0</param>
<param name='y'>0.0</param>
<param name='width'>256.0</param>
<param name='height'>192.0</param>
</params>
</node>
<node operation='gegl:exposure'>
<params>
<param name='black-level'>0.03</param>
<param name='exposure'>-1.0</param>
</params>
</node>
<node operation='gegl:convert-format'>
<params>
<param name='format'>RGBA float</param>
</params>
</node>
<clone ref='clone0'/>
</node>
<node operation='gegl:crop'>
<params>
<param name='x'>0.0</param>
<param name='y'>0.0</param>
<param name='width'>256.0</param>
<param name='height'>192.0</param>
</params>
</node>
<node operation='gegl:exposure'>
<params>
<param name='black-level'>0.03</param>
<param name='exposure'>-1.0</param>
</params>
</node>
<node operation='gegl:convert-format'>
<params>
<param name='format'>RGB float</param>
</params>
</node>
<node operation='gegl:load' id='clone0'>
<params>
<param name='path'>data/car-stack.png</param>
</params>
</node>
</gegl>
......@@ -17,6 +17,7 @@ composition_tests = [
'convolve2',
'dropshadow-json',
'edge',
'exposure',
'fattal02',
'gamma',
'gegl',
......@@ -40,6 +41,7 @@ composition_tests = [
'rgb-params',
'rotate',
'rotate-on-center',
'saturation',
'scale-size-keepaspect',
'simple-scale',
'sinus',
......
<?xml version='1.0' encoding='UTF-8'?>
<gegl>
<node operation='gegl:over'>
<node operation='gegl:crop'>
<params>
<param name='x'>256.0</param>
<param name='y'>192.0</param>
<param name='width'>256.0</param>
<param name='height'>192.0</param>
</params>
</node>
<node operation='gegl:saturation'>
<params>
<param name='scale'>1.5</param>
</params>
</node>
<node operation='gegl:convert-format'>
<params>
<param name='format'>CIE LCH(ab) alpha float</param>
</params>
</node>
<clone ref='clone0'/>
</node>
<node operation='gegl:over'>
<node operation='gegl:crop'>
<params>
<param name='x'>0.0</param>
<param name='y'>192.0</param>
<param name='width'>256.0</param>
<param name='height'>192.0</param>
</params>
</node>
<node operation='gegl:saturation'>
<params>
<param name='scale'>1.5</param>
</params>
</node>
<node operation='gegl:convert-format'>
<params>
<param name='format'>CIE LCH(ab) float</param>
</params>
</node>
<clone ref='clone0'/>
</node>
<node operation='gegl:over'>
<node operation='gegl:crop'>
<params>
<param name='x'>256.0</param>
<param name='y'>0.0</param>
<param name='width'>256.0</param>
<param name='height'>192.0</param>
</params>
</node>
<node operation='gegl:saturation'>
<params>
<param name='scale'>1.5</param>
</params>
</node>
<node operation='gegl:convert-format'>
<params>
<param name='format'>RGBA float</param>
</params>
</node>
<clone ref='clone0'/>
</node>
<node operation='gegl:crop'>
<params>
<param name='x'>0.0</param>
<param name='y'>0.0</param>
<param name='width'>256.0</param>
<param name='height'>192.0</param>
</params>
</node>
<node operation='gegl:saturation'>
<params>
<param name='scale'>1.5</param>
</params>
</node>
<node operation='gegl:convert-format'>
<params>
<param name='format'>RGB float</param>
</params>
</node>
<node operation='gegl:load' id='clone0'>
<params>
<param name='path'>data/car-stack.png</param>
</params>
</node>
</gegl>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment