Skip to main content

Kerbal Space Program MBM file conversion plugin

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


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.3.tar.gz (18.3 kB view details)

Uploaded Source

Built Distribution

pillow_mbm-0.1.3-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

Details for the file pillow-mbm-0.1.3.tar.gz.

File metadata

  • Download URL: pillow-mbm-0.1.3.tar.gz
  • Upload date:
  • Size: 18.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

File hashes

Hashes for pillow-mbm-0.1.3.tar.gz
Algorithm Hash digest
SHA256 ca9ab79671122d5f61a2e8649a1838c37b60abfdcb8bf6df3f6e16ed58b5fe19
MD5 ee946f47dc58d1541a5f17038953f9cb
BLAKE2b-256 570af3e65874b53bd3473ec144f190ee37c748c05490892856acb7a5dab561da

See more details on using hashes here.

File details

Details for the file pillow_mbm-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: pillow_mbm-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 16.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

File hashes

Hashes for pillow_mbm-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1b4c3217aad8a9651d75ae27d72fb52ae327a633975b6fe9bc9bb9daaa90b497
MD5 5fcd651d4802e4054e3b81bc609f560f
BLAKE2b-256 7addc4ec507110a6758e0a87ce51d12fea36d82ee32e88ae5cc494b8836477fe

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page