Add grayscale support for B/W displays
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- python, raspberry-pi
- Área
- embedded-iot
Línea de trabajo
Start by reading the Waveshare epd2in7.py reference linked in the issue and trace how PaperPi initializes a display and prepares its image buffer. The issue names init_4Gray, getBuffer_4Gray, and display_4Gray as the grayscale entry points. Done means PaperPi can use the four-color palette and display grayscale on the target screen; check whether support for other models is in scope.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Is your feature request related to a problem? Please describe.
I have a 2.7 inch Waveshare HAT with a resolution of 264x176. On such a small screen, fonts are mostly hard to read without antialiasing.
Example with PaperPi: https://i0.wp.com/dronebotworkshop.com/wp-content/uploads/2022/02/paperpi-weather.png
Describe the solution you'd like
The display supports 4 shades of gray, as can be seen in https://github.com/waveshareteam/e-Paper/blob/master/RaspberryPi_JetsonNano/python/lib/waveshare_epd/epd2in7.py#L436.
This also seems to apply to other models.
To use it, one must create a 4 color image with palette #000000, #808080, #c0c0c0, #ffffff, and call init_4Gray, getBuffer_4Gray and display_4Gray instead of the methods without the _4Gray suffix.
Describe alternatives you've considered
More dithering in black & white doesn't help.
Additional context
For comparison, I converted the same input image to B/W and 4 colors, and the difference is significant:
- Lenguaje dominante
- Python
- Estrellas
- 205
- Forks
- 17
- Merge medio
- 6 h 13 min
- PR fusionados (30 d)
- 39
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de txoof/PaperPi
-
area:core bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 1/5 Menos de una hora Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
area:web needs-decision
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
Los mantenedores suelen responder en 1 día
-
area:core enhancement
Dificultad 4/5 1-2 días Aptitud para principiantes 42/100
Los mantenedores suelen responder en 1 día
Todos los issues de txoof/PaperPi
Issues similares
-
Let's Encrypt certificate neededAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 63/100
GAM-team/got-your-back#547 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
UKGovernmentBEIS/inspect_ai#5821 ·
Los mantenedores suelen responder en 1 día
-
docs help wanted
Dificultad 1/5 1-3 horas Aptitud para principiantes 75/100
-
evidence wanted good first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
open-coder-ai/agentseam#195 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día