Metadata-Version: 2.4
Name: pyzta
Version: 0.10.2
Summary: Python bindings for ztalib
Author-Email: Eric Galvan <contact@goosifer.io>
License-Expression: MIT
License-File: LICENSE
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: C++
Classifier: Operating System :: OS Independent
Project-URL: Homepage, https://ztalib.goosifer.io/
Project-URL: Repository, https://github.com/GoosiferIO/ztalib
Project-URL: Issues, https://github.com/GoosiferIO/ztalib/issues
Project-URL: Changelog, https://github.com/GoosiferIO/ztalib/releases
Project-URL: Discord, https://discord.gg/g5FvNrRQGC
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# ztalib

This is an image parsing library for Zoo Tycoon 1 animation graphics.

For complete documentation: https://ztalib.goosifer.io

# Install

The easiest way to start using ztalib is to use the Python bindings, which are available on PyPI as `pyzta`:

```bash
pip install pyzta
```

Then, in your Python code, you can import the library as so:

```python
from pyzta import ZtaF
zta = ZtaF()
animation = zta.load("path/to/animation")
buffer = zta.getFrameBuffer()
```

See [the example project](https://ztalib.goosifer.io/example/pngexporter/) to see it in action, or check out the [API reference](https://ztalib.goosifer.io/reference/ztaf/) for more details on how to use the library.

## Compile from source

If you want to use the library in a C++ project, or if you want to contribute to the development of ztalib, you can compile it from source. First, make sure you have CMake installed on your system. For further instructions, see the [compile guide](https://ztalib.goosifer.io/compile/).

# Acknowledgements

Thank you to Jeff Bostoen for his documentation on the ZT1 file formats:
https://github.com/jbostoen/ZTStudio/wiki/ZT1-Graphics-Explained
