https://github.com/YomikoR/VapourSynth-ICCConvert
I ported some elementary features of Little CMS for color management in VapourSynth.
Features:
- Color profile conversion.
- Playback like in the mpv player (BT.1886 or overridden with a custom gamma).
- Extract color profile from image (when built with ImageMagick 7).
- Auto detection of the display color profile loaded for the current monitor, so that the plugin can be included in a Python wrapper for other users.
About auto profile detection:
- Since the main purpose of the plugin is QC, it's strongly recommended to manually specify the input for actual encoding.
- The detected window refers to the editor interface of VS Editor, or the console where you launch VS Preview, etc., NOT the preview windows of these editors.
- Windows: foreground window.
- Linux, X11: window of input focus. Recommended to build with
colord support.
- Linux, Wayland: not yet implemented. Let's see if there will be a colord alternative for Wayland.
- MacOS: not yet implemented. Help wanted.
Help wanted:
- Correctness and auto profile detection in MacOS. I don't have a device.