By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,238 Members | 1,518 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,238 IT Pros & Developers. It's quick & easy.

save a canvas locally in IE JavaScript

P: 11
Hi I want to save a canvas locally in IE with execCommand("SaveAs"). Here is my code.
Expand|Select|Wrap|Line Numbers
  1.  var img = canvas.toDataURL("image/png").replace("image/png", "image/octet-stream");     
  2.  window.win = open (img);
  3.  setTimeout('win.document.execCommand("SaveAs")', 1000);
However when new window opened the page cannot be displayed. data:image/octet-stream;base64... How can I solve this problem? Thank you very much...
Apr 11 '13 #1
Share this Question
Share on Google+
1 Reply


omerbutt
100+
P: 638
hi please provide the complete part of the code that you are working on so that the problem could be identified
regards,
Omer ASlam
Apr 25 '13 #2

Post your reply

Sign in to post your reply or Sign up for a free account.