Bug 69863 - Some images render oddly with lossless PDF exporting
Summary: Some images render oddly with lossless PDF exporting
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
4.1.1.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:pdf
Depends on:
Blocks: PDF-Export
  Show dependency treegraph
 
Reported: 2013-09-26 21:48 UTC by Rubem
Modified: 2017-11-28 14:00 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
This bitmap has problems with PDF export (460.65 KB, application/vnd.oasis.opendocument.text)
2013-09-26 21:48 UTC, Rubem
Details
Exported in PDF of the ODT in lossless compression mode (627.14 KB, application/pdf)
2013-09-26 22:05 UTC, Arnaud Versini
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rubem 2013-09-26 21:48:04 UTC
Created attachment 86697 [details]
This bitmap has problems with PDF export

PDF export: some images (see attachment) may be incorrectly exported. They look fine in the original document but are completely wrong when exported. Seems that these images are rendered as if they were encoded with something else than 24bpp (just a guess).

Interestingly, MS Word 2007 reports an error in this document (corrupted file).

To duplicate this bug you must select the "lossless compression" option in de PDF Options dialog.
Comment 1 Arnaud Versini 2013-09-26 22:03:44 UTC
Confirmed, I will check the ODT to be sure of the image format
Comment 2 Arnaud Versini 2013-09-26 22:05:33 UTC
Created attachment 86698 [details]
Exported in PDF of the ODT in lossless compression mode
Comment 3 Arnaud Versini 2013-09-26 22:09:12 UTC
Could you please provide to us your PDF viewer, seems there is issue with evince, and not with Firefox, so perhaps this is related to the viewer, not pdf export.
Comment 4 Rubem 2013-09-26 22:38:10 UTC
Sure, good point. I use PDF-XChange Viewer. However I've just tested the PDF in Chrome and it also displays oddly.
Comment 5 Arnaud Versini 2013-09-27 09:52:15 UTC
Same behavior on your pdf software as on Acroread for android and Evince, so there is an issue with PDF export
Comment 6 Daniël van Vuuren 2014-11-12 13:29:32 UTC
Same problem here (with different images)
Both (my images and the original attached image) are jpg's created by an adobe product (Illustrator and Adobe Photoshop CS3 Windows respectively).
source: data extracted from the images with exiftool

When you open one of the "adobe jpg's" with ImageMagick(display) then the colors are inverted. Perhaps this gives a clue.


OS: Ubuntu 14.04/Windows XP
LibreOffice 4.2.7.2 
Build ID: 420m0(Build:2)
Comment 7 Daniël van Vuuren 2015-02-10 09:23:02 UTC
Problem still there...
Comment 8 QA Administrators 2016-02-21 08:38:00 UTC Comment hidden (obsolete)
Comment 9 Rubem 2016-02-23 13:59:09 UTC
This same bug is still present in versions 5.0.4 and 5.1.0.3. It renders incorrectly (albeit with strange differences between viewers) at least in the following PDF readers:

- Adobe Acrobat Reader DC 2015.010.20059
- Google Chrome 48.0.2564.116
- Internet Explorer 11.103
- MS Edge 25.10586
- PDF-XChange Viewer 2.5

It seeems to render correctly only in:

- Firefox 38 & 39
Comment 10 QA Administrators 2017-10-30 08:32:34 UTC Comment hidden (obsolete)
Comment 11 Rubem 2017-11-28 14:00:18 UTC
Seems to have been solved in version 5.x.