We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Saving raster image separately

Hello,
I have some vsd files with extremely large raster images in them, and I need to convert files to .svg.
I would like to know if it’s possible to save them in svg as
image with "href =“somelocaladress.png” "?
using Diagram for .Net

@sukhareva.jj

Can you please share your sample VSD file along with a sample expected output so that we can test the scenario in our environment and address it accordingly.

example.zip (84.3 KB)
Here is an example ,
example-1.svg - is what Aspose.Diagram generates
example-1-wanted - is something i would like to get ( “picture1.jpg” does not exist obviously and this svg file will not work)

@sukhareva.jj

We have logged an investigation ticket as DIAGRAMNET-52450 in our issue tracking system to further analyze your requirements. We will look into its details and keep you informed about its resolution status. Please be patient and spare us some time.

@sukhareva.jj
Please try the latest fix 21.11.2. We have supported this issue in the fix.
https://forum.aspose.com/uploads/discourse_instance3/57489
Sample code before saving svg:
SVGSaveOptions o = new SVGSaveOptions();
o.IsSavingImageSeparately = true;
o.CustomImagePath = “D:/output/”;
Thanks.

Thank you! That’s great