I have a canvas with webGL-drawings, created by Blend4Web framework.
I tried to save image using toDataURL()
:
image= $('canvas')[0].toDataURL();
All platforms works perfect, except iOS (iphone & ipad)
I know about webGL aspects: Canvas toDataURL() returns blank image only in Firefox, preserveDrawingBuffer
is enabled.
Also, I know about limitations in iOS: iOS HTML5 Canvas toDataURL, but canvas is small, even 100×500px images are blank (it is 0,05MP, limit is 3MP).
I use toDataURL()
to send graphic information on server.