Thursday, May 31, 2012

Converting canvas to image url problem in IE9

Hi,

I'm currently working on a software in GWT that loads an image into a Canvas object and performs a number or transformations on it. Finally a image url is extracted from the Canvas object using the Canvas.toDataUrl(String) function. 

Now to the issue: the above described works fine in all browsers except IE (it's IE9 but I have tried setting the browser to different compatibility modes, all with the same result). In all other browsers the toDataUrl() function returns a string that looks like:

data:image/png;base64,...

but in IE it only returns:

data: 
 
and nothing else. Has anyone experienced this issue before. What is it due to?


/Ulas

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/AXLJ_mdkbq4J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment