Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dtk6declarative] png图片缩放后显示效果问题 #191

Open
rb-union opened this issue Aug 1, 2024 · 1 comment
Open

[dtk6declarative] png图片缩放后显示效果问题 #191

rb-union opened this issue Aug 1, 2024 · 1 comment

Comments

@rb-union
Copy link

rb-union commented Aug 1, 2024

SUMMARY | 问题概要

Image对大图设置sourceSize后,png图片的半透明区域显示异常

DTK and OS VERSIONS | DTK&系统版本信息

Distribution: deepin v23 0719
Package: libdtk6declarative 6.0.16+u003

Minimal Reproducible Case Code | 最小复现案例代码

qmldemo2.zip

OBSERVED RESULT | 观察到的结果

image6

EXPECTED RESULT | 期望的结果

期望半透明区域显示缩放前后比例一致,和Dtk5显示效果相同

ADDITIONAL INFORMATION | 额外补充

No response

@kegechen
Copy link
Contributor

image
https://doc.qt.io/qt-6/qml-qtquick-image.html

image
不过当 sourcesize == image.size 时有点发黑。
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants