Saving canvas to a file

#1

I need to save canvas to a file inside a server directory to process it later in another program. When I use saveCanvas() browser creates a prompt window. How can I save a file to a specified directory without a prompt window?

#2

you can save it only locally on your PC,
but could upload it later ( to /data/ /assets/ )

#3
  • Browsers don’t allow scripts to save files locally w/o prompting the user!
  • Browsers do have a local storage. But it’s too small for anything larger than small text files AFAIK.
  • However, if you have access to a file server, you can save files there w/o user permission.