Html5 Canvas
How To Save Html5 Canvas To Image File Example
This article will tell you how to save the canvas shapes to an image file after you draw them. The image file can not be saved to your local computer file system in javascript directly, it is a base64 encoded binary string that can be assigned to the Html <img> tag’s src attribute, or send …
How To Save/Restore Html5 Canvas Context State Example
When you develop an Html5 app, you sometimes need to save the current canvas state data ( such as color, line width, font .etc ) before drawing another shape. And after drawing another shape, you can restore the canvas state to the saved one and continue drawing. This article will tell you how to implement …
How To Save/Restore Html5 Canvas Context State Example Read More »