Also the image doesn't draw when I choose optimal 3bit from the colors drop down list /palettes/format.
Uncaught Error: Unable to get pointer to palette. Image in flash?
at line 4 col 16
Are there only a subset that work with the Bangle.js?
On Bangle.js, 2 bit images blend from background(0) to foreground(1) colours
On Bangle.js, 4 bit images use the Apple Mac 16 color palette
On Bangle.js, 8 bit images use the Web Safe 216 color palette
let rc2 = require("Storage").read("rc3.jpg");
console.log(typeof(rc2));
g.drawImage(rc2);
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.
Also the image doesn't draw when I choose
optimal 3bit
from the colors drop down list /palettes/format.Are there only a subset that work with the Bangle.js?