Pablo
Pablo

Reputation: 63

Is writing a python script that loads GIMP in AWS lambda the right way to process images?

I work with some artists and we've identified a process that we would like to automate and scale up. Is it possible/recommended to put some python script that loads GIMP on a lambda function to accomplish this?

The reason for GIMP is that we have a one-to-one step-by-step recipe to turn the raw image into the finished product using GIMP. Since GIMP has a python scripting interface we thought it would be ideal.

We use Imagick (ImageMagick) in our site, but we'd have to figure out how the GIMP steps translate into Imagick functions.

So far I've tried running GIMP's functions from a python file python my_scipt.py but their documentation seems to indicate that this isn't the way to go about it. It seems their 'python interface' is a plugin for GIMP rather than some python library I can include on a python script.

The ideal solution would be a python script I can run on AWS Lambda that includes a library that gives me an interface to GIMP's functions.

Upvotes: 1

Views: 266

Answers (1)

Pablo
Pablo

Reputation: 63

It seems as though you CAN run GIMP as a server, yet you cannot put it in a lambda function

As pointed out by @Mark above, Michael Schumacher here, and here there are other tools that might be more suited for this.

Upvotes: 0

Related Questions