[Gimp-user] Batch processing on an iMAC



Hi:

I need to process upward of 700 pictures through GIMP with a simple
workflow:

- Open a picture file
- Export it as a JPG file

which enables these files to be uploaded in a custom database
(programmed with Cold Fusion - not by me!) which only accepts the JPG
format.

Can anybody give me some ideas or a script to do that?

GIMP is not scriptable with the MAC Script Editor, and it seems only
some Unix-level commands using the Terminal app will work.

Thanks in advance, as this would save me a lot of hours doing this
manually!

Gerard

If I had to do this? Not Gimp, use ImageMagick. see
https://www.imagemagick.org/script/download.php

Can be a simple as.

magick mogrify -format jpg  *.png

will convert a folder full of png images to jpegs.

On the other hand, if you want to see each image before exporting, the attached
rough-n-ready script exports to a 90 quality jpeg. You need to specify the
destination but only once per session. Unzip, pop in your plugins folder (it is
python) check that it is executable.

rich: www.gimp-forum.net

Attachments:
* http://www.gimpusers.com/system/attachments/820/original/save90.py.zip

-- 
rich404 (via www.gimpusers.com/forums)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]