Skip to content

Issue converting rounded rectangles

The rounded rectangle from this SVG file seems to not be big enough after conversion.

lottie_diagnostic.py output:

(web-py3.12) /opt/app$ lottie_diagnostic.py 
* Python version: 3.12.11 (main, Jun 11 2025, 06:10:19) [GCC 12.2.0]
* Python Lottie version: 0.7.2
* Available Importers:
  * Lottie JSON / Telegram Sticker
  * SVG
  * Synfig
  * OpenToonz
  * AfterEffect Project
  * AfterEffect Project XML
  * dotLottie Archive
  * Krita
  * Raster image
  * Python script
* Available Exporters:
  * Lottie JSON
  * Telegram Animated Sticker
  * Lottie HTML
  * SVG
  * Synfig
  * PNG
  * PDF
  * PostScript
  * GIF
  * WebP
  * TIFF
  * dotLottie Archive
  * Video

Command:

lottie_convert.py example.svg output.json

Input file: example.svg

Result: output.json

Conversion result as seen on lottiefiles.com's previewer: image

Expected look: example

Edited by Antoine Morin-Paulhus