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

            Bug ID: 116904
           Summary: UNO: LibreOffice ignores MaxImageResolution
           Product: LibreOffice
           Version: 5.4.5.1 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: sdk
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: julian.steinkell...@fabasoft.com

Description:
After updating from LibreOffice 5.1.5.2 to 5.4.5.1 docx-files containing a
picture with high DPI do not result in smaller pdfs when converting with
MaxImageResolution=75 compared to converting with MaxImageResolution=300.

Steps to Reproduce:
1.
Install unoconv from https://github.com/dagwieers/unoconv/blob/master/unoconv
Just this file is needed:
https://github.com/dagwieers/unoconv/blob/master/unoconv

2.
Install LibreOffice 5.4.5.1
unoconv -e MaxImageResolution=300 -f pdf docx.docx
stat -c %s docx.pdf
unoconv -e MaxImageResolution=75 -f pdf docx.docx
stat -c %s docx.pdf

3.
Install LibreOffice 5.1.5.2
unoconv -e MaxImageResolution=300 -f pdf docx.docx
stat -c %s docx.pdf
unoconv -e MaxImageResolution=75 -f pdf docx.docx
stat -c %s docx.pdf

Actual Results:  
Point 2: equal file sizes of the pdf after first and second conversion.
Point 3: PDF converted with MaxImageResolution=75 is smaller than the pdf
converted with MaxImageResolution=300.

Expected Results:
Second pdf should be smaller due to picture with less DPI in pdf after the
second conversion.


Reproducible: Always


User Profile Reset: No



Additional Info:


User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to