Can I use aseprite? I mean there it is opensource, you can find it's code on git, devs posted it :|
If it is open source you can use it.