如何让 Internet Explorer 不更改 PNG 图像中的颜色

发布于 2024-07-04 18:34:30 字数 237 浏览 5 评论 0 原文

当在我的网站上使用 PNG 文件(用 Paint.NET 制作)作为背景图像时,IE7 会更改颜色并实际显示图像的较暗版本,如 此处。 在此图像中,深色背景和背景图像应均为#001122,中等背景和背景图像应为#004466。 但IE7将图像分别更改为#000C1A和#003A5B。 FF3没问题。

When using PNG files (made with Paint.NET) as background images on my web site, IE7 is changing the colors and actually displaying a darker version of my images, as seen here. In this image, the dark background and background image should be both #001122, and the medium background and background image #004466. But IE7 changes the images to #000C1A and #003A5B respectively. No problem with FF3.

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

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

发布评论

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

评论(4

无人问我粥可暖 2024-07-11 18:34:30

PNGOUT 的替代方案是 TweakPNG。 带有 GUI,无需安装程序,非常容易删除 gAMA(只需右键单击并删除它!)

http: //entropymine.com/jason/tweakpng/

An alternative to PNGOUT is TweakPNG. Comes with a GUI and no installer, very easy to remove the gAMA (just right click and delete it!)

http://entropymine.com/jason/tweakpng/

孤独难免 2024-07-11 18:34:30

IE 有一个已知的 PNG gamma 信息错误,尽管我认为他们已经在版本 7 中修复了它:-?

我使用“PNG Crush”从 PNG 文件中删除伽玛信息。 我在 Windows 资源管理器中创建了右键单击快捷方式。 更多信息:在 Windows 中使用 pngcrush

IE has a known bug with PNG gamma info, though I thought they had fixed it in version 7 :-?

I remove the gamma info from PNG files using "PNG Crush". I've created a right-click shortcut in Windows explorer. Further info: using pngcrush in windows

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