Node-based solution for image compression. It efficiently processes PNG, JPG, and JPEG files, reducing their size and converting them into WEBP, PNG, JPG, or JPEG formats.
-
Place your images inside the
input
folder. -
Run the following command:
npm run compress
-
The compressed images will be generated and stored in the
output
folder, available in various compression sizes [40/60/80/100]. -
Select the compressed images that best suit your needs and replace the original ones with the optimized versions.