auto-image-cropper-0.1.0 is not a library.
Auto-Image-Cropper
- Removes extra white boundaries from images to correctly resize canvas.
Screenshots
The borders are just to represent the actual images tested with. (click to zoom)
Installation and Usage
git clone https://github.com/Ritiek/auto-image-cropper
cd auto-image-cropper
cargo build --release
cd target/release
./auto-image-cropper
Benchmarks
-
This tool was re-written in Python to compare with Rust just for fun.
-
[table]
-
Python struggles to find the optimal coordinates but is quick (quicker than Rust) when saving the cropped image back to disk. Rust really outperforms while finding the optimal coordinates.
Contributing
-
Found a bug/ have an idea? Feel free to open your ticket in the issues section.
-
Even better, send a pull request. :)
License
The MIT License