Bug 162013 - PDF's image looks weird on Libreoffice compared to Firefox
Summary: PDF's image looks weird on Libreoffice compared to Firefox
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
24.2.5.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: PDF-Import-Draw
  Show dependency treegraph
 
Reported: 2024-07-12 07:00 UTC by zarifahnaf
Modified: 2024-07-12 17:35 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
The PDF in question (221.60 KB, application/pdf)
2024-07-12 07:06 UTC, zarifahnaf
Details
How the PDF renders in Libreoffice (335.40 KB, image/png)
2024-07-12 07:06 UTC, zarifahnaf
Details
How the PDF renders in Firefox (204.44 KB, image/png)
2024-07-12 07:07 UTC, zarifahnaf
Details
how the PDF renders in LibreOffice when inserted as image on a Draw canvas (431.40 KB, image/png)
2024-07-12 17:35 UTC, V Stuart Foote
Details

Note You need to log in before you can comment on or make changes to this bug.
Description zarifahnaf 2024-07-12 07:00:44 UTC
Description:
When i open this pdf with Libreoffice, the image looks awkward compared to opening it with firefox/chrome and Acrobat

Steps to Reproduce:
1.Open the pdf in libreoffice


Actual Results:
The Image looks layered ?

Expected Results:
The image should render properly


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 24.2.4.2 (X86_64) / LibreOffice Community
Build ID: 51a6219feb6075d9a4c46691dcfe0cd9c4fff3c2
CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Comment 1 zarifahnaf 2024-07-12 07:06:18 UTC
Created attachment 195258 [details]
The PDF in question
Comment 2 zarifahnaf 2024-07-12 07:06:59 UTC
Created attachment 195259 [details]
How the PDF renders in Libreoffice
Comment 3 zarifahnaf 2024-07-12 07:07:29 UTC
Created attachment 195260 [details]
How the PDF renders in Firefox
Comment 4 V Stuart Foote 2024-07-12 17:34:39 UTC
This is expected, and because LibreOffice is not a PDF editor, nor much of a viewer, it is out of scope for the project to do more when Opening PDFs.

That is When you "Open" a PDF, using filters LibreOffice imports drawn elements of a PDF as individual ODF drawing objects and places them onto document canvas. The fidelity to the original described in the PDF will vary depending on its type and the destination object it is imported as.

As an alternative, LibreOffice provides a different PDF filter based on the Google Chrome pdfium libraries, but it only inserts a page the PDF as a high resolution raster image.

Below I've attached the sample PDF (attachment 195258 [details]) as inserted into a Draw page--note the high level of fidelity to the source PDF.

If you can work with PDF in single pages as source for inserted images, great. If not the current import filters are simply not intended to edit PDF, rather just to bring PDF elements into an ODF document as ODF draw objects.
Comment 5 V Stuart Foote 2024-07-12 17:35:34 UTC
Created attachment 195273 [details]
how the PDF renders in LibreOffice when inserted as image on a Draw canvas