Skip to content

sssooonnnggg/alpha_bleeding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alpha bleeding

A tool used to fix white border issues by doing alpha bleeding.

Similar project:

Use as a CLI

Usage: alpha_bleeding [INPUT] [OUPTUT]

Arguments:
    [INPUT] The path of the image to be fixed.
    [OUTPUT] The path where the fixed image will be saved. If an output path is not provided, the original input image will be replaced with the fixed one.

Use as a library

use alpha_bleeding::alpha_bleeding;
alpha_bleeding("origin.png", "fixed.png");