Just like the subject says. Having problems trying to use
getImageData in any version of IE. Is there a fix to this or am I
just up a river with no paddle?
EX CODE: (mootools framework) _image is passed in the function
parameters
var canvas = new Element( 'canvas' );
canvas.width = _image.width;
canvas.height = _image.height;
if ( typeof G_vmlCanvasManager != 'undefined' ) {
G_vmlCanvasManager.initElement( canvas );
}
var canvasContext = canvas.getContext( '2d' );
canvasContext.drawImage( _image, 0, 0 );
// the next line is where it comes to a screeching halt in IE.
bummer.
var imageData = canvasContext.getImageData( 0, 0, _image.width,
_image.height );