[Bug 171918] Very low image resolution when exporting to PDF

2026-05-04 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=171918

--- Comment #6 from David M  ---
Created attachment 206936
  --> https://bugs.documentfoundation.org/attachment.cgi?id=206936&action=edit
Detailed view of the three test cases

Left: Exported at lower resolution (1403 x 1984)
Middle: Exported at higher resolution (4961 x 3508)
Right: Screenshot of the same document in Libre Office Draw

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

[Bug 171918] Very low image resolution when exporting to PDF

2026-05-04 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=171918

--- Comment #5 from David M  ---
It's not just related to PDF, but to image export, too. I have exported the
document as a PNG image twice:

1) Exported with the suggested 1403x1984 pixels from the export dialog. The
resulting image is just that big, which is very low resolution.

2) Exported with the calculated size of a DIN A3 paper with 300 PPI, which is
4961×3508 pixels. The resulting image is of that size, but the resolution is
off. It looks like it was exported at a smaller size, and then enhanced.

Zooming into the document shows crisp quality, no issues.

I will attach a zoomed-in screenshot of the three cases for clarity.

So it's less of a PDF export issue, but rather a rasterization issue?

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

[Bug 171918] Very low image resolution when exporting to PDF

2026-04-30 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=171918

QA Administrators  changed:

   What|Removed |Added

 Status|NEEDINFO|UNCONFIRMED
 Ever confirmed|1   |0

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

[Bug 171918] Very low image resolution when exporting to PDF

2026-04-30 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=171918

--- Comment #4 from QA Administrators  ---
[Automated Action] NeedInfo-To-Unconfirmed

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

[Bug 171918] Very low image resolution when exporting to PDF

2026-04-30 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=171918

--- Comment #3 from David M  ---
Thanks for the clarification, but unfortunately, the problem still persists.

Setting the environment variable PDFIMPORT_RESOLUTION_DPI to 300 and restarting
LibreOffice Draw, I still get the same PDF output with the 500x500 pixel image,
just as before.

Right clicking the picture and looking into the "Compress" menu was indeed new
to me, and this displayed a size of 3315x3315. I unchecked "Change image
resolution" and exported it again, but I still get the really low resolution
500x500 picture in the PDF.

Which steps did you take to match the PDF size with the ODG size?

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

[Bug 171918] Very low image resolution when exporting to PDF

2026-04-30 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=171918

V Stuart Foote  changed:

   What|Removed |Added

 Blocks||108694


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=108694
[Bug 108694] [META] PDF export options dialog bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 171918] Very low image resolution when exporting to PDF

2026-04-30 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=171918

V Stuart Foote  changed:

   What|Removed |Added

 CC||[email protected]
 Ever confirmed|0   |1
 Status|UNCONFIRMED |NEEDINFO

--- Comment #2 from V Stuart Foote  ---
Reproduced with default image handling. However this is not a bug.

Each image inserted to LibreOffice canvas gets its own handling. Key is to use
the image's context menu "Compression..." dialog to set handling for each when
default scaling is too course. The PNG image with the 26 May event is being
down sampled in resolution too far so appears smeared--you can adjust that but
the exported PDF will grow.

And, when exporting to PDF you can set the 'Lossless compression' as well as
the export 'Change image resolution to' DPI. But that can "smear" the images.

Also, should use the PDFIMPORT_RESOLUTION_DPI environment variable set higher
(default is 96 dpi) to control the bitmap resolution of any imported *OR*
exported PDF graphic used within the LO modules. 

Some mix of those controls should resolve with those steps and result in the
source PNG and JPEG image graphics at some higher resolution as set in the
"Compress..." dialog, as well as any pdfium "inserted" PDF at full resolution.

I was able to get the resulting PDF to closely match the combined size of the
two inserted images so at ~18.2MB. Too high a resampling DPI and the resulting
PDF export grows too large to process.

Please retest.

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

[Bug 171918] Very low image resolution when exporting to PDF

2026-04-30 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=171918

--- Comment #1 from David M  ---
Created attachment 206885
  --> https://bugs.documentfoundation.org/attachment.cgi?id=206885&action=edit
DIN A3 LibreOffice Draw document that has a low resolution when exporting to
PDF

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