Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Expose gamut information for displays

Abierto
#11,127 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
30/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Tranquilo
Stack tecnológico
python
Área
api, embedded-iot

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
C
Estrellas
4.6k
Forks
1.4k
Merge medio
1 d 1 h
PR fusionados (30 d)
164

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de adafruit/circuitpython

Todos los issues de adafruit/circuitpython

Issues similares

Más issues de C

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.