Am using Gimp on Linux, and can run scripts from
./gimp-2.2/scripts but using the script-FU Console
and its Procedure Browser I have trouble with.
I'm assumimg operations within the Console are
interactive with the currently loaded image(s)
or xcf.
Simple commands work, using
I will do my best to explain some things.
Simple commands work, using 'Apply' from the
Procedure Browser screen, like;
= (gimp-version)
(2.2.8)
Note that the return value is a LIST containing the string 2.2.8. All
PDB functions return a LIST of items even if that list only contains one
In my response, I had a cut-n-paste error in the last code-segment. The
line:
(gimp-drawable-set-pixel drawable 1 1 4 (color-as-bytes red blue green
alpha))
should be changed to:
(gimp-drawable-set-pixel drawable x-coord y-coord 4 (color-as-bytes
red blue green alpha))
The 4 in the line