Passing parameter to sampler from XML file

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

 



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
_______________________________________________
Gegl-developer mailing list
Gegl-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer

[Index of Archives]     [Yosemite News]     [Yosemite Photos]     [gtk]     [GIMP Users]     [KDE]     [Gimp's Home]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux