<table><tr><td style="">broulik created this revision.<br />broulik added reviewers: Frameworks, dfaure, ngraham, pali, vonreth, antlarr.<br />broulik requested review of this revision.
</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/D14308">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Prefer downsampling over upscaling</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Dolphin requested 128px thumbnail here. Wine executables have 32, 48, and 256 icons. It would pick the 48 one:<br />
<a href="https://phabricator.kde.org/F6132594" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">F6132594: Screenshot_20180723_204523.png</a><br />
Afterwards it would use the 256 ones<br />
<a href="https://phabricator.kde.org/F6132596" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">F6132596: Screenshot_20180723_204442.png</a><br />
The effect isn't neccessarily as noticeable with every icon and I hardly have any "real" windows EXE files around to test :)<br />
Algo is basically copied from Plasma's wallpaper selection</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/D14308">https://phabricator.kde.org/D14308</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>thumbnail/icoutils_common.cpp</div></div></div><br /><div><strong>To: </strong>broulik, Frameworks, dfaure, ngraham, pali, vonreth, antlarr<br /></div>