/canvas-to-img

Converting HTML Canvas elements to IMG in place

Primary LanguageJavaScript

canvas-to-img

Very simple function that do convert all HTML Canvas elements to IMG in place, without any complications !

Requirements

canvas-to-img depends on jQuery.

Example

In your HTML's HEAD, add:

<script type="text/javascript" src="canvas-to-img.js"></script>

Then, simple fire the main function:

canvas_to_img();

Any contributions are welcomed !