Skip to main content

Kerbal Space Program MBM 文件转换插件

项目描述

枕头-mbm

Pillow-mbm 是一个枕头插件 ,增加了对 KSP 专有的 MBM 纹理格式的支持。

安装

要从 Pypi 安装,请运行:

python -m pip install pillow-mbm

用法

要解码 MBM 文件,请使用该convert-mbm命令以及要解码的 glob 或文件列表。默认情况下,它将就地转换为 png。

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.

项目详情


下载文件

下载适用于您平台的文件。如果您不确定要选择哪个,请了解有关安装包的更多信息。

源分布

枕头-mbm-0.1.3.tar.gz (18.3 kB 查看哈希)

已上传 source

内置分布

pillow_mbm-0.1.3-py3-none-any.whl (16.6 kB 查看哈希)

已上传 py3