ExifTool Forum

ExifTool => Newbies => Topic started by: Gregbutcher5 on December 11, 2023, 07:44:28 AM

Title: ICCPROFILE Batch Command
Post by: Gregbutcher5 on December 11, 2023, 07:44:28 AM
I've been having great success using
exiftool (-ICC_Profile= originalImage.jpg -o fixedImage.jpg)
to fix images that Windows Photo Viewer struggles to open, but it's quite click intensive and requires renaming every file and then moving the fixed image file before starting a new operation.

Is there a command please that I could use with say 100 image files in the folder and have ExifTool apply the ICC_Profile correction to them all whilst retaining the original file name?
Title: Re: ICCPROFILE Batch Command
Post by: Phil Harvey on December 11, 2023, 08:49:13 AM
Try this:

exiftool -icc_profile= -o %d%f_fixed.%e -ext jpg DIR

This will output the fixed files with "_fixed" added to the file name.

And you can add -r to recurse into contained folders.

- Phil
Title: Re: ICCPROFILE Batch Command
Post by: Gregbutcher5 on December 11, 2023, 10:06:53 AM
Worked perfectly thanks Phil!!  ;D