![]() |
is it posible to copy a filter from one layer to another? - Printable Version +- Gimp-Forum.net (https://www.gimp-forum.net) +-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP) +--- Forum: Extending the GIMP (https://www.gimp-forum.net/Forum-Extending-the-GIMP) +--- Thread: is it posible to copy a filter from one layer to another? (/Thread-is-it-posible-to-copy-a-filter-from-one-layer-to-another) |
is it posible to copy a filter from one layer to another? - abdulachik - 08-17-2017 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] thanks RE: is it posible to copy a filter from one layer to another? - Ofnuts - 08-17-2017 You don't "copy a filter"? Either you copy a layer, or you run the filter again, with the same arguments, on the other layer. If your problem is to use IWarp interactively on one filter, and have a script to replay it automatically on some other layer, then it's a whole other problem, AFAIK there is no way to retrieve the arguments of a filter that has been used interactively. And IWarp makes this even harder, since there is no useful way to call it non-interactively. RE: is it posible to copy a filter from one layer to another? - abdulachik - 08-17-2017 (08-17-2017, 08:57 PM)Ofnuts Wrote: You don't "copy a filter"? Either you copy a layer, or you run the filter again, with the same arguments, on the other layer. If your problem is to use IWarp interactively on one filter, and have a script to replay it automatically on some other layer, then it's a whole other problem, AFAIK there is no way to retrieve the arguments of a filter that has been used interactively. And IWarp makes this even harder, since there is no useful way to call it non-interactively. thank you for your response it will help me a lot. indeed i meant to run the filter again with the same arguments non-interactively |