A pillow plugin that adds support for KSP's MBM textures
Project description
Pillow-mbm
Pillow-mbm is a plugin for pillow that adds support for KSP's proprietary MBM texture format.
Installation
To install from Pypi, run:
python -m pip install pillow-mbm
Usage
To decode MBM files, use the convert-mbm
command, along with a glob or a
list of files to decode. By default, it will convert to png in place.
Usage: convert-mbm [OPTIONS] [FILENAMES]...
Decode Kerbal Space Program MBM files
Options:
-f, --flip / -F, --no-flip Vertically flip image after converting.
-r, --remove Remove input images after converting.
-s, --suffix TEXT Suffix to append to output file(s). Ignored if
output is a single file.
-x, --extension TEXT Extension to use for output. Ignored if output
is a single file. Output filetype is deduced
from this [default: .png]
-o, --output PATH Output file or directory. If outputting to a
file, input filenames must be only a single
item. By default, files are decoded in place.
--version Show the version and exit.
--help Show this message and exit.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pillow-mbm-0.1.1.tar.gz
(15.7 kB
view hashes)
Built Distribution
pillow_mbm-0.1.1-py3-none-any.whl
(16.4 kB
view hashes)
Close
Hashes for pillow_mbm-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8fa28fd0cb406ea9645d797459c477f5dcc59cf60a19deb29839f5eae5ff1c9e |
|
MD5 | 2ed525b7a6ee14a60f08c953d37eca8b |
|
BLAKE2b-256 | 9ab4788fdf56652a11b91eb39acc958e428be3f400c04f92421ba09bbdeaccea |