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