Colour profiles & converting to JP2
Posted: 2019-02-10T23:59:07-07:00
Hi All
I found an old post related to this(https://www.imagemagick.org/discourse-s ... hp?t=26210) but thought it might be better to start a new one. I'm looking for a method to save a JP2 with lossless compression and the AdobeRGB colour profile. A command line of:
... results in a lossless JP2 with an sRGB profile set regardless of the colour profile of the source image. If, for example, this image is then opened in Photoshop the colours will display differently to the original. Assigning (NOT converting) the Adobe RGB profile to the image will display the colour correctly.
Inspecting the JP2 with EXIFTool provides.
Are there any options for transferring standard ICC profiles from images to JP2?
I found an old post related to this(https://www.imagemagick.org/discourse-s ... hp?t=26210) but thought it might be better to start a new one. I'm looking for a method to save a JP2 with lossless compression and the AdobeRGB colour profile. A command line of:
Code: Select all
convert in.tif -quality 0 out.jp2
Inspecting the JP2 with EXIFTool provides.
Code: Select all
Jpeg2000:MajorBrand=JPEG 2000 Image (.JP2)
Jpeg2000:MinorVersion=0.0.0
Jpeg2000:CompatibleBrands=jp2
Jpeg2000:ImageHeight=nnn
Jpeg2000:ImageWidth=nnn
Jpeg2000:NumberOfComponents=3
Jpeg2000:BitsPerComponent=8 Bits, Unsigned
Jpeg2000:Compression=JPEG 2000
Jpeg2000:ColorSpecMethod=Enumerated
Jpeg2000:ColorSpecPrecedence=0
Jpeg2000:ColorSpecApproximation=Not Specified
Jpeg2000:ColorSpace=sRGB