Skip to content

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

reduceImageSizeWithNodejs

Reduce size of images by quality percent

automation for non-technical people

fausto

Tech

  • Node 14.x
  • NPM 6.x
  • Sheet Plugin
  • MinImage Plugin
  • Fs & Fs-extra

Input and Output

  • 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

Instalation

https://nodejs.org/en/download/

Run the worker

  • 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

alt text

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages