Open reyvateil opened 11 months ago
Hello @reyvateil,
Unfortunately, Cairo has a hard limit of 32k pixels in any axis, so your image is just too big :( libvips used to have a workaround (it rendered SVGs in sections), but sadly that is no longer supported by librsvg.
We've been talking about switching to another SVG load library that doesn't have this limitation, but no one's done the work yet.
Hi, I am attempting to draw polygons onto an Image using
svgload_buffer
. The Image size is roughly 100k×200k. The problem arises when I try to read data from the created mask. Cropping, fetching or converting to numpy results in the following error:Funnily enough, using scale 1/4 and smaller does not result in the error. Similarly, scaling the image down, then back up, and then reading from it also does not result in the error:
Thanks in advance.