ChromPy Viewer with Wayland Color Management Protocol

Hi,

maybe some of you already noticed my post in the Wayland Color Management thread:

Meanwhile I translated the script into Python.

So this is the first “image viewer” that has implemented the Wayland Color Management Protocol. You can actually see colors outside of sRGB on your P3 or wide gamut monitor while Plasma/Hyprland/Sway/Wayland Color Management is enabled.

Basically it is sort of a web-app which uses Chromium as the rendering engine for the images and launches a local web server in the background.

While we are waiting for Gwenview, Digikam, Geeqie etc to implement the protocol (it looks like this won’t happen so soon), I thought this was the easiest way to create an image viewer that is able to show correct colors outside of sRGB on Wayland.

In theory it might be possible to turn this into a very simple image editor that can e.g. crop images or change brightness/contrast etc.

I think this is better than nothing while we are waiting for Gwenview etc.

Feedback is welcome.

6 Likes