possible regression: unable to get the icc profile of an heic image under 7.0.8.44

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.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: possible regression: unable to get the icc profile of an heic image under 7.0.8.44

Post by snibgo »

loki5100 wrote:there is a regression in IM 6.0.8.44 ...
I think you mean 7.0.8.44.

I don't know if this is a regression. Did IM ever find an RGB ICC profile in a YCbCr HEIC file?

I agree with your other points.
snibgo's IM pages: im.snibgo.com
loki5100
Posts: 35
Joined: 2018-02-24T14:51:41-07:00
Authentication code: 1152

Re: possible regression: unable to get the icc profile of an heic image under 7.0.8.44

Post by loki5100 »

ooh yes sorry I mean 7.0.8.44 ...

>> Did IM ever find an RGB ICC profile in a YCbCr HEIC file

yes in 7.0.7.23 ...
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: possible regression: unable to get the icc profile of an heic image under 7.0.8.44

Post by fmw42 »

I am not an expert on HEIC, but does it even make sense to have an RGB profile on a file whose data is in YCbCr color space? I would not think that would make sense.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: possible regression: unable to get the icc profile of an heic image under 7.0.8.44

Post by snibgo »

Well, that's how JPEG files work. The pixels are encoded as YCbCr, but can contain an RGB ICC profile. When such a JPG file is read, the pixels are automatically converted to RGB, and the profile applies to those values.

I'm no expert on HEIC, but HEIC files that have been linked from these forums show the same: encoded as YCbCr but with RGB ICC profiles.
snibgo's IM pages: im.snibgo.com
loki5100
Posts: 35
Joined: 2018-02-24T14:51:41-07:00
Authentication code: 1152

Re: possible regression: unable to get the icc profile of an heic image under 7.0.8.44

Post by loki5100 »

and the heic files linked come from iphone devices (picture taken by default from the iphone camera), so they are not quite uncommon, it's the standard ...
Post Reply