Small script for converting webp images to png.
-
Run
pnpm install
in the console, you can also use any other package manager of your choice. -
Place webp images in the
\webp
folder. -
Run
pnpm start
to convert images from webp to png. They will be saved to the\exported
folder. Webp images in\webp
directory will be automatically deleted. -
Enjoy your png images in the
\exported
folder.
.gitignore files in the \exported
and the \webp
folders are for git to track these directories so that they could be uploaded to the github.