![Forrest logo](/images/logo.png)
avifenc:tldr:49a24
This command is using the avifenc
tool to convert an image file from PNG format to AVIF format. The avifenc
command requires three arguments:
-
--speed ${2}
: This is an option to set the encoding speed of the AVIF conversion. The value${2}
is a placeholder for the second argument provided when executing the command. The actual value should be specified when running the command. -
${path-to-image-png}
: This is the path to the source image file in PNG format that you want to convert to AVIF. You need to replace${path-to-image-png}
with the actual path to the PNG file on your system. -
${path-to-image-avif}
: This is the path where you want to save the converted AVIF file. You need to replace${path-to-image-avif}
with the actual desired path and file name for the output AVIF file on your system.
Overall, this command takes a PNG image file, converts it to AVIF format, and saves the result as a new AVIF file. The exact speed setting for the conversion is specified using the second argument provided when running the command.