Howdy,

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);
    return $img;
}

where line 39 is the one with the call to script-fu-drop-shadow...

What am I doing wrong?

Best regards
 STeve

 --------------------------------------------------------------------
| Stephan Skrodzki     Phone: +49-621-1565435 "Nobody expects the    | 
| Mannheim, Germany      Fax: +49-621-1565083  Spanish Inquisition!" |
|                     Mobile: +49-173-2003491                        |
 --------------------------------------------------------------------

Reply via email to