Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Does getImageData not work in IE at all?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Fraction  
View profile  
 More options Jul 14 2009, 4:53 pm
From: Fraction <bran...@fractionofawhole.com>
Date: Tue, 14 Jul 2009 13:53:54 -0700 (PDT)
Local: Tues, Jul 14 2009 4:53 pm
Subject: Does getImageData not work in IE at all?
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 );

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Emil A Eklund  
View profile  
 More options Jul 14 2009, 5:14 pm
From: Emil A Eklund <e...@eae.net>
Date: Tue, 14 Jul 2009 14:14:47 -0700
Local: Tues, Jul 14 2009 5:14 pm
Subject: Re: Does getImageData not work in IE at all?

On Tue, 2009-07-14 at 13:53 -0700, Fraction wrote:
> 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?

ExCanvas does not support any of the ImageData functions (createImageData, getImageData, putImageData).
Given the way it's implemented it's highly unlikely that we'll be able to add support for it in the VML implementation of ExCanvas.
It should be doable in the Silverlight version but we haven't spent much time on that lately.

ExCanvas supports most of the functionality as specified in the initial apple canvas spec but few of the additions added by the gecko implementation and later speced by html5 working group. The reason being fairly simple, ExCanvas uses VML to do the actual drawing and many of the additions (such as getImageData) requires pixel level access which isn't provided by VML.

Your best bet for now would be to keep track of all commands used to draw the canvas and use those to generate an image server side.

--
Emil A Eklund
e...@eae.net

  signature.asc
< 1K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Fraction  
View profile  
 More options Jul 14 2009, 6:03 pm
From: Fraction <bran...@fractionofawhole.com>
Date: Tue, 14 Jul 2009 15:03:59 -0700 (PDT)
Local: Tues, Jul 14 2009 6:03 pm
Subject: Re: Does getImageData not work in IE at all?
What a bummer.  Oh well.  Server side solution here I come!  Thanks
for the very speedy response!

On Jul 14, 5:14 pm, Emil A Eklund <e...@eae.net> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Emil A Eklund  
View profile  
 More options Jul 14 2009, 6:10 pm
From: Emil A Eklund <e...@eae.net>
Date: Tue, 14 Jul 2009 15:10:45 -0700
Local: Tues, Jul 14 2009 6:10 pm
Subject: Re: Does getImageData not work in IE at all?

On Tue, 2009-07-14 at 15:03 -0700, Fraction wrote:
> What a bummer.  Oh well.  Server side solution here I come!  Thanks
> for the very speedy response!

Yeah it's a serious limitation but one that is pretty hard to overcome.
If you create a working server side implementation please consider
sharing it as others might find it useful as well.

Thanks.

--
Emil A Eklund
e...@eae.net

  signature.asc
< 1K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Fabien Ménager  
View profile  
 More options Jul 14 2009, 6:19 pm
From: Fabien Ménager <fabien.mena...@gmail.com>
Date: Tue, 14 Jul 2009 15:19:14 -0700 (PDT)
Local: Tues, Jul 14 2009 6:19 pm
Subject: Re: Does getImageData not work in IE at all?
A discussion about it began here : http://code.google.com/p/explorercanvas/issues/detail?id=41
I would like these methods to work too, I'd like to help if anyone
wants to make it work.

On Jul 15, 12:10 am, Emil A Eklund <e...@eae.net> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »