SVG
SVG copied to clipboard
Error when opening the document
Description
Sorry for bad english. When I try to open my svg files before converting to png, I encounter this error below
Example data
var svgDocument = SvgDocument.Open("filename.svg");
Sample File : https://svg-clipart.com/svg/glitch/57uVccz-grendaline-mask-vector.svg
** (process:15421): WARNING **: 03:37:02.116: Requested 3087975 bytes. Maximum size for region is 262144 bytes.
Used Versions
Operating System: CentOS Linux 7 (Core) CPE OS Name: cpe:/o:centos:centos:7 Kernel: Linux 3.10.0-1062.18.1.el7.x86_64 Architecture: x86-64 bash-4.2$ dotnet --version 3.1.201
The following seems to be cause. https://github.com/mono/linux-packaging-libgdiplus/blob/master/src/region-bitmap.c#L169
I usually convert .SVG files to .PNG, this is the error I get when opening the file before converting. Do I have a chance to fix this or how can I go differently?
No memory is allocated in Open method...
Is there clue to 3087975 bytes ?
how to fix it