Bug 41549 - LibreOffice Impress doesn't export images to PDF
Summary: LibreOffice Impress doesn't export images to PDF
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
3.4.2 release
Hardware: All All
: medium critical
Assignee: Not Assigned
URL:
Whiteboard: NoRepro:4.3.0.0a0+:OSX NoRepro:4.2.0...
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-07 02:19 UTC by Zarko Zivanov
Modified: 2014-01-15 11:05 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
ODP for image export testing (15.42 KB, application/vnd.oasis.opendocument.presentation)
2011-10-07 02:19 UTC, Zarko Zivanov
Details
PDF export files from various LO/OO versions (143.38 KB, application/zip)
2011-10-07 02:20 UTC, Zarko Zivanov
Details
The problematic picture from the document (8.83 KB, image/x-wmf)
2011-10-26 04:59 UTC, Petr Mladek
Details
two presentation slides, each containing jpg image (482.29 KB, application/vnd.oasis.opendocument.presentation)
2014-01-06 08:05 UTC, John Koval
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zarko Zivanov 2011-10-07 02:19:24 UTC
Created attachment 52070 [details]
ODP for image export testing

LibreOffice in Ubuntu 11.04 32-bit doesn't export some images contained in slides when exporting to PDF. Attached is an example odp file with one slide. LibreOffice 3.3.4 (official Ubuntu version), and 3.4.2 version from official site also, exports slide without image. On the other hand, OpenOffice 3.3 on Linux/Windows exports slide correctly.

Steps to reproduce bug:
1. Open attached MissingImage.odp file in LibreOffice 3.3.4/3.4.2 in 32-bit Ubuntu 11.04
2. Export to PDF
3. Image is missing in PDF
Comment 1 Zarko Zivanov 2011-10-07 02:20:44 UTC
Created attachment 52071 [details]
PDF export files from various LO/OO versions

Inside ZIP archive are 4 PDF files I got from testing on LibreOffice 3.3 and 3.4 on Ubuntu 11.04 32-bit, OpenOffice 3.1 on WIndows, and OpenOffice 3.3 on Ubuntu 11.04 32-bit. They show that LO exports without image, and OO works correctly.
Comment 2 Petr Mladek 2011-10-26 04:59:37 UTC
Created attachment 52788 [details]
The problematic picture from the document
Comment 3 Petr Mladek 2011-10-26 05:16:26 UTC
I do not see the problem with another EMF/WMF document, so it is somehow related to the particular one => it can't block the whole release => lowering the severity a bit.

As a workaround, you might use the picture in another file format, for example, .eps, .svg, .png.

Rodo, you might be interested into this bug.

BTW: The picture seems to be in the EMF and not in the WMF file format. I was not able to insert it into presentation with the .wmf file name extension. It helped to rename it to .emf. Unfortunately, it did not solve the PDF export problem.
Comment 4 Zarko Zivanov 2011-10-26 11:13:48 UTC
Well, the problem is that original document contains 10-20 images which don't show in LibreOffice PDF export (I just extracted one slide). And the original document was made in OpenOffice and export feature worked (and still works). Which means, it got broken somwhere during LibreOffice development. I will try to re-insert images again, but I don't have the original format (they were made in some Win program, I don't know which, maybe Visio).
Comment 5 Björn Michaelsen 2011-12-23 12:36:50 UTC
[This is an automated message.]
This bug was filed before the changes to Bugzilla on 2011-10-16. Thus it
started right out as NEW without ever being explicitly confirmed. The bug is
changed to state NEEDINFO for this reason. To move this bug from NEEDINFO back
to NEW please check if the bug still persists with the 3.5.0 beta1 or beta2 prereleases.
Details on how to test the 3.5.0 beta1 can be found at:
http://wiki.documentfoundation.org/QA/BugHunting_Session_3.5.0.-1

more detail on this bulk operation: http://nabble.documentfoundation.org/RFC-Operation-Spamzilla-tp3607474p3607474.html
Comment 6 Chris Peñalver 2012-01-03 17:45:10 UTC
Unreproducible exporting from:
LOdev 3.5.0beta2 
Build ID: 8589e48-760cc4d-f39cf3d-1b2857e-60db978
Microsoft Windows Vista Business 6.0.6002 Service Pack 2 Build 6002

Opened with:

apt-cache policy acroread
acroread:
  Installed: 9.4.6~enu-0oneiric1
  Candidate: 9.4.6~enu-0oneiric1
  Version table:
 *** 9.4.6~enu-0oneiric1 0
        500 http://archive.canonical.com/ubuntu/ oneiric/partner i386 Packages
        100 /var/lib/dpkg/status

lsb_release -rd
Description:	Ubuntu 11.10
Release:	11.10
Comment 7 Chris Peñalver 2012-01-22 08:49:12 UTC
Reproducible with:
lsb_release -rd
Description: Ubuntu precise (development branch)
Release: 12.04

apt-cache policy libreoffice-impress
libreoffice-impress:
  Installed: 1:3.5.0~beta2-2ubuntu3
  Candidate: 1:3.5.0~beta2-2ubuntu3
  Version table:
 *** 1:3.5.0~beta2-2ubuntu3 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise/main i386 Packages
        100 /var/lib/dpkg/status
Comment 8 Zarko Zivanov 2012-01-22 14:29:35 UTC
Just tested with LO 3.5.0rc1 (as part of QA/BugHunting Session 3.5.0.-2), and it also doesn't export image to pdf. Ubuntu 11.10 32-bit.
Comment 9 A (Andy) 2013-03-24 10:35:54 UTC
reproducible with LO 4.0.1.2 (Win7 Home, 64bit)
Comment 10 Christopher POTTER 2013-05-24 18:28:51 UTC
Image pdf export problem still in 4.0.3 Win7
Comment 11 ign_christian 2013-06-18 10:27:13 UTC
Confirm reproducible on LO 4.0.4.2 (Win7 32bit), image zoomed in on upper left corner. 

Same as Bug 55345 & Bug 36397
Comment 12 John Koval 2014-01-06 08:05:14 UTC
Created attachment 91534 [details]
two presentation slides, each containing jpg image
Comment 13 Zarko Zivanov 2014-01-06 08:16:53 UTC
I just tested MissingImage.odp (file that I sent for original bug report) in LO 4.1.3.2, Build ID: 410m0(Build:2) and export works as it should. Nice!

However, I tried the just posted twopages.odp, and when I try to export it to pdf, I always get this error dialog box:

Error saving the document twopages:
Write Error.
The file could not be written.

no matter where I tried to save.
Comment 14 Cor Nouws 2014-01-14 20:02:50 UTC
related to bug 72530 ?
Comment 15 retired 2014-01-15 11:05:58 UTC
Zarko, setting this to WORKSFORME.

NoRepro:4.3.0.0a0+:OSX NoRepro:4.2.0.2:OSX

Please use the latest stable LO release in which this is also fixed.

If any issue with another file persists, please create a new bug.

Thanks :)