Dear MP Developers!
Here
https://github.com/Inqbus/micropython/tree/get_rect_raw
you will find a new function for MP FrameBuffer: get_rect_raw(x, y, w, h)
The function get_rect_raw will return all bytes striven by the given rectangle in the byte order/orientation of the framebuffer.
The aim of get_rect_raw is to make incremental updates on e-ink display faster.
Extensive testing is applied.
Only Mono displays are supported, so far.
This is my first contribution to MP, so please be hard to me. Point me to any glitch or error you find in my code.
Cheers,
Volker
FrameBuffer.get_rect_raw(x,y,w,h) for mono displays alpha test
-
- Posts: 5
- Joined: Thu Jun 10, 2021 9:38 pm