-
• #2
On which platform in particular?
On Bangle.js it's just not possible as it is unable to read back pixels that have been written to the display.
-
• #3
yes,thax
Can i read back pixels by using arrayBuffer?? -
• #4
nope... the HW is not setup / wired for it.
-
• #5
If you're creating something with
Graphics.createArrayBuffer
then yes you can read pixels back, and actually it's already done when drawing antialiased lines/polys/fonts.So in that case, RGBA could be added. It's just not been worth the extra overhead (it might end up making normal draws slower) when I don't think it would get used much - it's extremely rare you have a device with enough RAM to store a decent size RGB image.
Why Espruino did not suppert rgba color?
It's very convenient for UI interface.
Ex:
1 Attachment