Re: Choosing the operation input format based the connected nodes output format

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

 



This appears to work now in master:

Python 2.7.4 (default, Apr 19 2013, 18:32:33)
[GCC 4.7.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from gi.repository import Gegl; Gegl.init(0, "")
>>> ptn = Gegl.Node()
>>> pnm_node = ptn.create_child("gegl:ppm-load")
>>> pgm_node = ptn.create_child("gegl:ppm-load")
>>> pnm_node.set_property("path", "test.pnm")
>>> pgm_node.set_property("path", "test.pgm")
>>> Gegl.graph_dump_outputs(pnm_node)
gegl:ppm-load 0x9860090: output=R'G'B' u8
  bounds: 0, 0, 100×100
>>> Gegl.graph_dump_outputs(pgm_node)
gegl:ppm-load 0x98600f8: output=Y' u8
  bounds: 0, 0, 100×100
>>>

_______________________________________________
gegl-developer-list mailing list
gegl-developer-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gegl-developer-list

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

  Powered by Linux