Bug 501967 - [GenDoc] Variable diagram image quality
Summary: [GenDoc] Variable diagram image quality
Status: UNCONFIRMED
Alias: None
Product: Gendoc
Classification: Modeling
Component: Core (show other bugs)
Version: 0.6.0   Edit
Hardware: PC Windows 10
: P3 normal
Target Milestone: 0.5.1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-22 05:31 EDT by Johan Van Noten CLA
Modified: 2016-09-23 11:05 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johan Van Noten CLA 2016-09-22 05:31:46 EDT
We see a remarkable difference in picture quality of the generated (Papyrus) diagrams between multiple generations of the same document.
Investigation learns:
* Start Eclipse, generate the document --> bad quality
* Start Eclipse, load the model, don't show any diagrams, generate --> bad quality
* Start Eclipse, load the model, show a diagram (even if it is not the generated one), generate --> good quality.

When analysing the generated PNG pictures, we see:
* Resolution remains the same (in our example 987x740)
* File size increases from 64KB to 81KB (so 30%) between the bad and the good.

--> clearly, opening _a_ diagram has a positive influence on the picture quality.

Can this behavior be configured? I didn't immediately see any options, even in the code of "copyToImage".
Comment 1 Tristan Faure CLA 2016-09-23 11:05:18 EDT
There are indeed 2 ways of generating pictures if a diagram is opened or not, we have to identify why the quality of the output is different (it should not be the case)