3 releases (breaking)
Uses old Rust 2015
0.3.0 | Jun 29, 2018 |
---|---|
0.2.0 | Mar 9, 2018 |
0.1.0 | Mar 9, 2018 |
#29 in #transparent
6KB
80 lines
alpha-bleeder
A tool that "bleeds" the alpha of an image out into transparent pixels. This stops artifacts from appearing when the image is resized.
Other tools that do this:
- This GIMP plugin
- urraka/alpha-bleeding
- I'm sure there are others!
Install this with:
$ cargo install alpha-bleeder
Then run it as:
$ alpha-bleeder <input> <output>
Dependencies
~3.5MB
~58K SLoC