RazrFalcon / resvg

An SVG rendering library.
Mozilla Public License 2.0
2.74k stars 220 forks source link

resvg produces a seemingly empty png when using --width larger than 9000px #570

Closed matej-karolcik closed 1 year ago

matej-karolcik commented 1 year ago

I am trying to convert the attached svg to png, however resvg produces a fully transparent image. I have tested this on MacOS as well as on debian buster with similar results. Using rsvg-convert the image gets rendered as expected. flora-flaeache-14

RazrFalcon commented 1 year ago

Looks like a clipping bug in tiny-skia. Not good. For now, you can limit the image size by 8000x8000, which is the maximum "tile" size in tiny-skia.