New issue 84359 by golo...@gmail.com: getImageData (putImageData) incorrect
works in google chrome 13
http://code.google.com/p/chromium/issues/detail?id=84359
Chrome Version : 13.0.779.0
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
URLs (if applicable) :
http://www.ajaxblender.com/article-sources/jquery/convert-image-grayscale/index.html
Other browsers tested: Opera, Firefox, Google Chrome, IE9
Add OK or FAIL after other browsers where you have tested this issue:
Safari 5: OK
Firefox 4.x: OK
IE 7/8/9: OK
What steps will reproduce the problem?
1. Google Chrome 12 correct works
2. Google Chrome 13 incorrect works getImageData (putImageData)
3.
What is the expected result?
Normal Image
What happens instead?
Empty Image (funn alpha)
Please provide any additional information below. Attach a screenshot if
possible.
http://code.google.com/p/chromium/issues/detail?id=84358 - Plese Close!
toDataURL is correct.
I can also reproduce this issue in Chrome 13 Canary with my demo
http://hildr.luminance.org/Platformer/Platformer.html. getImageData returns
a correctly-sized buffer, but all the values are always 0. This makes it
impossible to do pixel manipulation with canvas (luckily my demo only uses
it for a visual effect, so at present I am able to detect the bad
getImageData and bail out.)
Browsers with working getImageData will display yellow crystals in the
platformer demo; Chrome 13 displays white ones.