Commit 67faed2b authored by Jon Nordby's avatar Jon Nordby

meta-json: Add initial test case

parent d93f6b94
......@@ -2,7 +2,9 @@ INPORT=translate.X:X
INPORT=translate.Y:X
INPORT=color.VALUE:COLOR
INPORT=blur.STD_DEV_X:RADIUS
INPORT=input.OUTPUT:INPUT
INPORT=opacity.VALUE:OPACITY
INPORT=input.INPUT:INPUT
OUTPORT=over.OUTPUT:OUTPUT
# FIXME: multiple export mapping? INPORT=blur.STD-DEV-Y:RADIUS
......@@ -13,4 +15,8 @@ input(gegl/noop) OUTPUT -> INPUT darken(gegl/src:in) OUTPUT -> INPUT blur(gegl/g
input OUTPUT -> AUX over
color OUTPUT -> AUX darken
'rgb(0.0,0.0,0.0)' -> VALUE color
'rgba(0.0, 0.0, 0.0, 0.0)' -> VALUE color
'0.5' -> VALUE opacity
'10' -> STD_DEV_Y blur
'20' -> Y translate
'20' -> X translate
......@@ -97,11 +97,18 @@
}
},
{
"data": "rgb(0.0,0.0,0.0)",
"data": "rgba(0.0, 0.0, 0.0, 0.0)",
"tgt": {
"process": "color",
"port": "value"
}
},
{
"data": "0.5",
"tgt": {
"process": "opacity",
"port": "value"
}
}
],
"inports": {
......@@ -115,11 +122,15 @@
},
"radius": {
"process": "blur",
"port": "std_dev_x"
"port": "std-dev-x"
},
"opacity": {
"process": "opacity",
"port": "value"
},
"input": {
"process": "input",
"port": "output"
"port": "input"
}
},
"outports": {
......
<?xml version='1.0' encoding='UTF-8'?>
<gegl>
<node operation='gegl:dropshadow2'>
<params>
<param name='radius'>10</param>
</params>
</node>
<node operation='gegl:load'>
<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