An open API service indexing awesome lists of open source software.

https://github.com/eggplants/xyz2png

Convert .xyz file into .png file
https://github.com/eggplants/xyz2png

Last synced: about 1 year ago
JSON representation

Convert .xyz file into .png file

Awesome Lists containing this project

README

          

# xyz2png

[![PyPI version](

)](

) [![Maintainability](

)](

) [![pre-commit.ci status](

)](

)

[![ghcr latest](

) ![ghcr size](

)](

)

Convert [`.xyz` file](http://justsolve.archiveteam.org/wiki/XYZ_(RPG_Maker)) into `.png` file

_Reimplementation [vn-tools/xyz2png](https://github.com/vn-tools/xyz2png) in Python3._

## Install

```bash
pip install xyz2png
```

```bash
# OR
pipx install xyz2png
```

## Run

```bash
xyz2png
```

## Example

```shellsession
$ 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

```shellsession
$ 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
```