搜尋 Mozilla 技術支援網站

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

Learn More

Why are my pixels changed on some computers

  • 1 回覆
  • 1 有這個問題
  • 4 次檢視
  • 最近回覆由 smo

more options

I use Canvas to getImageData. On most of our client's computers retrieved pixels are same as in the original image. But, for few users some of the R,G,B components are raised or lowered by 1.

Image is PNG with only IHDR, IDATA and IEND chunks. So there is no color correction data. I must say that on these computers everything works ok on Chrome.

Images are DATA URIs, if it makes any difference.

I use Canvas to getImageData. On most of our client's computers retrieved pixels are same as in the original image. But, for few users some of the R,G,B components are raised or lowered by 1. Image is PNG with only IHDR, IDATA and IEND chunks. So there is no color correction data. I must say that on these computers everything works ok on Chrome. Images are DATA URIs, if it makes any difference.

所有回覆 (1)

more options

A better placve for this kind of a question would be Mozilla Development network, starting for instance at canvas root page