Bug 530452 - Export Diagram as image in HTML does not take account of image size
Summary: Export Diagram as image in HTML does not take account of image size
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: 5.1.0   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2018-01-29 08:59 EST by Guillaume Coutable CLA
Modified: 2018-02-16 11:09 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guillaume Coutable CLA 2018-01-29 08:59:38 EST
No matter the chosen size of the image, check the HTML export will generate an image file with the same size.
Comment 1 Guillaume Coutable CLA 2018-02-16 09:29:36 EST
Steps to reproduce:
1) Create a new representation (e.g. a class diagram from ecoretools)
2) Create some few elements
3) Use the Export diagram as Image
4) In the dialog put the image size to Nominal and check Export to HTML
5) Hit OK
6) Check the size of the generated image
7) Repeat 3 to 6, but this time keep the image size to Max
8) The size of the both generated images is the same => KO
Comment 2 Maxime Porhel CLA 2018-02-16 11:09:02 EST
Thanks for the detailed bug report. We have reproduced it.
Note that it has not been added to a future release yet.

Regards