Layered animation export/import

Fazekas László mneko at
Mon Feb 22 19:38:50 UTC 2016

Hi Dmitry,

I've downloaded the Krita source and now I'm trying to understand it.

First of all, my system (Ubuntu 14.04) seems won't be able to compile 
Krita. A lot of things are missing (extra-cmake-modules, KF5 parts). 
What is the recommended environment to compile this monster? Is it worth 
to try it on 14.04? Also, if there is any good source of api 
documentation about QT5 and Krita please tell me. Thanks.

I checked how could be possible to export into the CSV format. I have no 
idea about the importing side yet. Blender's Python plugin system was 
better, it's very easy to use.

The animation export in Krita goes through the kis_animaton_exporter.cpp 
code. As I understand, there is only one hardwired option now: it loops 
through the frames of the timeline, makes merged snapshots and saves the 
pictures, probably with the image exporters from the plugins/impex folder.

For the CSV format, this is not usable, an image export plugin is not 
enough (or it can be, but that's a very ugly hack). The exporter must go 
through each of the layers separately, while saving pictures only at the 
key frames. Additional information, like the layer's name, blending 
mode, and transparency is also required.

Maybe the actual export system should move into a kind of animation 
export plugin, with the possibility to use other plugins too. Or it can 
remain in the library part, but with an option for this different 
parsing mode. Either way, the CSV export is much easier then. I can 
think about other formats with this layered exporting logic, like: 
Flash, or Kdenlive (or other) video editor formats.


2016-02-20 19:18 keltezéssel, Dmitry Kazakov írta:
> Hi, Fazekas!
> Thank you very much for your mail. The format you suggest is really
> interesting, I guess we should really have it in Krita. I have only one
> question actually:
> 1) Is there any official docs on the file format? I didn't understant only
> one field: "Field Mode". The only link I found is this [0]. But it doesn't
> have a progressive mode...
> [0] -
> PS:
> Btw, I you like, you can implement a plugin for Krita yourself. We already
> have a PNG export/import, we just need to save the proper CSV :) I will
> have time for that at the best in the end of April... :(
> _______________________________________________
> Krita mailing list
> kimageshop at

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the kimageshop mailing list