Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Batch processing of photos on post-editing
#4
(05-23-2022, 07:42 AM)Ofnuts Wrote:
(05-23-2022, 05:15 AM)Stephen Liu Wrote: GIMP 2.10.18 on Ubuntu 20.04 desktop



Hi all,

I have hundreds of film negatives to be converted to digitized files.  I have no problem scanning them and saving them on Smartphone (with/without scan software installed) to negative photos.  After downloading them to computer I run following "mogrify" command lines (ImageMagick command) batch converting them to postive photos.
Code:
$ mogrify -negate *.* (convert negative photos to postive)

$ mogrify -negate -rotate 90 *.* (convert negative photos to postive and rotate 90 deg clockwise)

$ mogrify -negate -rotate -90 *.* (convert negative photos to postive and rotate 90 deg counter-clockwise)

$ mogrify -negate -rotate 180 *.* (convert negative photos to postive and rotate 180 deg)
They work for me seamlessly.  

Regarding Brightness, Contrast, Hue, Color etc. Can they be processed in batch?

ImageMagicks command;
Code:
$ morgify/convert -brightness-contrast 12x34 *.*
12x13 (value of -brightness-contrast, for example)
able to batch converting all photos but there is no preview.

I found BIMP/DBP plugins for GIMP.  They can perform batch process.  

Is there preview provided?
Can they perform batch processing on HUE Color, brightness, contrast, saturation etc. ?

It would be a tedious work to post-editing hundreds of photo, one by one.

OR is there a better solution for me?  Please advise.

Thanks in advance

Regards
SL

Another way to do that with IM is to create  a batch that uses convert several times on the same source image with varying parameters to produce several outcomes of the same image, and pick the IM parameters of the one that looks the best for use on all other images.
Hi,

Thanks for your advice

Before posting I have performed followin test;

On Terminal ran;
$ morgify/convert -brightness-contrast 12x34 *.*
with different sets of values
For example: 56/78, 90/12 etc.

The command lines worked seamlessly. But I have to view all hundred photo with Image Viewer, one by one, to select the photos which are up to my satisfaction.  There is no preview.

How to batch process, running IM commands, to edit HUE, Color, Sharpnesse etc.  I have no idea.  Besides, there is no preview.

Regards
SL

(05-23-2022, 07:31 AM)rich2005 Wrote:
Quote:..Is there preview provided?
Can they perform batch processing on HUE Color, brightness, contrast, saturation etc. ?

Second part first. Many of the Gimp 2.10 colour filters are now GEGL based and not normally available to BIMP (forget DBP, it is ancient and BIMP is better) The GEGL filters can be wrapped up in a python 'wrapper' and become available to BIMP but it is a pita.

Easier ways are adjusting the colour curve, export the settings to a curve file and use that in BIMP - The color correction section. Another way is using the Gimp g'mic-qt plugin which has many colour tweaking filters and these can be used with BIMP.
Your advice noted.  Thank.

I'll test BIMP later

Quote:Then ..Is there a preview provided ?  No. Only for the typical image used to establish the settings. By definition a batch process adjusts a group of files without user intervention.
It is NOT convenient, running "Image Viewer" checking hundred photos.

Quote:You would need to cycle through a folder of images individually, adjusting each to suit.  There is a plugin that helps with that  ofn-file-next.zip dated 2020-05-03  from: http://sourceforge.net/projects/gimp-too...s/scripts/
Thanks.  I'll check it later.

There are other Open Source command-line graphic tools for Linux, such as;

GraphicsMagick Image Processing System
http://www.graphicsmagick.org/
Scrot
https://github.com/dreamer/scrot
Feh
https://feh.finalrewind.org/
Exiv2
https://exiv2.org/

Do you have experience running them?

Regards
SL
Reply


Messages In This Thread
RE: Batch processing of photos on post-editing - by Stephen Liu - 05-23-2022, 08:22 AM

Forum Jump: