Maximum size of a <canvas> element in HTML



 All web browsers limit the canvas element’s width, height, and area.

For Google Chrome, the maximum allowable width and height are 32,767 pixels and the maximum allowable area is 268,435,456 pixels.

For Firefox, the maximum allowable width and height are 32,767 pixels and the maximum allowable area is 472,907,776 pixels.

 For IE, the maximum allowable width and height are 8,192 pixels.

 For IE Mobile, the maximum allowable width and height are 4,096 pixels.

Updated on: 2019-07-30T22:30:22+05:30

2K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements