Archived
1
0
Fork
You've already forked vexture
0
No description
This repository has been archived on 2025年10月01日. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • Python 100%
2023年02月28日 00:13:05 +05:30
vexture Remove module usage 2023年02月27日 23:09:17 +05:30
.gitignore e 2023年02月27日 23:09:44 +05:30
README.md Remove module usage 2023年02月27日 23:09:17 +05:30

vexture

Splits textures into smaller segments for use in sprite 3d rendering engines.

Installation

pip install pillow

Usage

python vexture ...
usage: vexture [-h] [--output OUTPUT] --width WIDTH [--height HEIGHT] [--corner-radius CORNER_RADIUS] [--shadow-opacity SHADOW_OPACITY]
 [--shadow-width SHADOW_WIDTH] [--shadow-height SHADOW_HEIGHT]
 image
Split a texture into segments for use in Scratch sprite 3d rendering
positional arguments:
 image
options:
 -h, --help show this help message and exit
 --output OUTPUT Directory to output images into, if not provided then a directory with the image name will be created.
 --width WIDTH The width of each segment.
 --height HEIGHT The height of each segment.
 --corner-radius CORNER_RADIUS
 Radius of rounded corners.
 --shadow-opacity SHADOW_OPACITY
 Opacity of shadow.
 --shadow-width SHADOW_WIDTH
 Width of shadow.
 --shadow-height SHADOW_HEIGHT
 Height of shadow.

Notes

If --height is not given then it is the height of the image, thus resulting in only columns.