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

**URL:** https://forums.synfig.org/t/my-import-export-plugin-svg-telegram-sticker-lottie-dotlottie/10929
**Category:** Plugins
**Tags:** import, svg, lottie
**Created:** [April 29, 2020, 6:16pm UTC](https://forums.synfig.org/t/my-import-export-plugin-svg-telegram-sticker-lottie-dotlottie/10929 "2020-04-29T18:16:26Z")
**Posts on this page:** 6
**Page:** 2

<div class="post-metadata">

### Author: ![pablogil](https://forums.synfig.org/user_avatar/forums.synfig.org/pablogil/32/6743_2.png) [@pablogil](https://forums.synfig.org/u/pablogil)
#### Post date: [September 1, 2023, 9:29am UTC](https://forums.synfig.org/t/my-import-export-plugin-svg-telegram-sticker-lottie-dotlottie/10929/21 "2023-09-01T09:29:45Z")

</div>

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

---

<div class="post-metadata">

### Author: ![pablogil](https://forums.synfig.org/user_avatar/forums.synfig.org/pablogil/32/6743_2.png) [@pablogil](https://forums.synfig.org/u/pablogil)
#### Post date: [September 1, 2023, 9:47am UTC](https://forums.synfig.org/t/my-import-export-plugin-svg-telegram-sticker-lottie-dotlottie/10929/22 "2023-09-01T09:47:49Z")

</div>

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)?

---

<div class="post-metadata">

### Author: ![Glax](https://forums.synfig.org/user_avatar/forums.synfig.org/glax/32/4539_2.png) [@Glax](https://forums.synfig.org/u/Glax)
#### Post date: [September 1, 2023, 10:02am UTC](https://forums.synfig.org/t/my-import-export-plugin-svg-telegram-sticker-lottie-dotlottie/10929/23 "2023-09-01T10:02:24Z")

</div>

yes

(typing more nonsense otherwise I can’t post o\_O)

---

<div class="post-metadata">

### Author: ![pablogil](https://forums.synfig.org/user_avatar/forums.synfig.org/pablogil/32/6743_2.png) [@pablogil](https://forums.synfig.org/u/pablogil)
#### Post date: [September 2, 2023, 9:21am UTC](https://forums.synfig.org/t/my-import-export-plugin-svg-telegram-sticker-lottie-dotlottie/10929/24 "2023-09-02T09:21:51Z")

</div>

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.sif`example… 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):

 ![test_editor](https://forums.synfig.org/uploads/default/original/2X/c/cee80eb7a2c4020f683a34cc557464bbaf291893.png)

Canvas with `image span = 24.4767` exports as:

 ![test_24](https://forums.synfig.org/uploads/default/original/2X/5/53bf8c0a7c77f9690f5277524ad6af5903ef93af.png)

Canvas with `image span = 12.0680` exports as:

 ![test_12](https://forums.synfig.org/uploads/default/original/2X/f/f04d8678510e7f3c12d76ec87e96dcb9bcb0fc8b.png)

Canvas with `image span = 10.0000` exports as:

 ![test_10](https://forums.synfig.org/uploads/default/original/2X/9/961a1924b0d33f782c8012200b837935db87b95f.png)

Thanks

---

<div class="post-metadata">

### Author: ![Glax](https://forums.synfig.org/user_avatar/forums.synfig.org/glax/32/4539_2.png) [@Glax](https://forums.synfig.org/u/Glax)
#### Post date: [September 2, 2023, 9:58am UTC](https://forums.synfig.org/t/my-import-export-plugin-svg-telegram-sticker-lottie-dotlottie/10929/25 "2023-09-02T09:58:49Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![Archer](https://forums.synfig.org/user_avatar/forums.synfig.org/archer/32/189_2.png) [@Archer](https://forums.synfig.org/u/Archer)
#### Post date: [September 5, 2023, 6:21am UTC](https://forums.synfig.org/t/my-import-export-plugin-svg-telegram-sticker-lottie-dotlottie/10929/26 "2023-09-05T06:21:18Z")

</div>

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.

[Previous page](https://forums.synfig.org/t/my-import-export-plugin-svg-telegram-sticker-lottie-dotlottie/10929.md?page=1)
