Bug 124539 - poor resolution of PDF in the background
Summary: poor resolution of PDF in the background
Status: RESOLVED DUPLICATE of bug 115811
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.0.7.3 release
Hardware: x86-64 (AMD64) Linux (All)
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: PDF-Insert
  Show dependency treegraph
 
Reported: 2019-04-04 03:23 UTC by Wolf
Modified: 2024-03-20 13:23 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
test kit (226.57 KB, application/zip)
2024-03-20 12:57 UTC, Stéphane Guillou (stragu)
Details

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
Description:
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.

Version: 6.0.7.3
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
Well.
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.
Comment 7 QA Administrators 2024-03-04 03:12:55 UTC Comment hidden (obsolete)
Comment 8 Stéphane Guillou (stragu) 2024-03-20 12:55:04 UTC
Same as described in comment 2 in recent trunk build:

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 53c5d570cab036b23f4969b858a648c8f0c24f93
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: CL threaded

However, I think this now falls under bug 115811, let's mark as duplicate.

*** This bug has been marked as a duplicate of bug 115811 ***
Comment 9 Stéphane Guillou (stragu) 2024-03-20 12:57:07 UTC
Created attachment 193211 [details]
test kit

...in case the Dropbox link dies.