Page 1 of 1

possible bug JP2 output from tiff losing profiles IM 6.8.9.7

Posted: 2014-09-06T20:50:08-07:00
by fmw42
Mac OSX

Version: ImageMagick 6.8.9-7 Q16 x86_64 2014-08-27 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC Modules
Delegates: bzlib cairo fftw fontconfig freetype gslib jbig jng jp2 jpeg lcms lqr ltdl lzma openexr png ps rsvg tiff webp x xml zlib

Referenced from viewtopic.php?f=1&t=26210


It appears that profiles are being stripped when output is JP2.


I took one of the PNG Kodak Images (parrots) and opened in my old PS CS and assigned an AdobeRGB profile and saved with no compression as TIF. Then I converted to JP2:

http://www.fmwconcepts.com/misc_tests/kodim23.tif

Code: Select all

convert kodim23.tif JP2:kodim23.jp2
The result has different colors. But the Adobe profile did not follow to the output image. So I tried to assign it explicitly as

Code: Select all

convert kodim23.tif -profile /Users/fred/images/profiles/AdobeRGB1998.icc JP2:kodim23b.jp2
but the profile was not in the output image.

This may be the issue. I do not know if JP2 format allows profiles. I am not sure why it would not. But I am not an expert.

But the stripping of profiles could be a bug and causing the color differences.