Closed KeyboardDanni closed 2 years ago
Thanks for the PR! Looks good.
The 6 -> 8 bit upscaling wasn't clear to me, at first. I understand it now, but it's not obvious. I'll add a comment and then put it in the next release.
Yeah, it's the same bit shifting logic used by Aseprite itself, so I just wanted to make sure it was consistent.
If an indexed image is saved in Aseprite and it has a palette with exactly 256 colors with no alpha in any of them, only the old palette chunk (0x0004) is saved into the file. This makes those files fail to parse in asefile. This adds logic to parse the old palette chunks so that such files will load properly.