Fix avatar picture aliasing and stretching in kickoff

Authored by ktatunov on May 2 2018, 2:43 PM.

Description

Fix avatar picture aliasing and stretching in kickoff

Summary:
QML Image element has some smoothing when scaling an image by default but it's not enough and the picture still looks a bit pixelated. This patch fixes that.
Also while I was at it, I added keeping the aspect ratio, because no one likes their avatars stretched.

BUG: 369327

Test Plan:
Before:


After:

Reviewers: Plasma, mart

Reviewed By: Plasma, mart

Subscribers: davidedmundson, plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D12469

Details

Committed
davidedmundsonMay 2 2018, 2:43 PM
Reviewer
Plasma
Differential Revision
D12469: Fix avatar picture aliasing and stretching in kickoff
Parents
R119:03560ae7733a: Update version number for 5.12.5 GIT_SILENT
Branches
Unknown
Tags
Unknown