Improve images resizing quality accross the board
- Using mipmap: true and smooth: true for images that are downscaled (avatar, icons, ...) - Using mipmap: false and smooth: true for images that are potentially upscaled (background, overview, ...)
This commit is contained in:
parent
02e6367d73
commit
260c74b3e0
12 changed files with 19 additions and 7 deletions
|
|
@ -135,7 +135,8 @@ WlSessionLock {
|
|||
fillMode: Image.PreserveAspectCrop
|
||||
source: WallpaperManager.currentWallpaper !== "" ? WallpaperManager.currentWallpaper : ""
|
||||
cache: true
|
||||
smooth: false
|
||||
smooth: true
|
||||
mipmap: false
|
||||
visible: true // source for MultiEffect
|
||||
}
|
||||
|
||||
|
|
@ -168,6 +169,8 @@ WlSessionLock {
|
|||
fillMode: Image.PreserveAspectCrop
|
||||
visible: false
|
||||
asynchronous: true
|
||||
mipmap: true
|
||||
smooth: true
|
||||
}
|
||||
OpacityMask {
|
||||
anchors.fill: avatarImage
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue