(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 just a value, so maybe 
that's your problem.  layer-save is actually a list, not a 
drawable identifier.

HTH,
-- 
--Jeff
Jeff Trefftzs <[EMAIL PROTECTED]>
http://www.tcsn.net/trefftzs                    Home Page
http://gug.sunsite.dk/gallery.php?artist=68     Gimp Gallery
http://members4.clubphoto.com/jeff309574        A photo gallery



_______________________________________________
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user

Reply via email to