m5stack / M5Cloud

Micropython Web IDE beta version
http://io.m5stack.com/
145 stars 34 forks source link

FrameBuffer object #14

Closed pastukhov closed 6 years ago

pastukhov commented 6 years ago

Please implement a FrameBuffer object from micropython to be able show images from binary buffer? not only file.

0x1abin commented 6 years ago

Hi! Sorry to reply you late! the FrameBuffer module is Enable at latest version.

import framebuf
mlogo = framebuf.FrameBuffer(bytearray(17 * 17 * 2), 17, 17, framebuf.RGB565)