It is currently Wed Jun 17, 2026 9:50 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Please make a python plugin to combine my GEGL filters with GMIC
PostPosted: Sun Oct 02, 2022 3:12 pm  (#1) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2012
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


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Please make a python plugin to combine my GEGL filters with GMIC
PostPosted: Tue Oct 04, 2022 11:53 am  (#2) 
Offline
GimpChat Member

Joined: Apr 19, 2021
Posts: 138
Location: France
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!

_________________
Photo to cartoon : https://github.com/cl4cnam/gimp_cartoon_plugin


Top
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group