Commit 562faf97 authored by Jon Nordby's avatar Jon Nordby

meta-json: Add a trivial testcase

parent ecb41fb2
INPORT=in.INPUT:INPUT
OUTPORT=out.OUTPUT:OUTPUT
INPORT=g.SAMPLES:SAMPLES
INPORT=g.ITERATIONS:ITERATIONS
INPORT=tr.HEIGHT:HEIGHT
INPORT=tr.WIDTH:WIDTH
in(gegl/nop) OUTPUT -> INPUT g(gegl/c2g) OUTPUT -> INPUT tr(gegl/crop) OUTPUT -> INPUT out(gegl/nop)
{
"processes": {
"in": {
"component": "gegl/nop"
},
"g": {
"component": "gegl/c2g"
},
"tr": {
"component": "gegl/crop"
},
"out": {
"component": "gegl/nop"
}
},
"connections": [
{
"src": {
"process": "in",
"port": "output"
},
"tgt": {
"process": "g",
"port": "input"
}
},
{
"src": {
"process": "g",
"port": "output"
},
"tgt": {
"process": "tr",
"port": "input"
}
},
{
"src": {
"process": "tr",
"port": "output"
},
"tgt": {
"process": "out",
"port": "input"
}
}
],
"inports": {
"input": {
"process": "in",
"port": "input"
},
"samples": {
"process": "g",
"port": "samples"
},
"iterations": {
"process": "g",
"port": "iterations"
},
"height": {
"process": "tr",
"port": "height"
},
"width": {
"process": "tr",
"port": "width"
}
},
"outports": {
"output": {
"process": "out",
"port": "output"
}
}
}
<?xml version='1.0' encoding='UTF-8'?>
<gegl>
<node operation='gegl:greyy'>
<params>
<param name='height'>200</param>
<param name='width'>100</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