This is an image parsing library for Zoo Tycoon 1 animation graphics.
For complete documentation: https://ztalib.goosifer.io
The easiest way to start using ztalib is to use the Python bindings, which are available on PyPI as pyzta:
pip install pyztaThen, in your Python code, you can import the library as so:
from pyzta import ZtaF
zta = ZtaF()
animation = zta.load("path/to/animation")
buffer = zta.getFrameBuffer()See the example project to see it in action, or check out the API reference for more details on how to use the library.
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.
Thank you to Jeff Bostoen for his documentation on the ZT1 file formats: https://github.com/jbostoen/ZTStudio/wiki/ZT1-Graphics-Explained