Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to set a color profile with exiftool?

I have some .jpg files without a color profile, and would like to set them to a particular color profile using exiftool.

what parameter do I need to supply to do this?

like image 821
Mark Harrison Avatar asked Jan 20 '23 04:01

Mark Harrison


1 Answers

For exiftool to add a color profile, you need a profile.file
You can extract this from any JPEG image by:

exiftool -icc_profile -b somefile.jpg > profile.icc

Then attach this profile by using

exiftool "-icc_profile<=profile.icc" yourfile.jpg
like image 165
Lelouch Lamperouge Avatar answered Jan 26 '23 02:01

Lelouch Lamperouge