Safari 6图像颜色不正确 [英] Safari 6 images colored incorrectly

查看:116
本文介绍了Safari 6图像颜色不正确的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望我能为这个问题找到更有帮助的标题,但说实话,我不知道最新情况。

I wish I could have a more helpful title for this question, but honestly I have no idea whats going on.

升级到safari 6后,其中一些我网站上的图片现在看起来是浅色调?这是一个奇怪的问题需要解释,所以我拍了一些屏幕截图,希望能更好地解释这个问题。

After upgrading to safari 6, some of the images on my site now appear to be lighter shades? This is a weird problem to explain, so I took some screenshots that will hopefully explain the problem better.

http://i.imgur.com/TAgH6.png

左边是截图我的网站,他们自己的两个图像(也在野生动物园)。正如您所看到的,它们在网站上明显更轻,与自身相比。现在我确定你认为这与图像部分透明或其他东西有关,但是黑色的截图来自chrome(看起来与safari 5.2相同)

On the left is the screenshot from my site, with the two images by themselves (also in safari). As you can see, they are noticeably lighter on the site vs by themselves. Now I'm sure you're thinking this has something to do with the images being partially transparent or something, but heres a screenshot from chrome (which looks identical to safari 5.2)

http://i.imgur.com/Eyo4K.png

绝对没有颜色差异。

这些都是标准的png-24图像,就像我说在safari 5.2中一切看起来都很正常,并且在所有其他主流浏览器中看起来都很好。
另外,如果我在画布上绘制这些图像而不是使用IMG标签,颜色差异就会消失。我没有任何样式可以对IMG标签做任何事情,更不用说菜单的重复背景图像不会分享这个问题,背景图块也没有。

These are all standard png-24 images, and like I said everything looked perfectly normal in safari 5.2 and continues to look fine in all other major browsers. ADDITIONALLY, if I draw these images on a canvas as opposed to using IMG tags, the color difference disappears. I don't have any kind of styling that would do anything to IMG tags, not to mention that the repeated background image for the menu does not share this problem, nor does the background tile.

如果你有safari 6并想亲自去看看,我的网站是impiety.net

If you have safari 6 and want to go look at things yourself, my site is impiety.net

推荐答案

似乎是Safari 6中的一个错误。搜索已发现的报告,其中重复的背景图像显示颜色偏移,而非重复图像保持正确的颜色。在某些情况下,它只会在页面重新加载后发生。
看起来太奇怪了。应该由Apple修复。

Seems to be a bug in Safari 6. Searching around found reports of cases where repeated background images shows color shift, while non-repeating images keeps right color. In some cases it only happens after a page reload. Looks too weird to be worked around. Should be fixed by Apple.

http:// freewaytalk.net/thread/view/114471

https://discussions.apple.com/thread/4146673

希望有所帮助。

这篇关于Safari 6图像颜色不正确的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆