{"categories":[{"label":"Graphics Conversion","url":"https://skillfed.io/packages/category/multimedia-graphics-graphics-conversion"}],"enrichment":{"capability":"CairoSVG converts SVG files to PDF, EPS, PS, and PNG formats using the Cairo graphics library.","skillfed_tags":["svg-conversion","document-generation","graphics-rendering"],"use_cases":["Convert SVG graphics to PDF for embedding in reports or print-ready documents.","Batch export SVG icons or illustrations to PNG for web use or mobile apps.","Generate PostScript or EPS output from SVG for legacy printing systems or archival.","Programmatically render SVG content in a document generation pipeline without manual design tool steps.","Transform vector graphics to raster formats when downstream tools require PNG or similar formats."],"what_it_does":"CairoSVG is a Python library that renders SVG files to multiple output formats\u2014PDF, EPS, PostScript, and PNG\u2014by delegating rendering to the Cairo graphics engine. It wraps Cairo functionality through cairocffi and uses cssselect2 and tinycss2 to parse SVG stylesheets and selectors, defusedxml to safely parse XML, and Pillow for raster image handling. The library is stable (Production/Stable status), actively maintained, and supports modern Python versions from 3.10 onward.\n\nTypical use cases include batch conversion of vector graphics for print or web distribution, programmatic SVG-to-PDF generation in document pipelines, and rendering SVG content to raster formats when vector output is not required. The copyleft LGPL license means you must disclose modifications if you redistribute the library, but using it as a dependency in your own application is straightforward.","worth_installing":"Yes. CairoSVG is production-stable, actively maintained, has low install friction, no known vulnerabilities, and solves a concrete problem (SVG conversion to multiple formats). The LGPL copyleft license is standard for graphics libraries and poses no barrier for most use cases. Install if you need reliable SVG-to-PDF/PNG/EPS conversion."},"id":"cairosvg","links":{"html":"https://skillfed.io/packages/cairosvg","md":"https://skillfed.io/packages/cairosvg.md","pypi":"https://pypi.org/project/cairosvg/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-03-13","license_spdx":null,"license_treatment":"copyleft","name":"CairoSVG","python_support":"supports_current","summary":"A Simple SVG Converter based on Cairo"},"popularity":{"monthly_downloads":20670714,"position":1029,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2.9.0"}
