This series of patches fixes our incorrect cHRM handling in PNGs and properly supports sRGB and cICP chunks in PNGs as well.
Leo Izen (3): avcodec/png: use libavutil/csp.h for cHRM chunks avcodec/pngdec: support decoding sRGB chunks avcodec/png: support cICP chunks libavcodec/pngdec.c | 87 +++++++++++++++++++++++++++--------- libavcodec/pngenc.c | 61 ++++++++++--------------- tests/ref/fate/png-icc | 2 +- tests/ref/fate/png-side-data | 13 +----- 4 files changed, 92 insertions(+), 71 deletions(-) -- 2.39.0 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".