<table><tr><td style="">ktatunov 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/D12469">View Revision</a></tr></table><br /><div><div><p>Thanks for the pointer. Upon further investigation it looks like setting</p>

<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">sourceSize.width: width
sourceSize.height: height</pre></div>

<p>instead of mipmap works well for more or less square images. However, for images that are significantly wider than they are taller (or vice versa) quality is degrading.</p>

<p><a href="https://phabricator.kde.org/F5819557" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">F5819557: kickoff-sourcesize-after-horizontal.png</a></p>

<p><a href="https://phabricator.kde.org/F5819559" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">F5819559: kickoff-sourcesize-after-vertical.png</a></p>

<p>AFAICT, <tt style="background: #ebebeb; font-size: 13px;">Image</tt> in qml loads the image in a mode equivalent to <tt style="background: #ebebeb; font-size: 13px;">Image.PreserveAspectCrop</tt> (at least in this case) after which <tt style="background: #ebebeb; font-size: 13px;">Image</tt>'s scaling kicks in. So images that are really wide or really tall end up being loaded at a resolution that is way off and then scaled.<br />
I guess it's not that big of a price to pay so I'll replace <tt style="background: #ebebeb; font-size: 13px;">mipmap</tt> with <tt style="background: #ebebeb; font-size: 13px;">sourceSize</tt>.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R119 Plasma Desktop</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D12469">https://phabricator.kde.org/D12469</a></div></div><br /><div><strong>To: </strong>ktatunov, Plasma<br /><strong>Cc: </strong>davidedmundson, plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>