/alphableed

Pure-nim implementation of alpha bleeding.

Primary LanguageNimMIT LicenseMIT

Alphableed

A simple, pure-nim implementation of alpha bleeding. Credit to urraka for the algorithm used in this, which was taken from this repository.

Installation

Assuming you have Nim installed, simply run nimble install.

Usage

bleedalpha [input] [output]

[input] must be a valid PNG image file, and output must be a valid file location.

Similarly to the urraka's implementation, a alpha remover (rmalpha) is also provided. Like bleedalpha, it takes an input and output with the same constraints.