From Xojo Documentation
Supported PlatformsProject Types: Web Platforms: macOS, Windows, Linux
- For desktop applications, see Canvas.
New in 2012r2
Remember: Browsers maintain an uncompressed raster image of the contents of the canvas in memory so it can be displayed to the user. A 1024x1024 pixel canvas requires 4MB of RAM (4 bytes of color data per pixel). A browser may refuse a request to create a canvas that is too large. For instance iOS5 has a memory limit of 10MB for a single web page (it has been increased to 25MB in iOS6). On a Retina display, canvases require 4 times as much memory as a non-retina display.