What's New
Added
--trim CLI flag to crop output images to the bounding box of non-transparent pixels
trim_to_content() public function in library API
- 8 new tests for trim functionality covering various edge cases
Changed
- Updated all dependencies via
cargo update
- Migrated from deprecated
assert_cmd::Command::cargo_bin() to cargo::cargo_bin!() macro in tests
- Fixed clippy
items_after_test_module warning by reorganizing lib.rs
Installation
Homebrew (macOS)
brew tap benface/bgone
brew install bgone
Cargo
Checksums (SHA256)
bgone-v0.5.0-aarch64-apple-darwin.tar.gz: 985c34d524bf2b2b0914cb7713b90aa97f0cf0ba6997435524f4903b018b0ff4
bgone-v0.5.0-x86_64-apple-darwin.tar.gz: 0035ba3d74daba367a49005875771cc37884dfde918d2584f98065b0999c7e26