Bug 124539 - poor resolution of PDF in the background
Summary: poor resolution of PDF in the background
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) release
Hardware: x86-64 (AMD64) Linux (All)
: low minor
Assignee: Not Assigned
Depends on:
Blocks: PDF-Insert
  Show dependency treegraph
Reported: 2019-04-04 03:23 UTC by Wolf
Modified: 2022-03-04 11:44 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description Wolf 2019-04-04 03:23:26 UTC
This is a very vanilla scenario:
I need to place my business letter template (available in PDF or SVG) in the background of my standard document layout. Ressolution of the pdf contents - when exported or printed - mostly are poor.

Steps to Reproduce:
example files are here: https://www.dropbox.com/sh/kxxfw6w0svou2rz/AADaEfwbKdnpRJSRn1MTrUsDa?dl=0

1. open doc_template.ott (example provided)
2. import image - choose a pdf or svg (example provided ("Briefpapier...")
3. right-click pdf/svg > properties > wrap > "through" & "in background"; 
4. save doc
5. open "invoice contents.odt", copy all contents, paste into doc_template.ott as provided
6. save doc
7. zoom into footer of pdf
8. export doc to pdf

Actual Results:
poor resolution of pdf/svg import at preview, print and pdf export

Expected Results:
high resolution of pdf/svg import at preview, print and pdf export

Reproducible: Always

User Profile Reset: No

Additional Info:
Shift to bad quality often happens after saving the file to HDD.

Build ID: 1:6.0.7-0ubuntu0.18.04.2
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: de-DE (de_DE.UTF-8); Calc: group
Comment 1 Dieter 2019-04-04 10:28:50 UTC Comment hidden (obsolete)
Comment 2 Wolf 2019-04-09 05:07:37 UTC
Under ubuntu 18.10 with LibO 6.1.5 as well as under ubu 18.04 with LibO 6.2.2, the problem MAINLY persists:

* monitor resolution still is poor
* print resolution still is poor
* BUT: pdf exports are good

With the same background file, created from an imported SVG file, everything is fine, so we have a workaround now:
Import your pdf template into inkscape, save it as SVG and use the SVG as background.

Nevertheless, for professional use, a proper PDF handling is important, so please fix this.
Comment 3 Klaus Blum 2019-04-19 21:26:52 UTC
AFAIK the PDF import filter is still pdfium-based. That means, PDF files will be imported as bitmap images. 
Or has there been any recent change?
Comment 4 Buovjaga 2019-08-21 15:41:01 UTC
Miklos said it is a valid issue, but quite hard to fix.
Comment 5 Wolf 2019-08-22 05:15:59 UTC
But think how important PDFs are in nowadays office workflows.
Comment 6 Timur 2022-03-04 11:09:14 UTC
Please explain why this is not a duplicate of bug 51510 ?
Please make a zoomed in screenshot comparison of good/source and bad/exported.