r/GIMP•
sidsidroc

is there a way to copy a filter from one layer to another layer using python

Hello! i'm using python-fu, i want to copy the filter iwarp i added to one layer to another layer i just added to the document.

my code:

document = gimp.image_list()[0]
layer_with_filter = document.layers[0]
layer_without_filter = document.layers[3]

i dont find a way to see using:

dir(layer_with_filter)

if there is an effect or filter added to that layer, is it posible to know that or does the change with filter happens somewhere else?

thanks

Posted Aug 17, 2017, 7:33 PM UTC

12
Loading comments…