| ▲ | jaffathecake an hour ago | |
> AVIF images have a max size of 8192x4352 This isn't true btw. The format supports up to 64k x 64k, although browser decoders currently fail beyond 16k x 16k. Not sure when you'd serve something like that on a web page though. | ||
| ▲ | pixelesque 20 minutes ago | parent [-] | |
It's been a few years since I last tried, so hopefully no longer an issue, but trying to encode 8192 × 5464 images from a Canon R5 a few years ago with libavif, and avifEncoderAddImage() would return a generic error. If I reduced the res a bit, then it worked, so there did seem to be a limit there somewhere. height and width are stored as u32s internally though, so yes, the format itself technically supports it... I never looked into it more, so might have been a libavif issue, or maybe the way I was using it (maybe it has defaults or profiles?) | ||