1
\$\begingroup\$

I need to find the color profile of every jpeg in a folder so that I can determine which ones I want to edit. Can I batch list them? I do not have Photoshop.

\$\endgroup\$
2
  • \$\begingroup\$ I am curious as to why the color profile of a photo is the determining factor in whether or not you want to edit the photo. \$\endgroup\$
    – Alaska Man
    Jan 31, 2020 at 12:28
  • \$\begingroup\$ I have scraped thousands of images from the web. I am using them for Artificial Intelligence classification. But the program crashes on some of them; I suspect the CMYK ones or some other profile. \$\endgroup\$ Feb 3, 2020 at 3:36

1 Answer 1

1
\$\begingroup\$

Using exiftool you should be able to extract the ICC profile name using:

exiftool -icc_profile:ProfileDescription some_file.jpg

You can write a loop in a command line script to do this for a set of images.

If you are interested in other parameters of the ICC profile you can use a different tag name (found on the ICC_profile manual page linked earlier) instead of ProfileDescription.
You can write -icc_profile:* if you want to see all tags.

\$\endgroup\$
2
  • \$\begingroup\$ Thank you for the reply. I installed and ran the exiftool, deleting the (-k). I also used the download for the Windows installer. I run the command line as indicated referring to a specific jpg but I see no output. This will take some time to learn to use this tool. \$\endgroup\$ Jan 29, 2020 at 22:17
  • \$\begingroup\$ I think (not sure) it's possible that your jpg has no embedded icc profile. In that case exiftool will have nothing to show you and you will see no output. \$\endgroup\$ Jan 30, 2020 at 7:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.