IPC::GimpFu - interface to Gimp's script-fu server
Version 0.03
This module makes it possible to communicate with Gimp's script-fu server, and also to start/stop it on the local machine.
use IPC::GimpFu; # Fine control on a local instance: my $gimp = IPC::GimpFu->new(); $gimp->local_start(); $gimp->run("some command"); $gimp->local_stop(); # Start locally if needed, keep running once we're done: my $gimp = IPC::GimpFu->new({ autostart => 1 }); $gimp->run({ file => "gimp-source.scm" }); $gimp->run("some command"); # Use a remote server: my $gimp = IPC::GimpFu->new({ server => "other-server", port => "other-port" }); $gimp->run("something else");
Create a new object, using an anonymous hash. The following can be set this way: autostart, server, and port; autostart is only valid if server is localhost; default settings are:
autostart => 0 server => 'localhost' port => '10008'
Start the server, if configured on localhost.
Stop the server, if configured on localhost.
Run a given command on the specified server, connecting on the fly if needed. Can be passed a command, or a hash with a file key:
$gimp->run("some command"); $gimp->run({ file => 'foo.scm' });
Cyril Brulebois, <kibi at debian.org>
<kibi at debian.org>
Please report any bugs or feature requests to bug-app-gimpfu at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=IPC-GimpFu. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-app-gimpfu at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc IPC::GimpFu
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
http://rt.cpan.org/NoAuth/Bugs.html?Dist=IPC-GimpFu
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/IPC-GimpFu
CPAN Ratings
http://cpanratings.perl.org/d/IPC-GimpFu
Search CPAN
http://search.cpan.org/dist/IPC-GimpFu/
Copyright 2012-2013 Cyril Brulebois.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install IPC::GimpFu, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IPC::GimpFu
CPAN shell
perl -MCPAN -e shell install IPC::GimpFu
For more information on module installation, please visit the detailed CPAN module installation guide.