mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-01 20:42:08 +00:00
* Updates hitbox expander tool to python3 (#52876) * Updates hitbox expander tool to python 3 * Updates hitbox expander tool to python3 Co-authored-by: nemvar <47324920+nemvar@users.noreply.github.com>
14 lines
507 B
Plaintext
Executable File
14 lines
507 B
Plaintext
Executable File
Setup: Install python3 and run install.bat for windows, install.sh for unix.
|
|
Alternatively, you can manually install the Pillow package with
|
|
```
|
|
pip install Pillow
|
|
```
|
|
|
|
Usage: python hitbox_expander.py <path_to_file.dmi or png>
|
|
|
|
This tool expands the hitbox of the given image by 1 pixel.
|
|
Works by changing some of the fully-transparent pixels to alpha=1 black pixels.
|
|
Naked human eye usually cannot notice the difference.
|
|
|
|
No space carps or corgis have been used or injured in the production of this tool.
|