[FFmpeg-trac] #9672(undetermined:open): ffmpeg not writing ICC profiles in images
FFmpeg
trac at avcodec.org
Mon Apr 11 18:35:25 EEST 2022
#9672: ffmpeg not writing ICC profiles in images
-------------------------------------+-------------------------------------
Reporter: Cosmin | Owner: haasn
Stejerean |
Type: defect | Status: open
Priority: normal | Component:
| undetermined
Version: unspecified | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by haasn):
As of e254af31549ce6b4964936b3fe2124c3a18e69f8, FFmpeg will now *write*
ICC profiles to both PNG and JPG. As such, if you open a image with an
embedded ICC profile for transcoding, the ICC profile will be preserved.
That doesn't technically cover the entirety of this issue, which as
written also requires generating ICC profiles from scratch. But it does
mean that the combination of #9672+#9673 works as intended, as long as you
ignore that the ICC profile is only present in the form of side data
(rather than colorspace tags).
I will also submit a separate patch for ICC profile generation and reading
down the line, but for the time being, does this solve your use case?
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9672#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list