I have got good results using offsets and writing all image-data into one file in my imageclock app. The offsets/metadata are created beforehand in the customizer on watchface upload to allow different resolution images in the big file and stored in a specific json alongside the big resource file. On use they are converted to image objects in app.js#L84 and drawn in app.js#L287
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I have got good results using offsets and writing all image-data into one file in my imageclock app. The offsets/metadata are created beforehand in the customizer on watchface upload to allow different resolution images in the big file and stored in a specific json alongside the big resource file. On use they are converted to image objects in app.js#L84 and drawn in app.js#L287