mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-11 01:22:43 +02:00
libavif outputs straight (unpremultiplied) alpha by default, but the AVIF loader was creating bitmaps without specifying an alpha type, which defaults to premultiplied. This mismatch caused semi-transparent pixels to render incorrectly. Pass AlphaType::Unpremultiplied explicitly, matching what the PNG, WebP, and BMP decoders already do.
6.3 KiB
6.3 KiB