Skip to main content

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)

Source distribution for pillow-mbm 0.2.0
File Size Uploaded
pillow_mbm-0.2.0.tar.gz 22.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pillow-mbm 0.2.0
File Interpreter ABI Platform
pillow_mbm-0.2.0-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page