Reduce size of images by quality percent
automation for non-technical people
- Node 14.x
- NPM 6.x
- Sheet Plugin
- MinImage Plugin
- Fs & Fs-extra
-
Input images in rawImages if you want to run with manual input folder
-
Input sheet.xlsx file in root folder if you want to run with sheet automation
- Format of sheet - name and link to download of image
-
Output of process going to processedImages
https://nodejs.org/en/download/
-
Optional env - TYPE (sheet or folder - default sheet)
-
Optional env - SIZE (in Mbs - default 0.1)
Run on bash or prompt inside the project
npm install # just in first time
npm run worker or node index
with env
TYPE=folder npm run worker or TYPE=folder node index