Click here to Skip to main content
12,064,644 members (27,856 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: Java SE PHP JavaSE6 IE8 HTML5 , +
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 18-Apr-13 10:19am
Edited 18-Apr-13 10: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)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.160204.4 | Last Updated 18 Apr 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100