diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2024-03-15 16:23:21 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2024-03-18 16:11:27 +0000 |
| commit | bce1d7313dfe04f92b7a37c0352637045b4881dc (patch) | |
| tree | bc31443b02332f76afe47d2a50d06df6c29ef749 /render.c | |
| parent | sixel: RA region does not affect the text cursor position (diff) | |
sixel: hopefully handle image height correctly when trimming
When trimming trailing empty rows from the final image, handle the RA
region correctly:
* If image is transparent, trim down to the last non-empty pixel row,
regardless of whether it is inside or outside the RA region.
* If image is opaque, trim down to either the last non-empty pixel
row, or the RA region, whatever is the largest height.
Diffstat (limited to 'render.c')
0 files changed, 0 insertions, 0 deletions
