Converting Png with BT 2020 icc profile to jp2 image appears to remove profile

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
mstier
Posts: 1
Joined: 2018-10-11T13:33:46-07:00
Authentication code: 1152

Converting Png with BT 2020 icc profile to jp2 image appears to remove profile

Post by mstier » 2018-10-11T13:42:26-07:00

I am trying to convert a 16-bit depth png with a BT 2020 icc profile to a j2k file but the profile appears to get removed when I convert. I have tried explicitly setting the -profile with the same icc file but it did not work. Anyone else try this or have suggestions that I may use?

snibgo
Posts: 10838
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Converting Png with BT 2020 icc profile to jp2 image appears to remove profile

Post by snibgo » 2018-10-11T13:51:42-07:00

I confirm that IM doesn't embed ICC profiles in JP2 files. For example, with v7.0.7-28:

Code: Select all

magick toes.png -profile snibgoGBR.icc x.jp2

magick x.jp2 -verbose info:
No profile is shown.

I suppose that the profile should be embedded, so this is a bug. I'll move this thread to the bugs forum.
snibgo's IM pages: im.snibgo.com

Post Reply