Click here to Skip to main content
15,887,361 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
IE 8:

I am unable to print image from canvas.

http://makemydesign.com/demo/createdesign/designow-3.html

Click View Image is working in all other browsers but not in IE 8.

I have used the code below for it:
document.getElementById(' viewImageDownload').onclick = function() {

canvas.deactivateAll();

window.open(canvas.toDataURL('png'));
<a href=""></a>
return false;

};

Kindly tell any alternate option to save image in ie8
Posted
Updated 18-Apr-13 9:22am
v2
Comments
Sergey Alexandrovich Kryukov 18-Apr-13 15:32pm    
Wow, IE8 supports canvas! :-)
—SA
Prasad Khandekar 18-Apr-13 16:24pm    
Hello Garav,

IE8 does not support HTML5 Canvas, unless you are using one of the following.
1. http://philogb.github.io/jit/static/v20/Jit/Examples/Hypertree/example1.html
2. http://code.google.com/p/explorercanvas/
3. https://developers.google.com/chrome/chrome-frame/
4. http://burzak.com/proj/fxcanvas/
5. http://excanvas.sourceforge.net/

If that's the case then go through their documentation to see how it can be done.

Regards,
garav kumar mishra 19-Apr-13 0:22am    
Hi Prasad i have used excanvas its works in ie8 but only problem is that i m unable to save final canvas as image
.In other browser i can get final image.
u can see above link and click view image to get image

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900