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

2004-02-06 Thread Sven Neumann
Hi, Irek Sonina [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)))

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 assign the image

[Gimp-user] script-fu without display problem

2004-02-05 Thread Irek Sonina
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))) )