我可以解决 IE7/8 中的 Silverlight 显色差异问题吗?
我有一个 Silverlight 控件,试图与底层 div 具有相同的背景,但我在 IE7/8 中遇到色差问题:
这对于 Firefox 来说似乎不是问题。
有谁有如何解决这个问题的提示吗? 我尽量避免在 Silverlight 和 alpha 透明度中使用无窗口模式,因为第一)速度较慢,第二)当您在 Firefox 中单击控件时会显示一个边界选择框。
I have a Silverlight control that tries to have the same background as the underlaying div, but I'm facing color difference problems in IE7/8:
That doesn't seems to be a problem for Firefox.
Does anyone has a tip how to solve this problem? I try to avoid using the windowless mode in Silverlight and alpha transparency as 1st) it's slower and 2nd) shows a bounding select box when you click in the control in Firefox.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
幸运的是我设法解决了这个问题。 看来这是伽玛校正问题。 PNG 文件允许您设置伽马校正信息,Silverlight 和 IE 似乎以不同的方式处理它。
此页面解释了问题并挽救了局面。 此工具对于从 PNG 中删除伽玛信息也是必需的。
希望这些信息对某人有用。
Fortunately I managed to solve the problem. Seems that it's a gamma correction problem. The PNG file allows you to set gamma correction information and Silverlight and IE seems to handle it differently.
This page explains the problem and saved the day. This tool as also necessary to remove the gamma information from the PNG.
Hopefully this information will be useful for someone.