Atlas 图片拆解工具脚本
Requirements
- Python (带有 pip)
- Pillow
安装
$ sudo easy_install pip
$ pip install Pillow
使用方法
将 test.atlas
和 test.png
放在同一目录下,运行脚本会生成一个名为 test
的文件夹:
$ atlascutter.py test
或者
$ atlascutter.py test.atlas
注意:确保 test.atlas
和 test.png
文件名相对应。