It’s been possible to use various scripting languages to automate GIMP for a long time. But until recently Perl bindings for GIMP were considerably out of date due to lack of interest from contributors. Fortunately, a while ago Ed J started working on updating those, and now a release …