File: README.md

package info (click to toggle)
resvg 0.8.0-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 1,924 kB
  • sloc: cpp: 2,398; python: 107; makefile: 81; ansic: 76; sh: 15
file content (27 lines) | stat: -rw-r--r-- 538 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
See [BUILD.adoc](../BUILD.adoc) first.

Note: we are using *qt-backend* just for example.

### custom.rs

Render image using a manually constructed SVG render tree.

```bash
cargo run --features "qt-backend" --example custom_rtree
```

### draw_bboxes.rs

Draw bounding boxes aroung all shapes on input SVG.

```bash
cargo run --features "qt-backend" --example draw_bboxes -- bboxes.svg bboxes.png -z 4
```

### minimal.rs

A simple SVG to PNG converter.

```bash
cargo run --features "qt-backend" --example minimal -- in.svg out.png
```