Issue 128478 - exported image wrong size when page border
Summary: exported image wrong size when page border
Status: CLOSED DUPLICATE of issue 88830
Alias: None
Product: Draw
Classification: Application
Component: save-export (show other issues)
Version: 4.1.10
Hardware: All All
: P5 (lowest) Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-29 20:30 UTC by efa
Modified: 2022-10-28 12:40 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
test file (123.46 KB, application/vnd.oasis.opendocument.graphics)
2021-08-29 20:30 UTC, efa
no flags Details
see the exported PNG (83.71 KB, image/png)
2021-08-29 20:31 UTC, efa
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description efa 2021-08-29 20:30:39 UTC
Created attachment 87051 [details]
test file

open the attached .odg
that is 32x22 cm with 1 cm border, so has 30x20 cm area rectangle
Go to pag.1, export as so:

menu File, Export,
File format: PNG, Export...
Resolution: 300 pixels/inch
Width: 32 cm
OK

the exported image is wrong, see attach on pag.2 that is the image after an import, or the see the PNG with GIMP.
It has the right canvas extention, but the image miss the border on left and top side. The 30x20 cm rectangle is shifted top-left by -1,-1 cm, and is stretched to 32x22 cm

Note: This does not happen if the page has no border, so 30x20 cm
Comment 1 efa 2021-08-29 20:31:23 UTC
Created attachment 87052 [details]
see the exported PNG

see the exported PNG
Comment 2 efa 2021-08-29 20:37:31 UTC
RFE: please set "File format" export default to something different than
XPM - X PixMap (.xpm)
something like PNG
Comment 3 oooforum (fr) 2021-08-31 18:40:44 UTC
Already reported

*** This issue has been marked as a duplicate of issue 88830 ***
Comment 4 efa 2021-08-31 20:22:37 UTC
the export now is worse than the one of 2008, now the image is damaged as a part is missing