#pixel #color #transparent #image #file #opaque #output-image

bin+lib alphafix

CLI & file explorer tool to bleed colors to transparent pixels for game engines

1 unstable release

0.1.0 May 11, 2023

#1475 in Game dev

25 downloads per month

MIT/Apache

39KB
282 lines

alphafix

Tool to bleed opaque pixel color into transparent pixels. Designed with producing images for the Robox platform in mind.

Installation

The package can be installed and built to a binary with cargo

cargo install alphafix

TODO: complete release workflow with github action to provide archive binaries for tools like Aftman.
Alphafix can be built from source by cloning the repository and building using a rust toolchain.

Usage

Call alphafix and provide paths to the images you want to be modified. The output images by default will be appended with _fixed

alphafix resources/blue_circle.png resources/green_triangle.png

TODO: support for glob file references

Options

--dir=<path> : specify target directory where the output images will be stored
--append=<str> : name to append to file name output images, will override the default _fixed
--auto : run command automatically, with no user input (for automated processes). By default, the program does prompt on exit to support drag and drop

Dependencies

~15MB
~96K SLoC