[Libreoffice-bugs] [Bug 144167] New: exported PNG image has wrong size when page has border
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sun Aug 29 21:29:42 UTC 2021
https://bugs.documentfoundation.org/show_bug.cgi?id=144167
Bug ID: 144167
Summary: exported PNG image has wrong size when page has border
Product: LibreOffice
Version: 7.2.0.4 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Draw
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: efa at iol.it
Description:
the exported PNG loss the right scale
Steps to Reproduce:
1. open the attached .odg
that is 32x22 cm with 1 cm border, so has 30x20 cm area rectangle
2. Go to pag.1, export as so:
3. menu File, Export...,
4. File format: PNG, Save
5. Modify resolution: 300 pixels/inch
6. Modify dimensions, Width: 32 cm
7. the Height is set to 22 cm (so form factor is page not area rectangle)
8. OK
Actual Results:
the exported image is wrong, see attach
"shape20x30cm_scale1:1_libreoffice7.2margin32x22.png"
It has:
1. the right canvas extention 3786x2603 px
2. the right form factor
3. the image miss the 1 cm page border (may be OK)
4. the 30x20 cm (3543x2362 px) rectangle is stretched to 32x22 cm (3786x2603
px)
Note: This does not happen if the page has no border, so 30x20 cm
Expected Results:
export a rectangle sized 30x20 cm (3543x2362 px) without border OR
export a rectangle sized 30x20 cm (3543x2362 px) with 1 cm border so 32x22 cm
(3786x2603 px
Reproducible: Always
User Profile Reset: No
Additional Info:
knowing that the exported PNG does not have the border, one can try to
selecting:
5. Modify resolution: 300 pixels/inch
6. Modify dimensions, Width: 30 cm
7. the Height is set to 20.63 cm (so form factor is page not area rectangle)
but the exported PNG has wrong form factor, so is worse
In both cases the exported PNG is unusable as lost the right scale
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210829/95e62d6d/attachment.htm>
More information about the Libreoffice-bugs
mailing list