Re: calling script-fu from perl script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Sep 08, 2000 at 07:04:04PM -0500, "Michael J. Hammel" <mjhammel@xxxxxxxxxxxxxxxxx> wrote:
> $drawable->script_fu_drop_shadow("8", "8", "15", [0, 0, 0], "0", 1);

AFAICS, this should work.

> interactively.  I've also tried without the quotes (those are supposed to
> be STRINGS according to the PDB)

Which shouldn't matter, either (all the same for perl).

> gets resized) but immediately after making a selection around the current
> layer Gimp crashes.

gimp or script-fu? script-fu could never be called via the pdb, despite a lot
of effort to fix that, so script-fu breaking is not unexpected - gimp should
however, not really crash.

Could you add the following call before the call to drop_shadow:

Gimp::set_trace(-1);

and post the resulting trace output? This will help us find out what,
actually, is getting passed to script-fu (this is helpful in any case as
it shows wether you passed the arguments in correctly).

-- 
      -----==-                                             |
      ----==-- _                                           |
      ---==---(_)__  __ ____  __       Marc Lehmann      +--
      --==---/ / _ \/ // /\ \/ /       pcg@xxxxxxxxxxxxx |e|
      -=====/_/_//_/\_,_/ /_/\_\       XX11-RIPE         --+
    The choice of a GNU generation                       |
                                                         |


[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux