The patch works, thank you. But now I don't know how to test it... The two images (wide-gamut and sRGB) show no differences; I don't see any messages about lcms in the terminal. Another topic: I found this GitHub repository that provides sample images for testing. https://github.com/codelogic/wide-gamut-tests I downloaded DCI-P3 and Rec.2020 images, but none of the programs I have can open them: CinGG; Krita; GIMP; Image viewers; Blender; Kdenlive; Shutter Encoder; Natron. I don't understand why—it's a format supported by FFmpeg and other programs.
On Fri, May 1, 2026 at 10:43 PM Andrea paz <gamberucci.andrea@gmail.com> wrote:
The patch works, thank you. But now I don't know how to test it... The two images (wide-gamut and sRGB) show no differences; I don't see any messages about lcms in the terminal.
Yeah, I think you need to try and save file as ffmpeg/png, and set all colorimetry parameters manually. and set flags2 to icc_profiles, too! exiftool then will display icc profile without lcms2 support this will not work Not very useful, I know. Auto-applying profile at image load time require more code on our side
Another topic: I found this GitHub repository that provides sample images for testing.
https://github.com/codelogic/wide-gamut-tests
I downloaded DCI-P3 and Rec.2020 images, but none of the programs I have can open them: CinGG; Krita; GIMP; Image viewers; Blender; Kdenlive; Shutter Encoder; Natron. I don't understand why—it's a format supported by FFmpeg and other programs.
I used git clone on the repo then gimp wide-gamut-tests/R2020-P3-blue.png Plug-in "script-fu" (/usr/lib/gimp/2.0/plug-ins/script-fu/script-fu) is installing procedure "script-fu-selection-to-anim-image" with a full menu path "<Image>/Filters/Animation/Animators/Selection to AnimImage..." as menu label, this deprecated and will be an error in GIMP 3.0 Plug-in "script-fu" (/usr/lib/gimp/2.0/plug-ins/script-fu/script-fu) is installing procedure "script-fu-gap-dup-continue" with a full menu path "<Image>/Video/Duplicate Continue" as menu label, this deprecated and will be an error in GIMP 3.0 libpng warning: iCCP: profile 'R2020-D65-2_2-Gamma': 0h: PCS illuminant is not D50 gimp_color_transform_new: using babl for 'R2020-D65-2_2-Gamma' -> 'GIMP built-in sRGB' gimp_color_transform_new: using babl for 'R2020-D65-2_2-Gamma' -> 'GIMP built-in sRGB' gimp_color_transform_new: using babl for 'R2020-D65-2_2-Gamma' -> 'GIMP built-in sRGB' gimp_color_transform_new: using babl for 'GIMP built-in sRGB' -> 'R2020-D65-2_2-Gamma' gimp_color_transform_new: using babl for 'R2020-D65-2_2-Gamma' -> 'GIMP built-in sRGB' gimp_color_transform_new: using babl for 'GIMP built-in sRGB' -> 'R2020-D65-2_2-Gamma' gimp_color_transform_new: using babl for 'R2020-D65-2_2-Gamma' -> 'GIMP built-in sRGB' gimp_color_transform_new: using babl for 'R2020-D65-2_2-Gamma' -> 'GIMP built-in sRGB' but this is gimp 2.8 not 3.0 may be you downloaded html file ? I used context menu item download in firefox. Select file, then More file action in gthub web UI, then there will be download option ...
I tried to add testing for opencolorio, but this one is c++ only and I failed So for now it defaults to no, and you need to manually enable it with --with-opencolorio option to configure if you have ocio compatible with ffmpeg 8.1 demands (I used 2.1.2) sites I used to try and add c++ function check: https://dev.to/keelefi/my-autoconf-primer-1jkb https://nerdland.net/2009/07/detecting-c-libraries-with-autotools/ On Fri, May 1, 2026 at 9:15 PM Andrew Randrianasulu <randrianasulu@gmail.com> wrote:
Default to auto, works with lcms2 2.18
I'm away from home and won't be able to run any tests for a couple of days. Sorry.
participants (2)
-
Andrea paz -
Andrew Randrianasulu