This service is archived, please use

Home » Capella » Capella Studio » Image quality for HTML Export (Images created by HTML export or HTMLDocGen are not clear)
Image quality for HTML Export [message #2922] Tue, 05 March 2019 13:40 Go to next message
jason.schwegler.cnxmotion is currently offline  jason.schwegler.cnxmotion
Messages: 1
Registered: March 2019
Junior Member
v1.2.1 Team for Capella

Recently I have started having problems with the clarity of the images created when I use the HTMLDocGen add on. After further investigation, I have determined that I have the same problem if I use the "export diagram as image" feature with the HTML box checked. The images that are exported are always downscaled versions to the same file size regardless of the size setting. When I export to JPG or PNG directly, then file size changes appropriately and the quality of the image is clear from the nominal to the max size. Only the JPG loses some fidelity at the smallest size. The PNG created with the HTML option or with the smallest size is easy to read.

I have tried adjusting the Sirius Diagram preferences, but this does not seem to have any affect when the HTML option is checked or when I use the HTMLDocGen feature. It does affect the JPG and PNG direct exports.

Since I am trying to use the HTMLDocGen output to present to stakeholders outside the Capella tool, this issue has become a problem. I have used other installations of Capella on other PCs with no issue in the past regarding this feature. Also, one of my other colleagues is using the same version of Capella and is able to generate clear JPGs with the HTMLDocGen tool. We also saw that his images are also scaled down to a smaller size when the HTML option is checked in the "Export diagram as image", but the images are clear enough to be easily read.

Any ideas on how to resolve this? I would like to use PNGs all the time with the HTMLDocGen setup, but I don't see a setting to change this.
Re: Image quality for HTML Export [message #3070 is a reply to message #2922] Wed, 10 April 2019 10:35 Go to previous message
boubekeur.zendagui@thales is currently offline  boubekeur.zendagui@thales
Messages: 54
Registered: April 2015
Hello Jason,

Unfortunately, there is no way to configure that with the available versions of xHTMLDocGen.
Can you please create an issue in the Polarsys bugzilla by following the link [1], please select the component "GenDoc HTML".

Best regards,
Boubekeur Zendagui.


[Updated on: Wed, 10 April 2019 10:36]

Report message to a moderator

Previous Topic: Is there a way to automate operations in Capella by using scripts?
Next Topic: Extension attribute controlling icon of extended element
Goto Forum:

Current Time: Mon Mar 30 16:32:59 EST 2020

Total time taken to generate the page: 0.01471 seconds