[FFmpeg-trac] #9673(undetermined:closed): ffmpeg not reading color information from JPEG ICC profile

FFmpeg trac at avcodec.org
Tue Aug 22 15:24:19 EEST 2023


#9673: ffmpeg not reading color information from JPEG ICC profile
-------------------------------------+-------------------------------------
             Reporter:  Cosmin       |                    Owner:  haasn
  Stejerean                          |
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  unspecified  |               Resolution:  fixed
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by haasn):

 So, with an unadapted absolute colorimetric observer, I get:

 white point: 0.277627, 0.296325
 red point: 0.676886, 0.323146
 green point: 0.258474, 0.682744
 blue point: 0.118205, 0.047961

 Changing that to use an adapted observer instead get me values which are
 also incorrect:

 white point: 0.312699, 0.329003
 red point: 0.679226, 0.322634
 green point: 0.277986, 0.668605
 blue point: 0.123242, 0.052980

 As a reminder, correct DCI-P3 values should be:

 white point: 0.3127, 0.3290
 red point: 0.680, 0.320
 green point: 0.265, 0.690
 blue point: 0.150, 0.060

 Seems no combination of parameters lets me extract the DCI-P3 values from
 this ICC profile. I'm not sure why it behaves so differently from other
 ICC profiles, which seem to work fine with the current code. Is it
 possible that the reverse tables in this profile are just wrong? It also
 doesn't round trip correctly with itself, which other ICC profiles do.

 Out of curiosity, how are you generating this specific ICC profile /
 what's its source?
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9673#comment:15>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list