Rust support for the codec seems to be in it’s infancy at the moment, but the rav1e encoder and decoder seems to be progressing very rapidly. I imagine the amount of work to add this to Zola at the moment would be very non-trivial, but hope opening a thread might prompt constructive discussion of whether it would be useful and how to go about implementing it if so.
Error: Reason: Function call 'resize_image' failed
Error: Reason: `resize_image`: Failed to read image: <image path>
So I’ve found this thread, and to update: the image crate issue mentioned above looks to be closed now, with AVIF support added in version 0.23. Zola is using 0.24.5 currently.
This thread had an accompanying feature request issue opened on GitHub, but it appears to be superseded by this PR, which was stalled by version issues over two years ago. The PR was mentioned several months ago, and seems to indicate that it may not be accepted.
I would like to use AVIF, but it seems an out of band method is the only option for now.