pimoroni / inky

Combined library for V2/V3 Inky pHAT and Inky wHAT.
https://shop.pimoroni.com/?q=inky
MIT License
590 stars 122 forks source link

Feature Request update display.set_image() to support parcel update #138

Closed aaronorosen closed 1 year ago

aaronorosen commented 2 years ago

I understand that not all e-ink displays support parcel updates though from reading around it sounds like some do. It would be great if display.set_image() could be updated to be able to take an X, Y offset coordinates allowing one to rewrite different parts of the screen with an image.

Any pointers on how one might go about implementing this? I have the 600x448 pixels impression - does anyone know if parcel update of the display is support on this and which displays support this functionality?

Gadgetoid commented 2 years ago

AFAIK Inky Impression (uc8159 driver) does not support partial updates. The last displays I've seen that do have been some of our smaller, three colour displays. They had significant artefacts and ugliness (colour fringing around the update region) making partial updates a little bit too advanced to support in this library.

It's something that works best on single-colour displays coupled with high refresh rate techniques, but is otherwise a bit of a pipe dream.