On Mon, Feb 24, 2003 at 06:38:42PM +0100, Sven Neumann <sven@xxxxxxxx> wrote: > I'd say the bug is in your script. But then you could argue that the > bug is in gimp-perl since it's syntax defers from the one that is > documented :-( I would prefer if people who could know it better would stop claiming such bullshit. The perl-syntax is well-documented, and even if you insist on using the rather idiotic PDB-syntax, it does work. Also, it should be clear even to you that some languages look diferent to others. I remember that a PDB call uses different syntax in C than in script-fu, for example. Yes, both might be documented, and the same is true for the perl interface. Since you certainly _are_ aware of all that, what's your point? Maybe I should add dummy array-length arguments to all calls involving arrays, because other languages can't handle that? > > file_png_save(RUN_NONINTERACTIVE, $img, $activelayer, > > $fname, $fname, 0, 9, 0, 0, 0, 0, 0); > > in gimp-perl, you need to omit the image if the drawable > ($activelayer) is already specified. Actually, you don't. Actually, the script works fine on a standard debian installation (gimp-1.2 1.2.3-2, with the debian gimp-pelr etc..), WHEN I add sleeps at the right place. What's buggy is, again, script-fu, which returns long before the script has run. And the script doesn't work unless you create another image, because it doesn't like image ids of zero. The only solution is to avoid script-fu whereever possible. It has been horribly buggy since many years (I don't remember it being working ever). But obviously it's much more fun to blame gimp-perl for bugs in script-fu, or claim thats cript-fu was never written to be used as a gimp-plug-in, or other fun stuff. Boys, I am really fed up with that never-ending and mindless perl-bashing. If you can't try to help people without shoveling mistakes and bugs around, then please, keep your mouth shut. Or at leats use your brain once in a while. Blaming perl is *not* the solution. Blaming script-fu *is* right. Fixing script-fu *is* the solution. -- -----==- | ----==-- _ | ---==---(_)__ __ ____ __ Marc Lehmann +-- --==---/ / _ \/ // /\ \/ / pcg@xxxxxxxx |e| -=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+ The choice of a GNU generation | |