# xyz2png
[![PyPI version](
<https://badge.fury.io/py/xyz2png.svg>
)](
<https://badge.fury.io/py/xyz2png>
) [![Maintainability](
<https://api.codeclimate.com/v1/badges/3f5110d732ac79473f80/maintainability>
)](
<https://codeclimate.com/github/eggplants/xyz2png/maintainability>
) [![pre-commit.ci status](
<https://results.pre-commit.ci/badge/github/eggplants/xyz2png/master.svg>
)](
<https://results.pre-commit.ci/latest/github/eggplants/xyz2png/master>
)
[![ghcr latest](
<https://ghcr-badge.deta.dev/eggplants/xyz2png/latest_tag?trim=major&label=latest>
) ![ghcr size](
<https://ghcr-badge.deta.dev/eggplants/xyz2png/size>
)](
<https://github.com/eggplants/xyz2png/pkgs/container/xyz2png>
)
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 <target dir> <output dir>
```
## 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
```
Raw data
{
"_id": null,
"home_page": "https://github.com/eggplants/xyz2png",
"name": "xyz2png",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.9",
"maintainer_email": null,
"keywords": null,
"author": "eggplants",
"author_email": "w10776e8w@yahoo.co.jp",
"download_url": "https://files.pythonhosted.org/packages/f9/4c/0dd3b6056d8f84775d7c34748bbec72fefe9561a9340f0b2e9d7bec793ea/xyz2png-0.0.1.tar.gz",
"platform": null,
"description": "# xyz2png\n\n[![PyPI version](\n <https://badge.fury.io/py/xyz2png.svg>\n )](\n <https://badge.fury.io/py/xyz2png>\n) [![Maintainability](\n <https://api.codeclimate.com/v1/badges/3f5110d732ac79473f80/maintainability>\n )](\n <https://codeclimate.com/github/eggplants/xyz2png/maintainability>\n) [![pre-commit.ci status](\n <https://results.pre-commit.ci/badge/github/eggplants/xyz2png/master.svg>\n )](\n <https://results.pre-commit.ci/latest/github/eggplants/xyz2png/master>\n)\n\n[![ghcr latest](\n <https://ghcr-badge.deta.dev/eggplants/xyz2png/latest_tag?trim=major&label=latest>\n ) ![ghcr size](\n <https://ghcr-badge.deta.dev/eggplants/xyz2png/size>\n)](\n <https://github.com/eggplants/xyz2png/pkgs/container/xyz2png>\n)\n\nConvert [`.xyz` file](http://justsolve.archiveteam.org/wiki/XYZ_(RPG_Maker)) into `.png` file\n\n_Reimplementation [vn-tools/xyz2png](https://github.com/vn-tools/xyz2png) in Python3._\n\n## Install\n\n```bash\npip install xyz2png\n```\n\n```bash\n# OR\npipx install xyz2png\n```\n\n## Run\n\n```bash\nxyz2png <target dir> <output dir>\n```\n\n## Example\n\n```shellsession\n$ ls FooBar/GameFiles/Picture/*.xyz\nFooBar/GameFiles/Picture/foo1.xyz FooBar/GameFiles/Picture/bar1.xyz\n\n$ xyz2png FooBar/GameFiles/Picture output_images\nDone.\n\n$ ls output_images\nfoo1.png bar1.png\n```\n\n## Help\n\n```shellsession\n$ xyz2png -h\nusage: xyz2png [-h] [-o] [-V] IN OUT\n\nConvert .xyz file into .png file.\n\npositional arguments:\n IN directory of xyz files\n OUT directory to output png files\n\noptions:\n -h, --help show this help message and exit\n -o, --overwrite overwrite if png file exists\n -V, --version show program's version number and exit\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Convert .xyz file into .png file",
"version": "0.0.1",
"project_urls": {
"Homepage": "https://github.com/eggplants/xyz2png",
"Repository": "https://github.com/eggplants/xyz2png"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "bc2f0d2be4aca3758601bbdc49ce70e5835af22c02b3555e162bb1faaa21f3ab",
"md5": "3fb07c7c996a16812dfad5c67e0167fd",
"sha256": "0b4460d40575205771827aaf786dac88f874860da0a5846910c7763253e8ed07"
},
"downloads": -1,
"filename": "xyz2png-0.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "3fb07c7c996a16812dfad5c67e0167fd",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.9",
"size": 4202,
"upload_time": "2024-03-30T18:52:35",
"upload_time_iso_8601": "2024-03-30T18:52:35.072477Z",
"url": "https://files.pythonhosted.org/packages/bc/2f/0d2be4aca3758601bbdc49ce70e5835af22c02b3555e162bb1faaa21f3ab/xyz2png-0.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "f94c0dd3b6056d8f84775d7c34748bbec72fefe9561a9340f0b2e9d7bec793ea",
"md5": "a3a0d28e19200e5530d5b30f314891ec",
"sha256": "fe80f2f51cb8d717ab2005d408cbb62ac3d9748a162714725be8078b2002f536"
},
"downloads": -1,
"filename": "xyz2png-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "a3a0d28e19200e5530d5b30f314891ec",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.9",
"size": 3348,
"upload_time": "2024-03-30T18:52:36",
"upload_time_iso_8601": "2024-03-30T18:52:36.553800Z",
"url": "https://files.pythonhosted.org/packages/f9/4c/0dd3b6056d8f84775d7c34748bbec72fefe9561a9340f0b2e9d7bec793ea/xyz2png-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-30 18:52:36",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "eggplants",
"github_project": "xyz2png",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "xyz2png"
}