2 hours ago
Hello,
new to this forum I hope someone here could help me a little bit.
As I upgraded from debian 12 to debian 13, gimp was upgraded to version 3.
I have a set of short scripts that allowed me to invoke gimp (at least until version 2.8) from a linux bash console. Now they fail, so I have to adapt them to recent changes.
The one question I still stumble on is the ability to set a drawable in my image. The former syntax does not work anymore :
so that I can't do anything on a specific layer e.g. desaturate :
How can I instruct gimp that, let's say, the drawable is layer [0] ?
Thanks in advance,
Vince.
new to this forum I hope someone here could help me a little bit.
As I upgraded from debian 12 to debian 13, gimp was upgraded to version 3.
I have a set of short scripts that allowed me to invoke gimp (at least until version 2.8) from a linux bash console. Now they fail, so I have to adapt them to recent changes.
The one question I still stumble on is the ability to set a drawable in my image. The former syntax does not work anymore :
Code:
(drawable (car(gimp-image-get-active-drawable image)))so that I can't do anything on a specific layer e.g. desaturate :
Code:
(gimp-drawable-desaturate drawable 0)Thanks in advance,
Vince.
