mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-09 00:22:36 +02:00
Gfx::Bitmap only supports a bit depth of 8, therefore we refused to load AVIF images which didn't have this bit depth. However, we can tell the libavif decoder to reduce the output depth by setting avifRGBImage.depth to 8. This allows us to support any input depth. Makes images load on https://www.ikea.com/ which uses Cloudflare Images to re-encode their images to 16-bit AVIF.
6.1 KiB
6.1 KiB