mirror of
https://github.com/xcat2/confluent.git
synced 2026-01-11 10:32:31 +00:00
Only for kitty graphics protocol. Also, attempt to use pillow to convert, if available. Kitty itself needs this, Konsole can work either way. It currently does not preserve aspect ratio, to do that we pretty much need to do some work with pillow. If we specify just the height, then ratio is preserved, but it won't honor the designed bounding box on wide screenshots. Also Konsole won't even honor just one scaling factor. So the better thing would be to determine the aspect ratio, which needs pillow.