D26648: Improved quality of JPEG thumbnails

Stefan BrĂ¼ns noreply at phabricator.kde.org
Tue Jan 14 03:20:43 GMT 2020


bruns added a comment.


  Unfortunately, the QImage**Reader** documentation is not very clear about the effect of `setQuality(..)`. There is a reference to `https://doc.qt.io/qt-5/qimagereader.html#setScaledSize`, and that in turn has a reference to `QImage::scale()` (which no longer exists in Qt5) and `Qt::SmoothScaling`.
  
  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.
  
  For very large images, a fast approximation may still be better.

REPOSITORY
  R320 KIO Extras

REVISION DETAIL
  https://phabricator.kde.org/D26648

To: chroniceel, broulik, #frameworks, #vdg
Cc: 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200114/2e249f57/attachment.html>


More information about the Kde-frameworks-devel mailing list