Re: [Gimp-user] Script-fu help, problems using gimp-file-save

2001-04-09 Thread Ryan Schuermann
worked great, thanks! Ryan Jeff Trefftzs wrote: > (set! layer-save (gimp-image-merge-visible-layers img > EXPAND-AS-NECESSARY)) > (gimp-convert-indexed img 0 2 0 0 0 "") > (gimp-file-save 1 img layer-save "test.gif" "test.gif") > > Have you tried > (gimp-file-save 1 img (car layer-save) "test.g

Re: [Gimp-user] Script-fu help, problems using gimp-file-save

2001-04-09 Thread Jeff Trefftzs
(set! layer-save (gimp-image-merge-visible-layers img EXPAND-AS-NECESSARY)) (gimp-convert-indexed img 0 2 0 0 0 "") (gimp-file-save 1 img layer-save "test.gif" "test.gif") Have you tried (gimp-file-save 1 img (car layer-save) "test.gif" "test.gif") The gimp functions all return a list, not jus

[Gimp-user] Script-fu help, problems using gimp-file-save

2001-04-09 Thread Ryan Schuermann
I wrote a script and it displays fine, and i can go to file->save and save as a gif directly (so it's indexing correctly) and its only 1 layer, but I get an ERROR: Invalid types specified for arguments when i try to use gimp-file-save heres the jist of it (img (car (gimp-image-new 256 256 RGB)))