[Gimp-user] script-FU console query

2007-01-13 Thread Adam
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

Re: [Gimp-user] script-FU console query

2007-01-13 Thread Saul Goode
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

Re: [Gimp-user] script-FU console query

2007-01-13 Thread Saul Goode
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