What image format do .KRA files use for layers?

Oooh, yeah! Data’s stripped. Almost forgot about that while writing my writer… Could’ve gone entirely wrong :sweat_smile:

So I made a Node project that generates animations onto .KRA file. I completely have no idea how am I going to implement tiling and LZF compression. I’ll probably compress it by the help of a lib, but I’m still thinking about tiling. Here’s the link to my Github repo of my project if anyone’s interested.

WARNING: Does not work.

I think the issue is that the tiles aren’t 64x64, because when I changed the metadata to say the titles are 64x64 and that there’s 64×64×4 uncompressed data, it sort of worked, but there was only one frame (I think) and there was a 64x64 half-transparent gray square in the top left of the animation.

1 Like