An open API service indexing awesome lists of open source software.

https://github.com/setanarut/aseprite

Aseprite file parser
https://github.com/setanarut/aseprite

Last synced: 5 months ago
JSON representation

Aseprite file parser

Awesome Lists containing this project

README

          

[![GoDoc](https://godoc.org/github.com/setanarut/aseprite?status.svg)](https://pkg.go.dev/github.com/setanarut/aseprite)
[![Go Report Card](https://goreportcard.com/badge/github.com/setanarut/aseprite)](https://goreportcard.com/report/github.com/setanarut/aseprite)
[![Coverage Status](https://coveralls.io/repos/github/setanarut/aseprite/badge.svg?branch=main)](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)