Utility that simplifies the process of creating desaturation steps of sprites for the Knytt Stories level editor.
Table of Contents
- Download repository as zip.
- Unpack zip into folder.
- Enter folder.
Run the following command: :
$ pip install .
Generated output from the command-line argument ksdesaturation --help
.
usage: ksdesaturation [-h] [-s [2-255]] input output
Desaturate images in a given directory based on the naming convention of Knytt
Stories. Any image matching the naming convention will be desaturated five
steps from full-color to black-white. The number at the end of the filename
will be incremented by one for each step. If there is an overlap in names they
will simply be written over so make sure that the names have enough separation
in their number intervals.
positional arguments:
input directory to look for image to desaturate
output directory to store the desaturated images, the path
will match that given from input except with the given
directory as root, directories will be created if they
don't exist
optional arguments:
-h, --help show this help message and exit
-s [2-255], --steps [2-255]
number of desaturation steps for each input image,
defaults to 5