Function bleed_opaque_color

Source
fn bleed_opaque_color(img: ImgRef<'_, RGBA8>, bg: RGBA8) -> Img<Vec<RGBA8>>
Expand description

copy color from opaque pixels to transparent pixels (so that when edges get crushed by compression, the distortion will be away from visible edge)