bma#31162
Hello,
When I'm converting any kind of image to svg and when I open the image, I get the following error: "error on line 1 at column 4934196: Extra content at the end of the document"
code snippet:
I'm using Graphics Mill v9.0.21
All my best,
Bruno
attach #1306
When I'm converting any kind of image to svg and when I open the image, I get the following error: "error on line 1 at column 4934196: Extra content at the end of the document"
code snippet:
private static byte[] ConvertToSvg(byte[] bytes)
{
using (var imageReader = ImageReader.Create(new MemoryStream(bytes)))
using (var bitmap = imageReader.Frames[0].GetBitmap())
using (var exportedImageStream = new MemoryStream())
{
bitmap.Save(exportedImageStream, new SvgSettings());
return exportedImageStream.GetBuffer();
}
}
I'm using Graphics Mill v9.0.21
All my best,
Bruno
attach #1306