Linus Groh
e4bba2fab9
LibGfx: Keep alpha value of previous pixel for QOI_OP_RGB chunk
...
I accidentally skipped this part of the spec in the QOI decoder:
> The alpha value remains unchanged from the previous pixel.
This led to incorrect rendering of some images with transparency,
visible in form of a horizontal line of non-transparent pixels (that
shouldn't exist), e.g. for the following chunk sequence:
- QOI_OP_RGBA with alpha = 0
- QOI_OP_RGB
- QOI_OP_RUN
The QOI_OP_RGB should 'inherit' the alpha value of the previous
QOI_OP_RGBA chunk, instead of always setting it to 255.
I'm unsure why the encoder added the QOI_OP_RGB chunk to the specific
image where the bug was noticed in the first place - they effectively
both had fully transparent color values.
2021-12-22 01:12:51 +01:00
..
2021-11-10 21:58:58 +01:00
2021-12-16 18:50:02 +01:00
2021-11-17 00:21:13 +01:00
2021-09-18 02:12:38 +04:30
2021-09-18 02:12:38 +04:30
2021-11-23 12:23:54 +01:00
2021-12-21 13:27:27 +01:00
2021-12-21 22:13:51 +01:00
2021-11-30 10:51:51 +01:00
2021-12-21 22:13:51 +01:00
2021-11-21 20:22:48 +01:00
2021-11-10 21:58:58 +01:00
2021-11-11 01:27:46 +01:00
2021-11-11 01:27:46 +01:00
2021-11-11 01:27:46 +01:00
2021-11-11 01:27:46 +01:00
2021-12-21 13:27:27 +01:00
2021-11-28 23:14:19 +01:00
2021-11-28 23:14:19 +01:00
2021-11-11 01:27:46 +01:00
2021-11-11 01:27:46 +01:00
2021-11-21 20:22:48 +01:00
2021-11-21 20:22:48 +01:00
2021-11-08 00:35:27 +01:00
2021-09-18 02:12:38 +04:30
2021-11-30 10:51:51 +01:00
2021-11-11 01:27:46 +01:00
2021-11-11 01:27:46 +01:00
2021-10-06 23:52:40 +01:00
2021-09-24 19:03:46 +02:00
2021-08-18 11:35:51 +02:00
2021-11-21 20:22:48 +01:00
2021-11-21 20:22:48 +01:00
2021-11-21 20:22:48 +01:00
2021-11-21 20:22:48 +01:00
2021-12-21 13:27:27 +01:00
2021-11-21 20:22:48 +01:00
2021-11-21 20:22:48 +01:00
2021-11-21 20:22:48 +01:00
2021-10-06 23:52:40 +01:00
2021-10-10 21:03:27 +01:00
2021-11-29 23:17:05 +03:30
2021-11-29 23:17:05 +03:30
2021-11-08 00:35:27 +01:00
2021-10-31 18:39:13 +01:00
2021-09-18 02:12:38 +04:30
2021-09-18 02:12:38 +04:30
2021-11-21 20:22:48 +01:00
2021-11-21 20:22:48 +01:00
2021-11-21 20:22:48 +01:00
2021-11-21 20:22:48 +01:00
2021-11-21 20:22:48 +01:00
2021-11-21 20:22:48 +01:00
2021-09-06 01:53:26 +02:00
2021-11-28 23:14:19 +01:00
2021-11-28 23:14:19 +01:00
2021-11-11 11:32:22 +01:00
2021-11-21 20:22:48 +01:00
2021-11-21 20:22:48 +01:00
2021-12-22 01:12:51 +01:00
2021-12-21 13:27:27 +01:00
2021-11-28 23:14:19 +01:00
2021-11-28 23:14:19 +01:00
2021-11-28 23:14:19 +01:00
2021-11-28 23:14:19 +01:00
2021-11-28 23:14:19 +01:00
2021-11-28 23:14:19 +01:00
2021-09-04 03:35:23 +02:00
2021-10-04 11:10:09 +01:00
2021-11-11 01:27:46 +01:00
2021-11-11 01:27:46 +01:00
2021-11-08 00:35:27 +01:00
2021-11-05 23:34:22 +01:00
2021-11-11 01:27:46 +01:00
2021-10-06 23:52:40 +01:00
2021-07-27 23:47:00 +02:00
2021-07-26 21:14:39 +04:30
2021-07-26 21:14:39 +04:30
2021-09-16 17:17:13 +02:00
2021-08-18 10:32:32 +02:00
2021-11-17 00:21:13 +01:00
2021-11-17 00:21:13 +01:00
2021-11-17 00:21:13 +01:00
2021-11-11 01:27:46 +01:00