Bug 147773 - FILEOPEN: Draw imports images with wrong size
Summary: FILEOPEN: Draw imports images with wrong size
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
7.3.1.3 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-04 21:58 UTC by lhfxi7mqnad27qcv
Modified: 2022-10-28 03:33 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
It's a scanned quadrille paper I want to use as background, so the size has to be exact, which it isn't after importing it to Draw. (255.71 KB, image/png)
2022-03-04 21:58 UTC, lhfxi7mqnad27qcv
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lhfxi7mqnad27qcv 2022-03-04 21:58:20 UTC
Created attachment 178662 [details]
It's a scanned quadrille paper I want to use as background, so the size has to be exact, which it isn't after importing it to Draw.

Hi guys,

ok so I prepared an image in GIMP at a certain size (using Image -> Print Size… in GIMP) so it has this exact size in Draw when I import it (with Import -> Image… in Draw).

In GIMP the width is 189.99 mm and the height is 279.99 mm with a resolution of 299.99 pixels/inch (the .99 being a rounding error? which can be ignored).

In Draw the image has a width of 18.80 mm and a height of 27.70 mm, which obviously doesn't match the values of GIMP.

In order to find out which application is wrong, I imported the image in Inkscape, which shows a width of 189.992 mm and a height of 279.993 mm, which matches the values of GIMP.

So to me it looks like Draw is wrong here.

In practice it's no biggie, because the image can be scaled and be worked with just fine afterwards. But I still think this is a bug.

I attached the image so you can confirm this on your side.

p.s.: I also tested this with LibreOffice version 7.2.5.2. release, same results.
Comment 1 Scott Clewell 2022-03-30 00:59:30 UTC
Hello sekret,

Thank you for reporting the bug. I have the same measurements in GIMP for your attachment, but I'm having trouble verifying. Would you please share an attachment of the saved image from GIMP and/or more specific steps to reproduce?

I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided.
(Please note that the attachment will be public, remove any sensitive information before attaching it. 
See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for help on how to do so.)
Comment 2 QA Administrators 2022-09-27 03:32:43 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2022-10-28 03:33:23 UTC
Dear sekret,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp