Download it now!
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)
(earliest affected) release
Hardware: All All
: medium normal
Assignee: Not Assigned
Keywords: bibisectRequest, regression
Depends on:
Blocks: Graphics-Export Images-TIFF
  Show dependency treegraph
Reported: 2016-03-18 12:09 UTC by sikiratou86
Modified: 2019-12-15 10:54 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:

fabric pattern for settee and armchairs (22.72 KB, application/
2016-03-18 21:17 UTC, sikiratou86

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 - 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

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 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:
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 Comment hidden (obsolete)
Comment 9 Andrea Giudiceandrea 2019-11-30 23:11:24 UTC
Still an issue in on Windows 7 64 bit.

There is no "TIFF Options" windows when exporting in TIFF format from Draw, so it's impossible to set Width/Height/Resolution of the exported image.

Moreover, in the exported TIFF image file the x and y resolution parameters are both set to very weird values.
Comment 10 raal 2019-12-08 08:30:11 UTC
LO 41max oldest- resolution 0,0172414 × 0,166667 ppi. Is it really regression?
Comment 11 Andrea Giudiceandrea 2019-12-15 10:54:25 UTC
The bug reporter wrote that the tiff files exported by LibreOffice Draw 4.3 were correct.