Ase Sprite
data class AseSprite(val width: Int, val height: Int, val palette: List<Int>, val layers: List<AseLayer>, val frames: List<AseFrame>, val transparentIndex: Int = 0, val tags: List<AseTag> = emptyList())
An indexed-colour Aseprite sprite: the subset of the .ase format Roto writes and reads.
palette holds up to 256 Argb colours; every cel index must point into it. transparentIndex is the palette entry Aseprite and LibreSprite treat as transparent on non-background layers. layers are listed bottom to top, the way the format stores them.