RSS/Atom feed Twitter
Site is read-only, email is disabled

Special way to process more images

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

2 of 2 messages available
Toggle history

Please log in to manage your subscriptions.

Special way to process more images durumdara 05 Jan 10:21
  Special way to process more images David Gowers 05 Jan 10:53
2009-01-05 10:21:57 UTC (about 16 years ago)
postings
1

Special way to process more images

Hi!

My friend have a Photoshop and I created a COM/OLE based python script for make some photo preprocessing in "batch mode". This python script loads all files in a dir, and converts every simple photo image with these modifications:
a.) original as *.org.jpg
this is needed because the photoshop can detect the EXIF rotation flag and save the image with good direction.
b.) AutoColor *.col.jpg
c.) AutoContrast *.cnt.jpg
d.) AutoLevels *.lev.jpg
e.) Black and White *.baw.jpg

When this script finished, the directory is full with "same" files, and my next program can show all images, and my friend can choose which image is better for the album - this will copied to the album directory.

This was the photo processor tool that my friend uses to make the album simply.

Some other friends are interesting for this tool, but they haven't got Photoshop.

I wanna realize same thing with GIMP if it is possible to do. As I see the GIMP have more automatic colour conversions for the images. Please help me, how to:
a.) start GIMP in batch mode
b.) pass filelist to a script
b.) convert and save to a new jpg file with diff. extension

Can I do it this thing or better if I forget this complex converter?

Thanks for your help: dd

David Gowers
2009-01-05 10:53:26 UTC (about 16 years ago)

Special way to process more images

Hi,

On Mon, Jan 5, 2009 at 7:51 PM, durumdara wrote:

Hi!

My friend have a Photoshop and I created a COM/OLE based python script for make some photo preprocessing in "batch mode". This python script loads all files in a dir, and converts every simple photo image with these modifications:
a.) original as *.org.jpg
this is needed because the photoshop can detect the EXIF rotation flag and save the image with good direction.
b.) AutoColor *.col.jpg
c.) AutoContrast *.cnt.jpg
d.) AutoLevels *.lev.jpg
e.) Black and White *.baw.jpg

When this script finished, the directory is full with "same" files, and my next program can show all images, and my friend can choose which image is better for the album - this will copied to the album directory.

I would like to suggest that you place the generated files in a subdirectory so it does not get mixed up with the original files.

This was the photo processor tool that my friend uses to make the album simply.

Some other friends are interesting for this tool, but they haven't got Photoshop.

I wanna realize same thing with GIMP if it is possible to do. As I see the GIMP have more automatic colour conversions for the images. Please help me, how to:
a.) start GIMP in batch mode
b.) pass filelist to a script
b.) convert and save to a new jpg file with diff. extension

Can I do it this thing or better if I forget this complex converter?

You can certainly do this with GIMP + Python or GIMP + Script-fu.

" --batch-interpreter
Specifies the procedure to use to process batch events. The default is to let Script-Fu evaluate the com? mands.

-b, --batch Execute non-interactively. This option may appear multiple times. The is passed to the batch interpreter. When is - the commands are read from standard input.
"
from gimp man page.

That addresses your first two points. for the last point, use the procedure browser to look up file-jpeg-save.

David :)