Re: [Gimp-user] script-fu without display problem

2004-02-06 Thread Sven Neumann
Hi, Irek Slonina <[EMAIL PROTECTED]> writes: > On Fri, 6 Feb 2004, Sven Neumann wrote: > > > This script can only work accidentally. Have a look at this line: > > > > (drawable (car (gimp-drawable-get-image img))) > > > > Here you are accessing an image as if it was a drawable and then > > as

Re: [Gimp-user] script-fu without display problem

2004-02-06 Thread Irek Slonina
On Fri, 6 Feb 2004, Sven Neumann wrote: > This script can only work accidentally. Have a look at this line: > > (drawable (car (gimp-drawable-get-image img))) > > Here you are accessing an image as if it was a drawable and then > assign the image return value to a variable that is used as a d

Re: [Gimp-user] script-fu without display problem

2004-02-06 Thread Sven Neumann
Hi, Irek SÅonina <[EMAIL PROTECTED]> writes: > I have wrote a small script-fu script to be run by the web, but > I have encountered a problem. Script lookes like this: > > (define (script-fu-xcf2gif infile outfile) >(let* > ( > (img (car (gimp-file-load 1 infile infile))) >

[Gimp-user] script-fu without display problem

2004-02-05 Thread Irek Słonina
I have wrote a small script-fu script to be run by the web, but I have encountered a problem. Script lookes like this: (define (script-fu-xcf2gif infile outfile) (let* ( (img (car (gimp-file-load 1 infile infile))) (drawable (car (gimp-drawable-get-image img))) ) (g