Convert .xyz
file into .png
file
Reimplementation vn-tools/xyz2png in Python3.
pip install xyz2png
# OR
pipx install xyz2png
xyz2png <target dir> <output dir>
$ 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
$ 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