lovell / avif-cli

Command line utility to convert images to AVIF
Apache License 2.0
175 stars 18 forks source link

Add flag to append new file extension #9

Closed pbowyer closed 2 years ago

pbowyer commented 2 years ago

Having an option to append .avif is useful so nginx try_files usage stays simple.

Without the flag foo.jpg => foo.avif With the flag --append-ext foo.jpg => foo.jpg.avif

This implements the footnote on #8

lovell commented 2 years ago

v0.2.0 now available with this option, thank you.