搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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: