1 unstable release
0.1.0 | Oct 17, 2023 |
---|
#34 in #roblox
11KB
200 lines
pixel-fix-rs
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:
- Make your images
- Select them all and drag them on to the pixelfix executable. The pixelfix executable will overwrite the original images with fixed copies.
- Make sure there were no errors and close the console window
- 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
- Fork the repository.
- Create a new branch for your feature or bug fix:
git checkout -b feature/your-feature
. - Make your changes and commit them with meaningful messages.
- Push your branch to your fork:
git push origin feature/your-feature
. - 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