ExifTool Forum

ExifTool => Newbies => Topic started by: frankfert on August 25, 2021, 05:34:15 AM

Title: Embedding an ICC Profile in a JPEG 2000 image
Post by: frankfert on August 25, 2021, 05:34:15 AM
I'm trying to embed an ICC Profile into a JP2 file. 

A few command line tools will convert TIFFs to JP2 however they don't seem to embed the ICC profile.  Previously, I've used Photoshop to convert the pics one-by-one.  Very boring process and keen to script it.

I understand Exiftool does not support writing ICC into JP2 files (per the supported file types list on the home page).

Does anyone have any suggestions how to embed an ICC profile into JP2 files?
Title: Re: Embedding an ICC Profile in a JPEG 2000 image
Post by: Hubert on August 25, 2021, 11:28:12 AM
Not an ExifTool answer, and only a macOS answer, but...

cd into the directory containing the .jp2 files and use sips1:

sips -e /path/to/profiles/profile_name.icc *.jp2

1 Scriptable Image Processing System, not SIP, which is System Integrity Protection.
Title: Re: Embedding an ICC Profile in a JPEG 2000 image
Post by: frankfert on August 27, 2021, 04:28:18 AM
Any ideas for a Windows or Linux solution?

Unfortunately I don't use a Mac
Title: Re: Embedding an ICC Profile in a JPEG 2000 image
Post by: Phil Harvey on November 11, 2021, 01:17:36 PM
ExifTool 12.35 (just released) has the ability to write an ICC_Profile to a JPEG 2000 image.

- Phil