Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

saveImageURL

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
HI,
i implement the paint using JavaScript.
its work successfully in Mozilla firebox.
now i m trying for save the image to hard drive.
i use to DataURL it also working but it display the image in browser
i use it as-

[button on click ="location = document.get Element By Id 'canvas'.to Data URL" ]save[/button]
its working.

now i use the function as-

function save:
var canvas = document.get Element By Id "canvas";
var data url = canvas.to Data URL;
save Image URL ( dataurl,null,"Save Image Title", false, false, null);
:

its gives the error as:
Error: saveImageURL is not defined
Source File: http://localhost:8080/Canvas/index.html
Line: 160

what is wrong what i use for save the image at local m/c.
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Please do not post the same question more than once. Please continue any discussion in your original topic on this subject.
 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic