A tool used to fix white border issues by doing alpha bleeding.
Similar project:
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 alpha_bleeding::alpha_bleeding;
alpha_bleeding("origin.png", "fixed.png");