pillow-mbm


Namepillow-mbm JSON
Version 0.2.0 PyPI version JSON
download
home_pageNone
SummaryKerbal Space Program MBM file conversion plugin
upload_time2025-10-23 07:21:21
maintainerNone
docs_urlNone
authorNone
requires_python>=3.10
licenseNone
keywords pillow pil mbm texture ksp
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Pillow-mbm
Pillow-mbm is a plugin for [pillow](https://pillow.readthedocs.io/en/stable/) 
that adds support for KSP's proprietary MBM texture format.

test/swis_mesh.mbm from [Coatl](https://forum.kerbalspaceprogram.com/topic/131145-wip-coatl-aerospace-probesplus-dev-thread-beta-10192020-18-110/) redistributed under CC-BY-NC-SA 4.0

## Installation

Install and update with [pip](https://pip.pypa.io/en/stable/getting-started/):

```shell
$ pip install -U pillow-mbm
```

Or with [uv](https://docs.astral.sh/uv/getting-started/):

```shell
$ 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.
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "pillow-mbm",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "pillow, PIL, MBM, Texture, KSP",
    "author": null,
    "author_email": "Andrew Cassidy <drewcassidy@me.com>",
    "download_url": "https://files.pythonhosted.org/packages/1a/01/873815004363ab23f945ff52776554494c8ada91148b4224d818bfacdc5f/pillow_mbm-0.2.0.tar.gz",
    "platform": null,
    "description": "# Pillow-mbm\nPillow-mbm is a plugin for [pillow](https://pillow.readthedocs.io/en/stable/) \nthat adds support for KSP's proprietary MBM texture format.\n\ntest/swis_mesh.mbm from [Coatl](https://forum.kerbalspaceprogram.com/topic/131145-wip-coatl-aerospace-probesplus-dev-thread-beta-10192020-18-110/) redistributed under CC-BY-NC-SA 4.0\n\n## Installation\n\nInstall and update with [pip](https://pip.pypa.io/en/stable/getting-started/):\n\n```shell\n$ pip install -U pillow-mbm\n```\n\nOr with [uv](https://docs.astral.sh/uv/getting-started/):\n\n```shell\n$ uv tool install pillow-mbm\n```\n\n## Usage\n\nTo decode MBM files, use the `convert-mbm` command, along with a glob or a\nlist of files to decode. By default, it will convert to png in place.\n\n```\nUsage: convert-mbm [OPTIONS] [FILENAMES]...\n\n  Decode Kerbal Space Program MBM files\n\nOptions:\n  -f, --flip / -F, --no-flip  Vertically flip image after converting.\n  -r, --remove                Remove input images after converting.\n  -s, --suffix TEXT           Suffix to append to output file(s). Ignored if\n                              output is a single file.\n\n  -x, --extension TEXT        Extension to use for output. Ignored if output\n                              is a single file. Output filetype is deduced\n                              from this  [default: .png]\n\n  -o, --output PATH           Output file or directory. If outputting to a\n                              file, input filenames must be only a single\n                              item. By default, files are decoded in place.\n\n  --version                   Show the version and exit.\n  --help                      Show this message and exit.\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Kerbal Space Program MBM file conversion plugin",
    "version": "0.2.0",
    "project_urls": {
        "Changelog": "https://git.offworldcolonies.nexus/drewcassidy/pillow-mbm/src/branch/main/CHANGELOG.md",
        "Forum Post": "https://forum.kerbalspaceprogram.com/index.php?/topic/201606-quicktex-dds-texture-encoderdecoder/&do=findComment&comment=395303",
        "Source": "https://git.offworldcolonies.nexus/drewcassidy/pillow-mbm"
    },
    "split_keywords": [
        "pillow",
        " pil",
        " mbm",
        " texture",
        " ksp"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "cbf6c9cf77ae7a69041c78da513c6e4359fa309a6b98944ab8b871089460a7a1",
                "md5": "8fdaecaa9c33d46a1d13839b30d98429",
                "sha256": "1e1277371952777fc8b896346974f3bbb7e768674e6dea662da767e4a5b9b1ef"
            },
            "downloads": -1,
            "filename": "pillow_mbm-0.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8fdaecaa9c33d46a1d13839b30d98429",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 9487,
            "upload_time": "2025-10-23T07:21:20",
            "upload_time_iso_8601": "2025-10-23T07:21:20.139574Z",
            "url": "https://files.pythonhosted.org/packages/cb/f6/c9cf77ae7a69041c78da513c6e4359fa309a6b98944ab8b871089460a7a1/pillow_mbm-0.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "1a01873815004363ab23f945ff52776554494c8ada91148b4224d818bfacdc5f",
                "md5": "6ac823103d77a7abb1f6ebc7b228bb74",
                "sha256": "264ec2797f8b0847e95ce242bc79091f7ae05a3968bb39fa3ca7f35982af8c6b"
            },
            "downloads": -1,
            "filename": "pillow_mbm-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "6ac823103d77a7abb1f6ebc7b228bb74",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 22298,
            "upload_time": "2025-10-23T07:21:21",
            "upload_time_iso_8601": "2025-10-23T07:21:21.066739Z",
            "url": "https://files.pythonhosted.org/packages/1a/01/873815004363ab23f945ff52776554494c8ada91148b4224d818bfacdc5f/pillow_mbm-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-10-23 07:21:21",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "pillow-mbm"
}
        
Elapsed time: 0.50440s