The image pipeline now supports transformations to AVIF for supported browsers using the URL parameter &auto=format
or .auto('format')
with the Image URL helper.
Check out the launch blog post and learn more details about how AVIF transformations work in the documentation.