5

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?

sth
  • 222,467
  • 53
  • 283
  • 367
Mark Harrison
  • 297,451
  • 125
  • 333
  • 465

1 Answers1

11

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
Lelouch Lamperouge
  • 8,171
  • 8
  • 49
  • 60
  • An alternative to extract the profile is `exiftool -icc_profile -b -w icc somefile.jpg`: The command creates the ICC profile as `somefile.icc` automatically. – U. Windl Jul 23 '19 at 20:06