[Gegl-developer] Passing parameter to sampler from XML file
Adam Turcotte
adam.turcotte at gmail.com
Mon Jul 6 12:38:03 PDT 2009
I have added a parameter (called blur) to a new sampler, and I want to
pass a value to this parameter when rotating with an XML file.
I know how I would pass a value to the rotation parameters, but how do
I pass a value for a GeglSamplerNohalobox parameter?
Here is an example of a rotation test:
<?xml version='1.0' encoding='UTF-8'?>
<gegl>
<node operation='gegl:over'>
<node operation='gegl:rotate'>
<params>
<param name='origin-x'>0.000000</param>
<param name='origin-y'>0.000000</param>
<param name='degrees'>7.000000</param>
<param name='filter'>nohalobox</param>
</params>
</node>
<node operation='gegl:load' id='clone0'>
<params>
<param name="path">data/img.png</param>
</params>
</node>
</node>
</gegl>
Adam Turcotte
More information about the Gegl-developer
mailing list