Manipulating HTML5 canvas format

Canvas is an element in HTML5 which can be used for dynamic rendering of 2D graphics. It allows to draw pathes, boxes, texts, images and many other things. For instance, Canvas can be // // used to draw graphs, combine photos, or create simple (or complex) diagrams. The Canvas element is not supported in some older browsers, but is supported in recent versions of all major browsers. Using the Canvas is not very difficult. You do not have to know HTML, JavaScript or CSS. Aspose.Imaging library will generate all required code for you.

The Canvas element is not supported in some older browsers, but is supported in recent versions of all major browsers. Using the Canvas is not very difficult. You do not have to know HTML, JavaScript or CSS. Aspose.Imaging library will generate all required code for you.

Export to HTML5 Canvas image

Any vector image (SVG, WMF, CMX, etc.) can be used as a source for your Canvas images. The next code creates a simple Canvas image:

Add Canvas image to existing HTML page

You can embed more than one Canvas image within HTML page or update already exsiting page. In order to do that you need to export only the Canvas tag: