My Import/Export plugin (SVG, Telegram Sticker, Lottie, dotLottie)

I already have seen it but I couldn’t figure out how to “activate” for instance Lottie export as all <exec> point to tsg-exporter.py and not Lottie…

Please, could you show me how to activate Lottie so that I can figure it out?

thanks

I think I may found my mistake: once installed the plugin, when you want to export your animation, instead of going to menu Plug-ins / Export Telegram Sticker, you should directly go to File / Export... and select the new options labeled with [pylot].

.

Is that the correct way to export (and therefore import as well)?

yes

(typing more nonsense otherwise I can’t post o_O)

1 Like

Hi @Glax,

Sorry for bothering you again, I have some questions regarding Synfig to Lottie export:

  1. Does text layer work? it doesn’t for me (even tried your baseline.sifexample… is that well known or a bug?

  2. Another odd behavior I found is that circle and star layers somehow depends on canvas “image span” size to define their final size but for instance rectangle and region ones doesn’t. Is that normal?

Synfig editor looks like the following (check that rectangle doesn’t get scaled):

Canvas with image span = 24.4767 exports as:

Canvas with image span = 12.0680 exports as:

Canvas with image span = 10.0000 exports as:

Thanks

I haven’t worked on the synfig to lottie in a long while, I think I made it before I knew how text layers work. It’s definitely possible to support them but it would need to be implemented.

I’m not sure about the size of the circle and such, maybe just a bug.

1 Like

Hello Mattia. Great job with the plugin. I would like to know what you think. Do you think it is important that the plugin exports each frame of the animation in sequence of svg images? I consider that everything that helps to preserve an animation beyond the limitation of the pixels is important. Many have told me that it doesn’t make sense because compositing programs don’t work with svg sequences and few animation programs do. The only animation program I know of that imports svg image sequences is Tupitube.desk. I would like the function to import and export to sequence of images in svg to exist.

1 Like