scripting gimp
by Pedroski from LinuxQuestions.org on (#502Y9)
Hi!
gf has about 500 photos of book covers. They all need to be shrunk to fit in a transparent background of 240 by 240 pixels.
So, I would create a new file 240 x 240 pixels then get the pictures and shrink them proportionally so the height or width, whichever is greater is say 230px, then get them in the transparent background.
I have never tried to automate gimp. Don't know what kind of script gimp can use.
Any tips, good links, please?
I can do small things with Python. Maybe Python could do this?


gf has about 500 photos of book covers. They all need to be shrunk to fit in a transparent background of 240 by 240 pixels.
So, I would create a new file 240 x 240 pixels then get the pictures and shrink them proportionally so the height or width, whichever is greater is say 230px, then get them in the transparent background.
I have never tried to automate gimp. Don't know what kind of script gimp can use.
Any tips, good links, please?
I can do small things with Python. Maybe Python could do this?