Bug 112841 - A 5.5"x8.5" document created and exported from Writer as a .jpeg imports into Writer at .22"x.31"
Summary: A 5.5"x8.5" document created and exported from Writer as a .jpeg imports into...
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: Image-DPI
  Show dependency treegraph
Reported: 2017-10-02 18:06 UTC by jacquerooster123
Modified: 2018-10-09 11:31 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:
Regression By:

Writer document with imported image (23.84 KB, application/vnd.oasis.opendocument.text)
2017-10-03 05:07 UTC, jacquerooster123
exported/imported image (185.87 KB, image/jpeg)
2017-10-03 05:10 UTC, jacquerooster123
original file which was then exported as a jpeg (216.93 KB, application/vnd.oasis.opendocument.text)
2017-10-03 05:11 UTC, jacquerooster123

Note You need to log in before you can comment on or make changes to this bug.
Description jacquerooster123 2017-10-02 18:06:03 UTC
Today I created a 5.5" x 8.5" document in Writer then exported it as a .jpeg. (791x993 px) When I import it into a new Writer document it's only .22"x.31".  IIf I scale it up to its correct size, the image is fuzzy. I've looked at it in Gwenview and the size is as it should be. Other images import at their correct size. I've tried it several times with the same result.

Steps to Reproduce:
1.Create new Writer file (paper size A5)
2.Export as .jpeg
3.Import .jpeg into new Writer document

Actual Results:  
imported image is only .22 x .31 inches

Expected Results:
IMported image at 5.5 x 8.5 inches

Reproducible: Always

User Profile Reset: No

Additional Info:

User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0
Comment 1 Xisco Faulí 2017-10-02 20:12:04 UTC
Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug. 
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 jacquerooster123 2017-10-03 05:07:50 UTC
Created attachment 136715 [details]
Writer document with imported image
Comment 3 jacquerooster123 2017-10-03 05:10:19 UTC
Created attachment 136716 [details]
exported/imported image
Comment 4 jacquerooster123 2017-10-03 05:11:54 UTC
Created attachment 136717 [details]
original file which was then exported as a jpeg
Comment 5 jacquerooster123 2017-10-03 05:15:19 UTC
Here are the files.
Comment 6 Regina Henschel 2017-10-03 18:23:35 UTC
The jpeg file has 2540 dpi for 793px height and 559px width. That results 793/2540=0.31 and 559/2540=0.22

So import is correct. The question is, why has the picture this totally wrong dpi-value.

Please tell, what setting do you have made during export, what operating system do you have and what screen resolution and/or dpi setting in the operating system.

In my tests I get always 72 dpi, that is surely wrong too.

I thought that there exists already a bug report about wrong dpi values, but I cannot find it.
Comment 7 QA Administrators 2018-09-03 14:49:40 UTC Comment hidden (obsolete)
Comment 8 QA Administrators 2018-10-09 11:31:23 UTC
Dear Bug Submitter,

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