位图缩放模式没有任何区别

发布于 2024-11-19 17:53:40 字数 386 浏览 5 评论 0原文

我已经测试了 BitmapScalingMode 但无法查看具有最高质量(Fant、Fantastic)至 HighQuality 的任何更好结果。现在我看到后面的值是相同的。这是微软框架的一个bug吗?

// Set the bitmap scaling mode for the image to render faster.
RenderOptions.SetBitmapScalingMode(MyImage, BitmapScalingMode.LowQuality);

I've tested the BitmapScalingMode but could not see any better result with maximum quality (Fant, Fantastic) to HighQuality. Now I see the values behind are the same. this is an bug of Microsofts Framework?

// Set the bitmap scaling mode for the image to render faster.
RenderOptions.SetBitmapScalingMode(MyImage, BitmapScalingMode.LowQuality);

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

鹿港巷口少年归 2024-11-26 17:53:40

FantHighQuality 是同义词,如 文档...

低质量模式与线性模式相同。
...
HighQuality 模式与 Fant 模式相同。

所以不,这不是一个错误。它按设计工作。

Fant and HighQuality are synonyms, as indicated in the documentation...

The LowQuality mode is the same as the Linear mode.
...
The HighQuality mode is the same as the Fant mode.

So no, it's not a bug. It works as designed.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文