Merge pull request #41 from dosisod/fix-sixel-alpha

Fix white background bleeding through sixel images:
This commit is contained in:
Stein Gunnar Bakkeby 2021-09-13 11:09:20 +02:00 committed by GitHub
commit f78822a367
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -252,7 +252,7 @@ sixel_parser_finalize(sixel_state_t *st, unsigned char *pixels)
*dst++ = color >> 16 & 0xff; /* b */
*dst++ = color >> 8 & 0xff; /* g */
*dst++ = color >> 0 & 0xff; /* r */
dst++; /* a */
*dst++ = 255; /* a */
}
/* fill right padding with bgcolor */
for (; x < st->image.width; ++x) {