Small script for converting webp images to png.
-
Run
pnpm installin the console, you can also use any other package manager of your choice. -
Place webp images in the
\webpfolder. -
Run
pnpm startto convert images from webp to png. They will be saved to the\exportedfolder. Webp images in\webpdirectory will be automatically deleted. -
Enjoy your png images in the
\exportedfolder.
.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.