https://github.com/whyboris/batch-image-processor
Resize and convert images with this simple script
https://github.com/whyboris/batch-image-processor
image-processing
Last synced: about 1 year ago
JSON representation
Resize and convert images with this simple script
- Host: GitHub
- URL: https://github.com/whyboris/batch-image-processor
- Owner: whyboris
- License: mit
- Created: 2023-08-11T06:46:03.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-11T06:48:53.000Z (almost 3 years ago)
- Last Synced: 2025-02-09T09:13:43.616Z (over 1 year ago)
- Topics: image-processing
- Language: JavaScript
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Batch Image Processor
Takes images from `/input` and saves them into `/output` with settings you set in `index.js`
0. Run `npm install`
1. Create folder `input` and put all your images there (subfolders ok)
2. Create folder `output`
3. Update first few lines of `index.js` file (optional)
4. Run `npm start`
_Note:_ To process `.heic` image files you may need `libvips` to be [installed first](https://www.libvips.org/install.html)
## Thank you
- [sharp](https://github.com/lovell/sharp) - _Node_ image processing module
- [fdir](https://github.com/thecodrr/fdir) - fastest way to get a list of files in a directory