resvg icon indicating copy to clipboard operation
resvg copied to clipboard

An SVG rendering library.

Results 114 resvg issues
Sort by recently updated
recently updated
newest added

[1528971912.svg.zip](https://github.com/RazrFalcon/resvg/files/9508222/1528971912.svg.zip) ``` resvg 1528971912.svg 1528971912.png -w 500 -h 500 ``` will produce image with size 280x500. Both rsvg and thorvg support such thing

Requires WOFF/WOFF2 support first...

blocked

Hallo, I've noticed that patterns result in some anti-aliasing issues at the edges, if they have non-integer dimensions and the shapes inside the pattern go right against the edge. To...

Given the following input: ```svg ``` Running `usvg` resolves attributes as expected: ```svg ``` However, when running `usvg --keep-named-groups` the transform from the group is translated to its `matrix` form...

[VV.zip](https://github.com/RazrFalcon/resvg/files/9508337/VV.zip) ![Screenshot from 2022-09-07 19-20-04](https://user-images.githubusercontent.com/41945903/188940559-fe1f85ca-2282-4cbb-85a1-712a521e989c.png)

We can bake/apply transforms to paths filled/stroked with solid colors. This is not really a performance optimization, but rather a way to simplify input files even more.

usvg

Right now, `usvg` would always flatten markers, therefore they will contribute to object bbox calculation. Which is incorrect. But layer bounding box should include markers.

Since we know all bounding boxes already we can resolve object units as well. At least when possible.

When writing an usvg tree to string with the following Svg content, it seems to be failing [this](https://github.com/RazrFalcon/resvg/blob/36246d2797251cb765b2601f89dfe6bd16bfbc91/crates/usvg/src/writer.rs#L148) debug assertion while writing the group that is located in ``. Reproducing...