Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Expose gamut information for displays

Aperta
#11,127 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
30/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
python
Ambito
api, embedded-iot

Direzione di ricerca

Start by reading the definitions of BusDisplay and EPaperDisplay and how their existing color attributes are exposed. The issue proposes a uniform display-gamut attribute but does not specify its representation or how it should work across display types; clarify that scope before implementation. Done means callers can distinguish the display gamuts described in the issue, including displays with equal color depth but different colors.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

displayio enhancement

For a generic program I would like to take the gamut of the display into account. Neither BusDisplay (having color_depth) nor EPaperDisplay (having grayscale, spectra6, advanced_color_epaper and attributes like highlight-color(s)) expose these attributes though.

For external displays, one can guess the gamut using type() and having some internal logic to map the driver to a gamut. For internal displays this is not possible - I would need to maintain a mapping table of board.board_id to the respective gamut of the display.

So my suggestion is to expose an uniform attribute with the gamut information across all display types (something like a color type code). Color-depth itself is not sufficient since we have e.g. black-white-red and black-white-yellow displays with the same color-depth.

Use case: optimized pre-rendering of content on a server for the respective device - the device would send the gamut of the display when requesting the content and the server would render accordingly.

Lingua principale
C
Stelle
4.6k
Fork
1.4k
Merge medio
1g 8h
PR unite (30g)
155

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di adafruit/circuitpython

Tutte le issue di adafruit/circuitpython

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.