mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-21 06:46:34 -04:00
sixel: if the client has specified a size, do not change that
We used to auto-resize images to always be a multiple of 6. This is incorrect. The client may, for example, have specified a size to align the image to a cell boundary, which may not be a multiple of 6. Furthermore, in e.g. Jexer, which splits up an image into stripes, that the next image would "overwrite" the previous one. Since the next image was started on a cell row that the previous image had overflowed into.
This commit is contained in:
parent
957e482f45
commit
dec796f525
3 changed files with 20 additions and 6 deletions
|
|
@ -63,7 +63,9 @@
|
|||
a `;`.
|
||||
* Palette re-use in sixel images. Previously, the palette was reset
|
||||
after each image.
|
||||
|
||||
* Do not auto-resize a sixel image for which the cllent has specified
|
||||
a size. This fixes an issue where an image would incorrectly
|
||||
overflow into the cell row beneath.
|
||||
|
||||
### Security
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue