On Sun, 28 Aug 2011, Jon Nordby wrote:
> Using path = "-" on a load operation is meant to work for this
> purpose. If it does not, that is a regression and is worth a bug
> report.

Thank you for your very quick answer. I have some other questions. First,
I couldn't manage to get it work with the standard input. I tried
with - with '-' and with "-" like that:

cat Dimocarpus_longan_fruits.jpg | gegl -o - -x "<gegl><node 
operation='gegl:c2g'><params><param name='radius'>384</param><param 
name='samples'>3</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'>-</param></params></node></gegl>" | display -

cat Dimocarpus_longan_fruits.jpg | gegl -o - -x "<gegl><node 
operation='gegl:c2g'><params><param name='radius'>384</param><param 
name='samples'>3</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'>'-'</param></params></node></gegl>" | display -

cat Dimocarpus_longan_fruits.jpg | gegl -o - -x "<gegl><node 
operation='gegl:c2g'><params><param name='radius'>384</param><param 
name='samples'>3</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'>\"-\"</param></params></node></gegl>" | display -

Another question: is there a way to blend layers by combining the HSV or HSL
values (ie. take hue and saturation from one layer and light from the
other one)? ImageMagick calls these modes: Luminize or Colorize; Gimp calls
them Color or Value:
http://www.imagemagick.org/Usage/compose/#hue
http://www.linuxtopia.org/online_books/graphics_tools/gimp_advanced_guide/gimp_guide_node55_004.html

Thank you by advance,
         best regards,

-- 
Thomas Baruchel
_______________________________________________
Gegl-developer mailing list
Gegl-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer

Reply via email to