chartjs-to-image
chartjs-to-image copied to clipboard
Add WebP and AVIF support
Hi Typpo, this time is a feature request from me :) Is it possible to add WebP and AVIF file formats support when exporting images?
Hi @SergeySypalo,
webp is actually supported, although not documented! You can call setFormat('webp')
Actually I'm more interested in AVIF, as it offers better compression, and the result is sharper. At least for images I need/tested.