Problem with perl-plugin (script-fu rip off)

2000-12-05 Thread Thomas S. Iversen
Hello there I have converted a script-fu script to perl-fu, but are having some problems. While I get nearly the same pictures, the original have transparency around the button while my perlified version doesn't. I thought it could have something to do with the save routine In the original

Re: Problem with perl-plugin (script-fu rip off)

2000-12-05 Thread Marc Lehmann
On Tue, Dec 05, 2000 at 08:54:44PM +0100, "Thomas S. Iversen" [EMAIL PROTECTED] wrote: ... and on a related note, I can't seem to get Gimp-file_png_save($img,-1,) to work or file_gif_save() maybe because -1 is not a valid drawable. Use a layer here (e.g. "($img-layers)[0]")