Decode AVIF via avifdec when Go's image.Decode can't, and pass-through small AVIFs (<=800px wide) by caching the original bytes instead of re-encoding.
7.3 KiB
7.3 KiB
Decode AVIF via avifdec when Go's image.Decode can't, and pass-through small AVIFs (<=800px wide) by caching the original bytes instead of re-encoding.