sixel: trim trailing, fully transparent sixel rows

See https://github.com/hpjansson/chafa/issues/192
This commit is contained in:
Daniel Eklöf 2024-03-11 16:25:45 +01:00
parent 282c55aa4a
commit cc660bc7c1
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 41 additions and 11 deletions

View file

@ -677,6 +677,7 @@ struct terminal {
uint32_t *p; /* Pointer into data, for current position */
int width; /* Image width, in pixels */
int height; /* Image height, in pixels */
unsigned int bottom_pixel;
} image;
/*