Skip to main content

Convert .xyz file into .png file

Project description

xyz2png

PyPI version Maintainability pre-commit.ci status

ghcr latest ghcr size

Convert .xyz file into .png file

Reimplementation vn-tools/xyz2png in Python3.

Install

pip install xyz2png
# OR
pipx install xyz2png

Run

xyz2png <target dir> <output dir>

Example

$ ls FooBar/GameFiles/Picture/*.xyz
FooBar/GameFiles/Picture/foo1.xyz    FooBar/GameFiles/Picture/bar1.xyz

$ xyz2png FooBar/GameFiles/Picture output_images
Done.

$ ls output_images
foo1.png    bar1.png

Help

$ xyz2png -h
usage: xyz2png [-h] [-o] [-V] IN OUT

Convert .xyz file into .png file.

positional arguments:
  IN               directory of xyz files
  OUT              directory to output png files

options:
  -h, --help       show this help message and exit
  -o, --overwrite  overwrite if png file exists
  -V, --version    show program's version number 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

xyz2png-0.0.1.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

xyz2png-0.0.1-py3-none-any.whl (4.2 kB view hashes)

Uploaded Python 3

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