Bug 527717 - Quality of edit part using SVG image is not improved when exporting as image with max scale
Summary: Quality of edit part using SVG image is not improved when exporting as image ...
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: 2017-11-24 05:49 EST by Laurent Redor CLA
Modified: 2017-11-24 11:39 EST (History)
1 user (show)

See Also:


Attachments
ScreenshotWith100Percent.png (2.62 KB, image/png)
2017-11-24 05:49 EST, Laurent Redor CLA
no flags Details
ScreenshotWith400Percent.png (9.67 KB, image/png)
2017-11-24 05:49 EST, Laurent Redor CLA
no flags Details
exportWithNominalScaling.png (31.63 KB, image/png)
2017-11-24 05:49 EST, Laurent Redor CLA
no flags Details
exportWithMaxScaling.png (28.34 KB, image/png)
2017-11-24 05:50 EST, Laurent Redor CLA
no flags Details
Bug527717Project.zip (27.68 KB, application/x-zip-compressed)
2017-11-24 06:03 EST, Laurent Redor CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent Redor CLA 2017-11-24 05:49:00 EST
Created attachment 271624 [details]
ScreenshotWith100Percent.png

Since bug 527047 there is the capability to change the scale level from nominal to max when exporting diagram as image. The goal is to increase the quality of the exported image.

But there is a problem with edit part using SVG image. The SVG quality is not improved. This is visible on the joined images.

* ScreenshotWith100Percent.png: SVG image rendered with a zoom of 100%
* ScreenshotWith400Percent.png: SVG image rendered with a zoom of 400%. The quality is OK
* exportWithNominalScaling.png: Export of a diagram, containing edit parts using SVG image, using nominal scale. The global quality is poor.
* exportWithMaxScaling.png: Export of a diagram containing edit parts using SVG image, using max scale. The global quality is improved (visible on edges and label). But the SVG image a the same quality as nominal scaling.
Comment 1 Laurent Redor CLA 2017-11-24 05:49:27 EST
Created attachment 271625 [details]
ScreenshotWith400Percent.png
Comment 2 Laurent Redor CLA 2017-11-24 05:49:45 EST
Created attachment 271626 [details]
exportWithNominalScaling.png
Comment 3 Laurent Redor CLA 2017-11-24 05:50:03 EST
Created attachment 271627 [details]
exportWithMaxScaling.png
Comment 4 Laurent Redor CLA 2017-11-24 06:02:37 EST
Steps to reproduce:
* Import project Bug527717 from Bug527717Project.zip in your workspace
* Open the diagram "new Diagram"
* Export this diagram as image with nominal scale.
* Export this diagram as image with max scale.
* Compare the quality of the tiger: It is the same. It should not.
Comment 5 Laurent Redor CLA 2017-11-24 06:03:27 EST
Created attachment 271628 [details]
Bug527717Project.zip

Bug527717Project.zip: Data from /org.eclipse.sirius.tests.swtbot/data/unit/swtImageBundle/bug431075