title: How to convert JPG images to AVIF with Python
body: <p><a href="https://github.com/python-pillow/Pillow/pull/5201" rel="noreferrer">Python's Pillow doesn't seems to support AVIF files yet</a>, and other packages like <a href="https://github.com/carsales/pyheif" rel="noreferrer">pyheif</a>, only support reading. Is there any Python tool to convert jpg images to the new <a href="https://aomediacodec.github.io/av1-avif/" rel="noreferrer">avif</a> format?</p>