<table><tr><td style="">bruns added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D26648">View Revision</a></tr></table><br /><div><div><p>Unfortunately, the QImage<strong>Reader</strong> documentation is not very clear about the effect of <tt style="background: #ebebeb; font-size: 13px;">setQuality(..)</tt>. There is a reference to <tt style="background: #ebebeb; font-size: 13px;">https://doc.qt.io/qt-5/qimagereader.html#setScaledSize</tt>, and that in turn has a reference to <tt style="background: #ebebeb; font-size: 13px;">QImage::scale()</tt> (which no longer exists in Qt5) and <tt style="background: #ebebeb; font-size: 13px;">Qt::SmoothScaling</tt>.</p>
<p>Looking a the images (which lack any legend, so are hard to interpret), a quality of 0 seems to trigger something like nearest neighbor scaling.</p>
<p>For very large images, a fast approximation may still be better.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R320 KIO Extras</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D26648">https://phabricator.kde.org/D26648</a></div></div><br /><div><strong>To: </strong>chroniceel, broulik, Frameworks, VDG<br /><strong>Cc: </strong>bruns, ngraham, kde-frameworks-devel, kfm-devel, pberestov, iasensio, fprice, LeGast00n, MrPepe, fbampaloukas, alexde, GB_2, Codezela, feverfew, meven, michaelh, spoorun, navarromorales, firef, andrebarros, emmanuelp, mikesomov<br /></div>