#roblox #pixelfix #pixel-fix

app pixel-fix-rs

A utility to fix alpha in images for Roblox!

1 unstable release

0.1.0 Oct 17, 2023

#34 in #roblox

Custom license

11KB
200 lines

pixel-fix-rs

 
Actions status Latest version

pixel-fix-rs is a rust port of the popular utility "Pixelfix". This utility is designed to change the colors of completely transparent pixels in an image to match the color of the nearest non-transparent pixel.

More Information:

  • You can find extra information at the original tools respository here

Designed to be a quick drag-and-drop tool:

  1. Make your images
  2. Select them all and drag them on to the pixelfix executable. The pixelfix executable will overwrite the original images with fixed copies.
  3. Make sure there were no errors and close the console window
  4. Use or upload your images. Your images should now look fine when resized.

Table of Contents

Getting Started

Installing from Github

  • Download the latest version from here!

Installing from crates

$ cargo install pixel-fix

Building from source

$ git clone https://github.com/Nexure/pixel-fix-rs
$ cd pixel-fix-rs
$ cargo install --path .

Usage

$ pixel-fix-rs [input_files_or_dirs] [-d]
  • input_files_or_dirs: A list of files or directories to convert
  • -d: Enables debug mode for the file output

Examples

Running with only a single file

$ pixel-fix-rs input.png

Running with multiple files

$ pixel-fix-rs input1.png input2.png input3.png

Running with a directory

$ pixel-fix-rs input_directory

Contributing

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix: git checkout -b feature/your-feature.
  3. Make your changes and commit them with meaningful messages.
  4. Push your branch to your fork: git push origin feature/your-feature.
  5. Create a pull request to the main repository.

License

This project is licensed under the MIT - see the LICENSE file for details.

Dependencies

~9–16MB
~154K SLoC