Files
ladybird/Libraries/LibGfx/ImageFormats/AVIFLoader.cpp
Andreas Kling 815f5e7d79 LibGfx: Fix AVIF alpha type to be unpremultiplied
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.
2026-03-27 21:22:39 +01:00

6.3 KiB