I gave it a try but am stuck:
I started GIMP with --pdb-compat-mode=warn so I get info on what is no longer valid.
This is what it said:
Replaced all the occurences as suggested.
And now when running I get the message:
Error: Procedure execution of gimp-drawable-set-pixel failed
I'm stuck now, as I can't imagine what's wrong.
I'll attach the script as it is now. Maybe someone can help.
I started GIMP with --pdb-compat-mode=warn so I get info on what is no longer valid.
This is what it said:
Code:
GIMP Warnung
Plug-in "script-fu"
(/app/lib/gimp/2.0/plug-ins/script-fu)
called deprecated procedure 'gimp-undo-push-group-start'.
It should call 'gimp-image-undo-group-start' instead!
GIMP Warnung
Plug-in "script-fu"
(/app/lib/gimp/2.0/plug-ins/script-fu)
called deprecated procedure 'gimp-palette-set-foreground'.
It should call 'gimp-context-set-foreground' instead!
GIMP Warnung
WARNING: Plug-in "script-fu"
(/app/lib/gimp/2.0/plug-ins/script-fu)
called deprecated procedure 'gimp-image-add-layer'.
It should call 'gimp-image-insert-layer' instead!
GIMP Warnung
Plug-in "script-fu"
(/app/lib/gimp/2.0/plug-ins/script-fu)
called deprecated procedure 'gimp-image-lower-layer-to-bottom'.
It should call 'gimp-image-lower-item-to-bottom' instead!
GIMP Warnung
WARNING: Plug-in "script-fu"
(/app/lib/gimp/2.0/plug-ins/script-fu)
called deprecated procedure 'gimp-image-add-layer'.
It should call 'gimp-image-insert-layer' instead!
GIMP Warnung
WARNING: Plug-in "script-fu"
(/app/lib/gimp/2.0/plug-ins/script-fu)
called deprecated procedure 'gimp-image-add-layer'.
It should call 'gimp-image-insert-layer' instead!
GIMP Warnung
WARNING: Plug-in "script-fu"
(/app/lib/gimp/2.0/plug-ins/script-fu)
called deprecated procedure 'gimp-image-add-layer'.
It should call 'gimp-image-insert-layer' instead!
GIMP Warnung
WARNING: Plug-in "script-fu"
(/app/lib/gimp/2.0/plug-ins/script-fu)
called deprecated procedure 'gimp-levels'.
It should call 'gimp-drawable-levels' instead!
GIMP Warnung
WARNING: Plug-in "script-fu"
(/app/lib/gimp/2.0/plug-ins/script-fu)
called deprecated procedure 'gimp-colorize'.
It should call 'gimp-drawable-colorize-hsl' instead!
GIMP Warnung
Plug-in "script-fu"
(/app/lib/gimp/2.0/plug-ins/script-fu)
called deprecated procedure 'gimp-layer-set-name'.
It should call 'gimp-item-set-name' instead!
GIMP Warnung
Plug-in "script-fu"
(/app/lib/gimp/2.0/plug-ins/script-fu)
called deprecated procedure 'gimp-layer-set-name'.
It should call 'gimp-item-set-name' instead!
GIMP Warnung
Plug-in "script-fu"
(/app/lib/gimp/2.0/plug-ins/script-fu)
called deprecated procedure 'gimp-layer-set-name'.
It should call 'gimp-item-set-name' instead!
GIMP Warnung
Plug-in "script-fu"
(/app/lib/gimp/2.0/plug-ins/script-fu)
called deprecated procedure 'gimp-layer-set-name'.
It should call 'gimp-item-set-name' instead!
GIMP Warnung
Plug-in "script-fu"
(/app/lib/gimp/2.0/plug-ins/script-fu)
called deprecated procedure 'gimp-undo-push-group-end'.
It should call 'gimp-image-undo-group-end' instead!
Replaced all the occurences as suggested.
And now when running I get the message:
Error: Procedure execution of gimp-drawable-set-pixel failed
I'm stuck now, as I can't imagine what's wrong.
I'll attach the script as it is now. Maybe someone can help.