#pixel #image #non-transparent #stop #artifact

app alpha-bleeder

Bleeds color from non-transparent pixels to the surrounding transparent pixels

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

#33 in #stop

MIT license

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:

Install this with:

$ cargo install alpha-bleeder

Then run it as:

$ alpha-bleeder <input> <output>

Dependencies

~4MB
~67K SLoC