has native support for generating SVG, but not for embedding in their . Fortunately, Dinu Gherman created the svglib package, a pure- package that can read SVG files and them to other formats that ReportLab can use. The official website for svglib is on GitHub.

The svglib package will work on Linux, Mac OS, and . The website states that it works with Python 2.7 – 3., but it should work in newer versions of Python as well.



Source link
thanks you RSS link
( https://dzone.com/articles/-svgs-to-pdfs-with-python-and-reportlab?utm_medium=feed&utm_source=feedpress.me&utm_campaign=Feed%3A+dzone%2Fwebdev)

LEAVE A REPLY

Please enter your comment!
Please enter your name here