swappy icon indicating copy to clipboard operation
swappy copied to clipboard

Unsupported format when using 10bit color output

Open p4block opened this issue 3 years ago • 0 comments

On sway 1.7 you can finally select 10 bit instead of 8bit output. Trying to screenshot with the grimshot script built into sway or with swappy emits the same error

/usr/share/sway/scripts/grimshot copy area
unsupported format 808665688

grim -g "$(slurp)" - | swappy -f - 
unsupported format 808665688
unable to load file: /tmp/swappy-stdin-O793E1.png - reason: Image file “/tmp/swappy-stdin-O793E1.png” contains no data

Thankfully the error goes away if I return to 8bit color output :smile:

p4block avatar Dec 28 '21 15:12 p4block