为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Firefox is not reproducing the colors of a JPG correctly (IE is fine)

  • 1 个回答
  • 2 人有此问题
  • 7 次查看
  • 最后回复者为 cor-el

more options

I'm designing a website, so I care about this. The problem is the display of a critical background on the site which is based on a smoothly dithered JPG image.

I have 4 test cases for this particular dithered jpg image: 1) Win 7 64-bit Firefox (v5.0 - most recent) 2) Win 7 64-bit IE (v9) 3) XP SP3 32-bit laptop Firefox (v5.0 - most recent) 4) XP SP3 32-bit laptop IE (v8)

Only case (3) has an issue.

The dithered JPG image runs from #336633 (top) to #669933 (bottom) - a dithered range of greens. When opened directly from the laptop in the browser (file/open), it displays differently only in case (3). In all other cases, color-pixel tools (e.g., Instant Eyedropper) identify the top and bottom colors correctly as #336633 and #669933. For case (3), the colors are identified as #227B37 and #52B833.

There is another area of the same website page that uses the image which is set via CSS to #669933, and it displays properly.

When this JPG is opened directly in various other image viewing tools on the laptop, it is correct. Only case (3) is different.

This is so bad I will have to drastically change the website design. Before I do so, can you advise me in any way about what is going wrong?

I'm designing a website, so I care about this. The problem is the display of a critical background on the site which is based on a smoothly dithered JPG image. I have 4 test cases for this particular dithered jpg image: 1) Win 7 64-bit Firefox (v5.0 - most recent) 2) Win 7 64-bit IE (v9) 3) XP SP3 32-bit laptop Firefox (v5.0 - most recent) 4) XP SP3 32-bit laptop IE (v8) Only case (3) has an issue. The dithered JPG image runs from #336633 (top) to #669933 (bottom) - a dithered range of greens. When opened directly from the laptop in the browser (file/open), it displays differently only in case (3). In all other cases, color-pixel tools (e.g., Instant Eyedropper) identify the top and bottom colors correctly as #336633 and #669933. For case (3), the colors are identified as #227B37 and #52B833. There is another area of the same website page that uses the image which is set via CSS to #669933, and it displays properly. When this JPG is opened directly in various other image viewing tools on the laptop, it is correct. Only case (3) is different. This is so bad I will have to drastically change the website design. Before I do so, can you advise me in any way about what is going wrong?

所有回复 (1)

more options

Do the images have an embedded color profile?


This can be caused by a problem with the color profile for your display monitor or color profiles embedded in images.
You can disable color management to test that.
You can set the pref gfx.color_management.mode to 0 on the about:config page to disable Color Management.
You need to close and restart Firefox to make the change effective.

See: