Skip to content

Instantly share code, notes, and snippets.

@yorzi
Created January 6, 2013 13:31
Show Gist options
  • Save yorzi/4467156 to your computer and use it in GitHub Desktop.
Save yorzi/4467156 to your computer and use it in GitHub Desktop.
# to invoke below code will pupup a download window and allow you to download a canvas as PNG file.
img_PNG = Canvas2Image.saveAsPNG(canvas);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment