Nice! if you're after a bit more performance you might find it's better to write separate binary files for each 'slice' of the image. You can then load them directly without having to do atob.
Not sure if you spotted it but there is already a way to get slices of image as well: https://github.com/espruino/EspruinoWebTools/blob/master/examples/imageconverter.html#L80
© Espruino, powered by microcosm.
Report a problem