Converts JPEG, PNG, WebP, GIF, SVG, TIFF images to .webp format.
npm install
npm run build
- Place images you wish to convert in the
source
folder (JPEG, PNG, WebP, GIF, SVG, TIFF) node convert.js -s "<source_dir>" -o "<dest_dir>"
- Your converted files will be in the
<dest_dir>
folder
- run
node convert.js --help
You can package the project code to exe by using pkg
npm i -g pkg
npm run build
pkg -t latest-win-x64 convert.js -o convert.exe