<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - UNO: LibreOffice ignores MaxImageResolution"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=116904">116904</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>UNO: LibreOffice ignores MaxImageResolution
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>5.4.5.1 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>sdk
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>julian.steinkellner@fabasoft.com
</td>
</tr></table>
<p>
<div>
<pre>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 <a href="https://github.com/dagwieers/unoconv/blob/master/unoconv">https://github.com/dagwieers/unoconv/blob/master/unoconv</a>
Just this file is needed:
<a href="https://github.com/dagwieers/unoconv/blob/master/unoconv">https://github.com/dagwieers/unoconv/blob/master/unoconv</a>
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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>