Encode a Blob as {mime, base64}.
Blob
{mime, base64}
Chunked rather than String.fromCharCode(...bytes): spreading a multi-megabyte screenshot into an argument list overflows the call stack, and a screenshot of a 4K kiosk display is exactly that size.
String.fromCharCode(...bytes)
Encode a
Blobas{mime, base64}.Chunked rather than
String.fromCharCode(...bytes): spreading a multi-megabyte screenshot into an argument list overflows the call stack, and a screenshot of a 4K kiosk display is exactly that size.