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

            Bug ID: 157267
           Summary: PDF export always seems to be lossless even when
                    selecting JPEG compression
           Product: LibreOffice
           Version: 7.6.1.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Printing and PDF export
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: murdomaclach...@duck.com

Description:
I just updated to LibreOffice 7.6.1 today having prievously been on 7.5.6. It
seems on this version that when exporting to PDF, selecting JPEG compression
and or "Reduce image resolution to:" makes no difference. My testing suggests
the document is always exported at lossless compression, no matter the
settings.

I noticed this as I have a Writer document I regularly export to PDF, and I
always have JPEG compresson selected, with quality around 35% (I don't remember
the exact number any more, as I changed it when testing). Usually this results
in a ~1 MiB PDF, but after I updated to 7.6.1 it went up to 3.1 MiB for my most
recent version.

I messed around with different compression qualities and turning "Reduce image
resolution" on and off and selecting different values for it, but there was no
change in file size. Eventually I siwtched to "Lossless compression" and as I
suspected it gave the same file size. As such, I believe this is always being
used even when other methods are selected.

I've tested with some other documents of various sizes, as well as testing some
Calc documents to make sure it's not just Writer, and can confirm this seems to
be happening for all LibreOffice documents. I'm unable to test 7.6.0 as I
install LibreOffice from a package manager that doesn't support downgrading.

Steps to Reproduce:
1. Load any document in LibreOffice
2. Export to PDF with lossless compression
3. Export to PDF with various JPEG compression qualities

Actual Results:
File size is always the same (large due to lossless compression)

Expected Results:
File size should be different depending on compression options chosen


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 7.6.1.2 (X86_64) / LibreOffice Community
Build ID: 60(Build:2)
CPU threads: 16; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: en-GB (en_US.UTF-8); UI: en-US
SlackBuild for 7.6.1 by Eric Hameleers
Calc: threaded

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

Reply via email to