Difference between c2g from Gimp and from Gegl command line

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

 



Hi, I am new to GEGL but I would be interested by writing XML
scripts in order to perform some complex actions from the command
line. I managed to make c2g work with XML scripts, but obviously
the output is not the same than what I get from Gimp.

Here are the two ways I found for making c2g work:

gegl -o - -x "<gegl><node operation='gegl:c2g'><params><param name='radius'>384</param><param name='samples'>10</param><param name='iterations'>23</param><param name='rgamma'>1.8</param><param name='strength'>1</param><param name='gamma'>1</param></params></node><node operation='gegl:load'><params><param name='path'>file.png</param></params></node></gegl>" | display -


gegl -o - -x "<image><stack><filter type='gegl:c2g'><params><param name='radius'>384</param><param name='samples'>10</param><param name='iterations'>23</param><param name='rgamma'>1.8</param><param name='strength'>1</param><param name='gamma'>1</param></params></filter><layer src='file.png'/></stack></image>" | display -

As you can see, I use here the default settings from Gimp (except for "samples" where I tried with 10 both in Gimp and here). However this single operation
performed on a picture doesn't give the same output. Do you have an
explanation for that?

By the way, what is the most convenient way for having the input file from
the standard input rather than setting its path in the XML file?
There is such an example on http://gegl.org but I couldn't manage to get it
work and I couldn't find what I had to change in my own command lines above
to do it.

Best regards,

-- 
Thomas Baruchel
_______________________________________________
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