Bug 98743 - TIFF EXPORT saves weird image: in different x-y resolution and dimensions
Summary: TIFF EXPORT saves weird image: in different x-y resolution and dimensions
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
5.0.4.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Graphics-Export Images-TIFF
  Show dependency treegraph
 
Reported: 2016-03-18 12:09 UTC by sikiratou86
Modified: 2019-06-29 01:40 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
fabric pattern for settee and armchairs (22.72 KB, application/vnd.oasis.opendocument.graphics)
2016-03-18 21:17 UTC, sikiratou86
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sikiratou86 2016-03-18 12:09:03 UTC
LibreOffice 5.0.4.2 - Draw

If Image is exported to TIFF the resulting image has resolution x: 0,017 pixel/inch and y: 0,167 pixel/inch.
Resolution should be 96 pixel/inch for both, x and y.

Also, the amount of pixels of the image drops to one third, e.g. from 1000 to 350.
-----
In LibreOffice 4.3 - Draw it has always been correct.
Comment 1 Usama 2016-03-18 16:27:10 UTC
Hello,

Thank you for reporting the bug. Please add the following information as this makes it easier for us to verify the bug: 

1. Clearer step by step way to reproduce the problem: like 1. do this 2. do that etc...
2. A sample image file to start testing with as I could not reproduce it


I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested info 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 sikiratou86 2016-03-18 21:17:55 UTC
Created attachment 123704 [details]
fabric pattern for settee and armchairs

Do export the attached draw-file as TIFF and open the imagefile in GIMP, par example and check the x/y-resolution and amount of x/y-pixels compared to an export to PNG of the same draw-file.

If I do export to PNG then the background of the pattern is missing. So I cannot use PNG. JPEG makes the quality worse. It's a pity.

Remark: I do need the export to TIFF for splitting the whole image into 6 sheets of A4 size for printing. It is impossible to print this draw-file directly from LibreOffice.
Comment 3 MM 2016-03-19 10:12:55 UTC
Confirmed with ubuntu 14.04 x64.

Output to tiff is 2048*223, while output to png is 5557*605.

> If I do export to PNG then the background of the pattern is missing. So I cannot use PNG.

You can fix that by turning 'save transparency' in the png options off.
Comment 4 Usama 2016-03-19 11:19:40 UTC
Confirm it on: Version: 5.2.0.0.alpha0+
Build ID: 6eb7cd38e348e8a9d6498bfc2d41e91725eb34aa
CPU Threads: 1; OS Version: Windows 6.1; UI Render: default; 
TinderBox: Win-x86@39, Branch:master, Time: 2016-03-16_12:53:35
Locale: en-US (en_US) OS: Windows 7 Enterprise

If image saved using tiff it would be hard to read.
Comment 5 sikiratou86 2016-03-23 11:03:41 UTC
If I export a draw-file to PNG, BMP or JPEG then a window pops up "PNG options" where dimension, resolution, compression, modus an so on can be changed.

There is no window "TIFF option" when export to TIFF is done. LibreOffice does this quietly and the result is weird, i.e. useless.

(In reply to Usama from comment #4)
> If image saved using tiff it would be hard to read.
Do check the resolution: It is x: 0,017 pixel/inch and y: 0,167 pixel/inch.
Comment 6 QA Administrators 2017-05-22 13:18:57 UTC Comment hidden (obsolete)
Comment 7 Xisco Faulí 2017-07-13 10:56:54 UTC
Setting Assignee back to default. Please assign it back to yourself if you're
still working on this issue
Comment 8 QA Administrators 2018-07-25 02:40:59 UTC
** Please read this message in its entirety before responding **

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from http://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug