也许你开启了图像的抗锯齿和平滑过后,图像的边缘还是不太顺滑,你可以设置mipmap这个属性让图像的边缘变得顺滑
比如这样:
Image {
id: bgImg
anchors.fill: parent
smooth: true
antialiasing: true
mipmap: true
fillMode: Image.PreserveAspectCrop
}
也许你开启了图像的抗锯齿和平滑过后,图像的边缘还是不太顺滑,你可以设置mipmap这个属性让图像的边缘变得顺滑
比如这样:
Image {
id: bgImg
anchors.fill: parent
smooth: true
antialiasing: true
mipmap: true
fillMode: Image.PreserveAspectCrop
}