Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ker0olos/resvg-python

A python-bind of resvg (cairosvg alternative)
https://github.com/ker0olos/resvg-python

Last synced: 13 days ago
JSON representation

A python-bind of resvg (cairosvg alternative)

Awesome Lists containing this project

README

        

### Build

```bash
python3 -m venv .venv
source ./.venv/bin/activate
pip install maturin
maturin build
```

### Install

```bash
pip install resvg_python
```

```python
import resvg_python

with open("example.svg", "r") as svg_string:
png_image_bytes = resvg_python.svg_to_png(svg_string)
```