V
V
Vladimir Sachkov2015-11-20 21:58:41
Python
Vladimir Sachkov, 2015-11-20 21:58:41

How to switch programmatically between layers in GIMP in Python??

I have my own filter in GIMP that works fine with 1 layer or with 1 image, I can’t access a group of layers, guys, tell me how to programmatically access all GIMP layers or how to switch the active layer in turn so that GIMP doesn’t swear?!?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Volodin, 2015-11-27
@cronk

I don't have much experience in writing scripts for gimp, but

for layer in image.layers:
    #do something

does not work?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question