Monday, 6 February 2017

DIFFERENCE BETWEEN CANVAS AND SVG

CANVAS

SVG
Resolution Dependent.

Resolution Independent.
Support for Event handlers.
No support for Event handlers.

Poor text rendering capabilities.
Best suited for applications with large rendering areas like Google Maps.

We can save the resulting image as .png or .jpg

Slow rendering if complex.
Suited for game application.

Not suited for game application.

No comments:

Post a Comment