image-batch-resizer-0.2.0 is not a library.
image-batch-resizer-rs
Experimental image batch resizer executable in Rust.
Performs simple proportional resizing of image files in a given directory path.
Installation
This installs ibr
into your Cargo binary directory.
Example usage
For more argument details, type:
Deletes original image files
This resizes all image files in input/
directory:
-m 512
- to maximum width/height to 512 pixels proportionally,
-d
- deletes the origin image files, replacing with the resized ones,
-vvv
- and prints logs at verbosity level of 3.
Saves into subdirectory of input directory
This resizes all image files in input/
directory with verbosity set to 0:
-m 512
- to maximum width/height to 512 pixels proportionally,
-g "*.png"
- matching only file names that ends with
.png
,
- matching only file names that ends with
-o resized/
- and saves resized image files into
input/resized/
directory.
- and saves resized image files into