![Forrest logo](/images/logo.png)
avifenc:tldr:da901
The command "avifenc" is a command-line tool used to encode an image file into the AVIF format. AVIF is a modern image format that offers high-quality compression and advanced features.
In the command "avifenc ${path-to-image-png} ${path-to-image-avif}", the "${path-to-image-png}" represents the path or location of the input image file in PNG format that you want to convert to AVIF format. You should replace "${path-to-image-png}" with the actual file path on your system.
Similarly, "${path-to-image-avif}" represents the desired path or location where you want to save the output image file in AVIF format. Again, you need to replace "${path-to-image-avif}" with the actual file path on your system.
By running this command, the "avifenc" tool will read the input image file from the specified PNG file path, encode it into AVIF format, and save the resulting AVIF image to the specified output file path.