On Sun, 23 Jan 2000 18:43:03 +0100, [EMAIL PROTECTED] (Stephan 
Skrodzki) said:

>I'd like to use a Script-Fu script from within gimp-perl a Gimp tells me:

>function/macro "shadow" not found in Gimp at 
>/home/skrodzki/.gimp-1.1/plug-ins/marly-text-button line 39 (ERROR)

>And excerpt of the script:

>use Gimp qw(:auto __);
>use Gimp::Fu;

>    $unsel_lay = gimp_layer_new($img, $img->width, $img->height,
>                         RGB, "Unsel Shadow", 100, NORMAL_MODE);
>    $unsel_lay->add_layer(-1);
>    gimp_layer_add_alpha($unsel_lay);
>    gimp_edit_clear($unsel_lay);
>    script-fu-drop-shadow(0,$unsel_lay,8,8,15,"black",60,1);

Try using script_fu_drop_shadow (underlines, not dashes).

Perl parses this as script - fu - drop - shadow (....).  The first
three evaluate to zero, and the last to a call to the (undefined)
subroutine shadow.

>    return $img;


Reply via email to