根据spine导出文件反向自动切图工具。
Intro
Screenshot
For what use?
-
Parse
spine(h5 animation editor)
atlas(libgdx atlas format) to JSON format. -
Cut spine atlas to slices by
.atlas
&.png
files. -
Crop image with
x,y,width,height
in batch.
Usage
To clone and run this repository you’ll need Git and Node.js (which comes with npm) installed on your computer. From your command line:
# Clone this repository
git clone https://github.com/koalaylj/reverse-atlas
# Go into the repository
cd reverse-atlas
# Install dependencies and run the app
npm install && npm start
Quick start
-
Fill the
src
folder anddest
fold then clickstart
button. -
src
must beglob
path style.example:
/your/path/example/**/[^~$]*.atlas
How
new Image()
--> canvas.drawImage(image,x,y,w,h)
--> canvas.toDataUrl()
--> save it with base64
code.
At last
mac & pc portable package on the air. 有问题可以QQ群内讨论:223460081
MIT License