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 return value to a variable that is used as a drawable > > later. > > I am a newbie in script-fu, I haven't understood my fault. I admit, > I have passed over the drawable chapter. What is the right thing > to do, when I want to get a useable drawable, that can be passed > to file-gif-save function? (gimp-image-get-active-drawable image) should do the trick but it would be even better to simply use the return value of (gimp-image-flatten image). Sven _______________________________________________ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user