Firefox 3.5颜色修正黑客? [英] Firefox 3.5 color correction hack?

查看:108
本文介绍了Firefox 3.5颜色修正黑客?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在终于升级到FF 3.5之后,我注意到我的一些网页有颜色问题。具体来说,假设我有一个PNG图像,其中有一种颜色,这意味着与身体的背景颜色相同,但当它被渲染,它比它应该在Windows上更轻。

After finally getting down to upgrading to FF 3.5, I noticed that some of my web pages have color problems. Specifically, say I have a PNG image with a color in it which is meant to be the same as the body's background color but when it is rendered it comes out as lighter than it should be on Windows.

在Mac上我没有看到这个问题,也没有看到它在FF3.0 - Windows或其他。

On Mac I'm not seeing this issue, and nor am I seeing it on FF3.0 - Windows or otherwise.

hack我可以添加到我的代码,使FF不颜色更正PNG?

Is there some hack I can add to my code to make FF not color correct the PNG?

推荐答案

所有的PNG通过pngcrush并删除所有痕迹的颜色配置文件等。

I've managed to solve this by running all the PNGs through pngcrush and remove all traces of color profiles and such.

pngcrush -rem gAMA -rem cHRM -rem iCCP -rem sRGB in.png out.png

这篇关于Firefox 3.5颜色修正黑客?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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