Pillow-mbm
Pillow-mbm is a plugin for pillow that adds support for KSP's proprietary MBM texture format.
test/swis_mesh.mbm from Coatl redistributed under CC-BY-NC-SA 4.0
Installation
Install and update with pip:
$ pip install -U pillow-mbm
Or with uv:
$ uv tool 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.
Metadata
Release files for pillow-mbm 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pillow_mbm-0.2.0.tar.gz | 22.3 kB | Without provenance | Details for pillow_mbm-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pillow_mbm-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for pillow_mbm-0.2.0-py3-none-any.whl |
Total release size: 31.8 kB
Release files / pillow_mbm-0.2.0.tar.gz
| Download URL | pillow_mbm-0.2.0.tar.gz |
|---|---|
| Size | 22.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
264ec2797f8b0847e95ce242bc79091f7ae05a3968bb39fa3ca7f35982af8c6b
|
|
BLAKE2b-256 checksum How to use checksums |
1a01873815004363ab23f945ff52776554494c8ada91148b4224d818bfacdc5f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.2
|
Release files / pillow_mbm-0.2.0-py3-none-any.whl
| Download URL | pillow_mbm-0.2.0-py3-none-any.whl |
|---|---|
| Size | 9.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1e1277371952777fc8b896346974f3bbb7e768674e6dea662da767e4a5b9b1ef
|
|
BLAKE2b-256 checksum How to use checksums |
cbf6c9cf77ae7a69041c78da513c6e4359fa309a6b98944ab8b871089460a7a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.2
|
Security for pillow-mbm 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.