https://bugs.documentfoundation.org/show_bug.cgi?id=152208

            Bug ID: 152208
           Summary: PDF: Inserting images in pdf 1.5 format in LibreOffice
                    Impress leads to broken files if the document is
                    exported as pdf.
           Product: LibreOffice
           Version: 7.3.7.2 release
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Impress
          Assignee: [email protected]
          Reporter: [email protected]

Description:
Hi.
For the last days I was struggling with Impress generating broken pdf files for
a project I'm working on.
Attempting to open said pdf files Acrobat Reader gives me an error: "There was
an error processing a page. There was a problem reading this document (109)."
This error is shown again for each page of the generated pdf. I'll try to
attach such a broken pdf file to the report after writing this text.
Microsoft edge can 'successfully' open those pdf files but all images I
included are missing.

I tried every solution I could find on the internet for the Acrobat reader
error message (update windows runtime libraries, reinstall Acrobat Reader,
reinstall LibreOffice, every conceivable combination of pdf export options in
Impress) but to no avail. But I think today I tracked down the problem.

The picture files I used were generated by Inkscape, exported as pdf file and
included into Impress by using the Insert -> Image... command. In Incscapes
export options the pdf file format were set to PDF 1.5 and those files can be
opened without any problem (I'll attach one of those as well). If I remove all
those PDF 1.5 images from the Impress file and instead use ones that I
generated by Inkscape with PDF 1.4 format then the pdf file generated by
Impress works fine. A single PDF 1.5 picture anywhere in the *.odp file is
enough that AcrobatReader shows an error on every page.



Steps to Reproduce:
1.Generate any graphic with Inkscape and export is as PDF 1.5 (or use the file
I'll attach)
2.Use Insert -> Image... to use the graphic in the Impress .odp file.
3.Use File -> Export As... -> Export as PDF... to export the file as pdf. Use
any export settings, I did not find any that solve the problem.
4.Try to open the file in Acrobat Reader or in Microsoft Edge.

Actual Results:
Acrobat Reader will show a completely broken file while Edge displays
everything except the graphic.

Expected Results:
The exported PDF file opens without error in both programs and displays the
inserted graphic.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: PresentationDocument
[Information guessed from browser]
OS: Windows (All)
OS is 64bit: no

I'm using the following versions of software right now:

Inkscape 1.2 (dc2aedaf03, 2022-05-15)
Adope Acrobat Reader Continuous Release Version 2022.003.20282 64-bit
Microsoft Edge Version 107.0.1418.56 (Official build) (64-bit)

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to