/batch-image-processor

Resize and convert images with this simple script

Primary LanguageJavaScriptMIT LicenseMIT

Batch Image Processor

Takes images from /input and saves them into /output with settings you set in index.js

  1. Run npm install
  2. Create folder input and put all your images there (subfolders ok)
  3. Create folder output
  4. Update first few lines of index.js file (optional)
  5. Run npm start

Note: To process .heic image files you may need libvips to be installed first

Thank you

  • sharp - Node image processing module
  • fdir - fastest way to get a list of files in a directory