<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - reduce image resolution at insertion time"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=77407#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - reduce image resolution at insertion time"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=77407">bug 77407</a>
from <span class="vcard"><a class="email" href="mailto:jerome.bouat@laposte.net" title="Jérôme <jerome.bouat@laposte.net>"> <span class="fn">Jérôme</span></a>
</span></b>
<pre>In reply to <a href="show_bug.cgi?id=77407#c7">comment #7</a> and #8.
Maybe the settings dialog could provide a choice between :
- no compression
- compression at insert time
- compression on save
About the resolution, I imagine 2 different parameters :
A. the resolution limit which prevents the compression if the image resolution
is below this limit
B. the new resolution applied when it compresses the image
As a default parameter we could apply this ratio :
A = 2.0 * B
This would avoid the compression of an image which already has a resolution
between A and B and thus avoid a size increase (although the quality decreases
in most cases).
Of course, the compression would maintain the kind of the original image (lossy
or lossless compression).
For lossless compression : a check box could provide a "use indexed colours"
option (with parameter 256 by default ?).</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>