GIMP Chat
http://gimpchat.com/

Please make a python plugin to combine my GEGL filters with GMIC
http://gimpchat.com/viewtopic.php?f=9&t=20138
Page 1 of 1

Author:  contrast_ [ Sun Oct 02, 2022 3:12 pm ]
Post subject:  Please make a python plugin to combine my GEGL filters with GMIC

Some GMIC filters and Gimp Gradients really complement my bevel filters.

Such as custom bevel, gold gradient, colored pencil and dropshadow. They just look so good together.
Image

If someone helps me we can pull off a GMIC/GEGL filter thing in python. but I need someone who is up for it. Thanks in advance!
:tyspin

Image

Author:  cli345 [ Tue Oct 04, 2022 11:53 am ]
Post subject:  Re: Please make a python plugin to combine my GEGL filters with GMIC

Just an example: the "groove" filter uses both G'MIC and GEGL.

For G'MIC, you can use
pdb.plug_in_gmic_qt(image, layer, inputLayerCode, outputLayerCode, command)
  • inputLayerCode: 0=none, 1=active, 2=all, 3=active & below, 4=active & above, 5=all visibles, 6=all invisibles.
  • outputLayerCode: 0=in place, 1=new layers, 2=new active layers, 3=new image.

For GEGL, you can use
pdb.python_gegl(image, layer, command)
but you have to have installed gegl_command.py.

Hope this helps!

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/