1.0.1 • Published 5 years ago

batch-resizing v1.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

Batch Resizing

Resizes every image in a directory to be the same size

You might want this if you're trying to clean images in order to do some machine learning stuff on them, idk.

To use

Install the package from npm,

npm install batch-resizing --save

Then you'll want to run like so:

const batchResizing = require('batch-resizing');
const resize = new batchResizing('directory-path', WIDTHpx, HEIGHTpx, 'output-prefix');
resize.resize();
1.0.1

5 years ago

1.0.0

5 years ago