A CLI tool for bulk image renaming, resizing, and format conversion.
- Rust 100%
- spawn threads based on available CPU cores - use mpsc channel for task distribution - improve performance for batch operations |
||
|---|---|---|
| images | ||
| output | ||
| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| LICENSE | ||
| README.md | ||
Usage
aht --path ./images --name photo --width 800 --height 600 --output ./output
| Flag | Short | Description |
|---|---|---|
--path |
-p |
Source directory containing images |
--name |
-n |
Base name for output files |
--width |
-w |
Target width in pixels |
--height |
-e |
Target height in pixels |
--output |
-o |
Output directory for processed images |
Installation
cargo build --release
License
MIT
Note
This is my first Rust project, built after a long break from programming. Contributions and feedback are welcome.