https://github.com/setanarut/aseprite
Aseprite file parser
https://github.com/setanarut/aseprite
Last synced: 5 months ago
JSON representation
Aseprite file parser
- Host: GitHub
- URL: https://github.com/setanarut/aseprite
- Owner: setanarut
- License: mit
- Created: 2026-02-07T23:18:28.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2026-02-09T23:24:37.000Z (6 months ago)
- Last Synced: 2026-02-10T02:23:46.970Z (6 months ago)
- Language: Go
- Homepage: https://pkg.go.dev/github.com/setanarut/aseprite
- Size: 32.2 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://pkg.go.dev/github.com/setanarut/aseprite)
[](https://goreportcard.com/report/github.com/setanarut/aseprite)
[](https://coveralls.io/github/setanarut/aseprite?branch=main)
# aseprite
Aseprite file parser/decoder in Go
Layers are not flattened, but this can be done with external Go image processing packages. The opacity and blending mode information of each layer and Cel is available. See [quick example](_examples/parser/main.go).
## Chunk Types
Available chunks.
- [x] Layer Chunk (0x2004)
- [x] Cel Chunk (0x2005)
- [x] Tileset Chunk (0x2023)
- [x] Tags Chunk (0x2018)
- [x] User Data Chunk (0x2020)
- [x] Slice Chunk (0x2022)
- [x] Old palette chunk (0x0004)
- [x] Old palette chunk (0x0011)
- [x] Palette Chunk (0x2019)
- [x] Color Profile Chunk (0x2007)
The following chunks are not currently supported in this package.
- [ ] Cel Extra Chunk (0x2006)
- [ ] External Files Chunk (0x2008)
- [ ] Mask Chunk (0x2016) DEPRECATED
- [ ] Path Chunk (0x2017)