# ๐ผ๏ธ Belilo ๐งผ






[](https://github.com/Inc44/belilo/issues?q=is%3Aopen+is%3Aissue)

[](https://github.com/Inc44/belilo/releases)
[](https://github.com/sponsors/Inc44)
Belilo, which translates to 'whitewasher' in Russian, is a useful tool created with โค๏ธ using Rust. It quickly whitens images, providing a clean, uniform appearance. It's fast, efficient, and precise.
## โ๏ธ Features
- ๐ Fast image whitening powered by [Rayon](https://crates.io/crates/rayon).
- ๐ผ๏ธ Supports many image formats (BMP, GIF, JPEG, PNG, QOI, TGA, and WEBP).
- ๐๏ธ Batch process multiple images at once.
- ๐ Organized output to keep trimmed images together.
- ๐ ๏ธ Easy-to-use command-line interface.
## โ ๏ธ Disclaimers
Input images with zero width or height (0x0) are skipped entirely, as according to image standards supported by this tool, they are not valid images by definition.
## ๐ Installation from crates.io
```bash
cargo install belilo
```
## ๐ ๏ธ Build from Source
```bash
git clone https://github.com/Inc44/belilo.git
cd belilo
cargo build --release
```
## ๐ฆ Publish
```bash
cargo publish
```
## ๐ Usage Example
```bash
cargo run --release <input_paths>... [options]
```
Or
```bash
belilo <input_paths>... [options]
```
## ๐จ Command-Line Arguments
| `<input_paths>` | Paths to the input images or directories (required) |
| `-o, --override` | Override the input image instead of creating a new one |
| `-k, --keep` | Keep modification time |
| `-t, --threshold <value>` | Threshold for whitening (0-255) (default: 220) |
## ๐ Bugs
Not yet found.
## โ Known Limitations
Not yet known.
## ๐ Thanks
Creators of:
- [Rust](https://www.rust-lang.org)
- [clap](https://github.com/clap-rs/clap)
- [filetime](https://github.com/alexcrichton/filetime)
- [Image](https://github.com/image-rs/image)
- [Rayon](https://github.com/rayon-rs/rayon)
- [walkdir](https://github.com/BurntSushi/walkdir)
## ๐ค Contribution
Contributions, suggestions, and new ideas are heartily welcomed. If you're considering significant modifications, please initiate an issue for discussion before submitting a pull request.
## ๐ License
[](https://opensource.org/licenses/MIT)
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
## ๐ Support
[](https://buymeacoffee.com/xamituchido)
[](https://ko-fi.com/inc44)
[](https://www.patreon.com/Inc44)