Switch to full style
Post all Gimp scripts and script writing questions here
Post a reply

Please make a python plugin to combine my GEGL filters with GMIC

Sun Oct 02, 2022 3:12 pm

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

Re: Please make a python plugin to combine my GEGL filters with GMIC

Tue Oct 04, 2022 11:53 am

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

For G'MIC, you can use
Code:
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
Code:
pdb.python_gegl(image, layer, command)
but you have to have installed gegl_command.py.

Hope this helps!
Post a reply