mortie / swaylock-effects

Swaylock, with fancy effects
MIT License
698 stars 44 forks source link

10-bit colour handling #80

Open quantum5 opened 2 years ago

quantum5 commented 2 years ago

When using the --screenshots option with the new output * render_bit_depth 10 introduced in swaywm/sway@a23cdbbea145e0890627743d316c0ab6fe6c9c1f, the colours in the screen appear completely messed up, presumably because it's treating the XRGB2101010 image as XRGB8888. Easiest solution is to probably downsample the screenshot to 8-bit colour, but the better solution would be to implement 10-bit colour support.

mindrunner commented 1 year ago

I want this :)

@quantum5 can you file this PR against https://github.com/jirutka/swaylock-effects please?

@jirutka Can we get this merged please? :)