You are reading a single comment by @d3nd3-o0 and its replies. Click here to read the full conversation.
  • 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

    like_this

    let rc2 = require("Storage").read("rc3.jpg");
    console.log(typeof(rc2));
    g.drawImage(rc2);
    
About

Avatar for d3nd3-o0 @d3nd3-o0 started