alphafix 0.1.1

CLI & file explorer tool to bleed colors to transparent pixels for game engines
Documentation
  • Coverage
  • 0%
    0 out of 4 items documented0 out of 3 items with examples
  • Size
  • Source code size: 66.75 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.71 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 44s Average build duration of successful builds.
  • all releases: 44s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • henry-shaw-g

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