perl_fu_console - Gimp-Perl console
<Toolbox>/Filters/Languages/_Perl/_Console
Console for running Gimp-Perl commands and seeing output. Runs a couple of commands for you on startup, setting $i to the current image, if any, and $l to that image's active layer.
$i
$l
Be warned that for many operations, the display(s) will not be updated, and you'll need to do Gimp->displays_flush to see changes.
Gimp->displays_flush
Try this:
$b = Gimp::Plugin->inner_bevel('Arial', 80, "Perl", 'red', 'purple', 132, 30, 7, 2) Gimp::Display->new($b) $b->get_layers
You can run the console from the command line, and it will work in "batch mode":
<path-to-plugins>/Perl-Console
Ed J
2014-05-19
Same terms as Gimp-Perl.
To install Gimp, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Gimp
CPAN shell
perl -MCPAN -e shell install Gimp
For more information on module installation, please visit the detailed CPAN module installation guide.