Use a blob to export the blocks area as an Image
Apparently the canvas.toDataURL method does not work reliably when the blocks image is large. Instead convert it to a block with canvas.toBlob and create a URL from the blob. This seems to work with blocks areas that fail with the toDataURL approach. Change-Id: I8706c91c23e1522be193f5391afb6390ea036f81
Showing
Please register or sign in to comment