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

Free Support Forum - aspose.com

Problem with low res, truncated image when saving as SVG

Hi

When saving a Visio file as SVG, the image in the top left hand corner has been truncated somewhat. You can see that the words within the logo have been cut off in the workplace file. The resolution of the image is also much lower than the original so that the wording on the logo in the supply chain file is difficult to read. Is it possible to control the resolution of the image within the SVG output?
I’ve attached 2 Visio files with corresponding SVG output to illustrate this.
Please let me know if you need any further information.

Regards,
Andrewworkplace.zip (666.6 KB)

@andrew.ridgeley,
Thank you for sharing the details. We managed to replicate the said issues as below:

File Name: Supply Chain.vsdx
DIAGRAMNET-51295: VSDX to SVG - the low quality of output SVG

File Name: workplace.vsdm
DIAGRAMNET-51296: VSDM to SVG - the image is truncated

We have linked your post to these tickets and will keep you informed regarding any available updates.

Best Regards,
Imran Rafique

The bitmapped images are very compressed compared to the Visio SVG output. The ideal outcome would be an option on the SVGSaveOptions to allow us to control the level of bitmap compression when saving to SVG.

@andrew.ridgeley,

We have logged a feature request under the ticket ID DIAGRAMNET-51298 in our issue tracking system. We will let you know once a significant progress has been made in this regard.

Best Regards,
Imran Rafique

@andrew.ridgeley,
The ticket ID DIAGRAMNET-51296 has been resolved. If there is no issue in the quality assurance phase, then this fix will be included in the next version 17.8 of Aspose.Diagram for .NET API. We will notify you once the new version 17.8 is published.

Best Regards,
Imran Rafique

@andrew.ridgeley,
In reference to the ticket ID DIAGRAMNET-51296, please download and try the latest Hotfix version: Aspose.Diagram for .NET 17.7.1. Please also let us know how that goes on your side.

Best Regards,
Imran Rafique

I can confirm that the issue below is now fixed
DIAGRAMNET-51296: VSDM to SVG - the image is truncated

Thanks,
Andrew

@andrew.ridgeley,
The ticket ID DIAGRAMNET-51298 has been resolved. If there is no issue in the quality assurance phase, then this fix will be included in the next version 17.8 of Aspose.Diagram for .NET API. We will notify you once the next version is published.

Best Regards,
Imran Rafique

Hello Imran,

We saw 17.8 was released earlier and tested the image quality / quality control of bitmapped images in SVG.

The image quality is just as poor as pre-17.8. Also the quality setting only affects JPG images (not PNG, BMP etc.) and a Quality value of 100 is still just as poor as pre-17.8.

I can also see some truncation of the right side of the images as they get smaller…

Therefore I would be grateful if you could mark DIAGRAMNET-51295, DIAGRAMNET-51296 and DIAGRAMNET-51298 as NOT RESOLVED.

I’ve attached a Visio file with images in differing formats and sizes to illustrate the problem.

Image Quality.zip (825.2 KB)

Regards,

Andrew

@andrew.ridgeley,
We have tested your VSDX drawing with the latest version 17.8 of Aspose.Diagram for .NET API and managed to replicate the said issues. We have reopened ticket ID DIAGRAMNET-51295 and logged new tickets as below:

File name: images.vsdx
DIAGRAMNET-51338: SVGSaveOptions.Quality does not work in PNG, GIF and BMP formats
DIAGRAMNET-51339: VSDX to SVG - the truncation of text from the right side of each image

We have linked your post to these tickets and keep you informed regarding any available updates. We are sorry for the inconvenience caused.

In reference to the ticket ID DIAGRAMNET-51296, the actual issue of truncated text has been resolved. We can read the complete word “AVIATION”.

Best Regards,
Imran Rafique

@andrew.ridgeley,
The ticket IDs DIAGRAMNET-51295, DIAGRAMNET-51296 and DIAGRAMNET-51298 have been fixed. Please download and try the new version 17.8 of Aspose.Diagram for .NET API.

Best Regards,
Imran Rafique

@andrew.ridgeley,
The ticket ID DIAGRAMNET-51339 has been resolved. If there is no issue in the quality assurance phase, then this fix will be included in the next version 17.9 of Aspose.Diagram for .NET API. We will notify you once the next version is published.

Best Regards,
Imran Rafique

@andrew.ridgeley,
The ticket ID DIAGRAMNET-51295 has been resolved. If there is no issue in the quality assurance phase, then this fix will be included in the next version 17.9 of Aspose.Diagram for .NET API. We will notify you once the next version is published.

Best Regards,
Imran Rafique

Hello Imran,

Rather than wait another month, can we request a hotfix so that we are able to provide feedback sooner?

@andrew.ridgeley,
We have recorded your request of Hotfix version under the same ticket ID DIAGRAMNET-51298. We will let you know once a significant progress has been made in this regard.

Best Regards,
Imran Rafique

Hi Imran

Can you let me know if any progress has been made on DIAGRAMNET-51338? We would be happy to test this ahead of the main release if you were happy to release a Hotfix to us.

Regards,
Andrew

@andrew.ridgeley,
The linked ticket ID DIAGRAMNET-51338 is pending for the analysis and not resolved yet. Our product team will investigate as per the development schedule. We will let you know once a significant progress has been made in this regard.

Do you have an update on our request for a hotfix for DIAGRAMNET-51295 and DIAGRAMNET-51339?

@andrew.ridgeley,
The linked ticket IDs DIAGRAMNET-51339 and DIAGRAMNET-51295 have been resolved and we have logged an ETA request under the same ticket IDs. We will let you know once the Hotfix version is available.

@andrew.ridgeley,
In reference to the ticket IDs DIAGRAMNET-51339 and DIAGRAMNET-51295, please download and try the latest Hotfix version: Aspose.Diagram for .NET 17.8.1