Expose gamut information for displays
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 30/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
- 技术栈
- python
- 领域
- api, embedded-iot
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- C
- 星标
- 4.6k
- 派生
- 1.4k
- 平均合并
- 1 天 7 小时
- 30 天内合并 PR
- 163
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
adafruit/circuitpython 的其他 Issue
-
bug
难度 4/5 1-2 天 新手友好度 35/100
adafruit/circuitpython#11641 ·
维护者通常 1 天内回复
-
bug esp32 web workflow
难度 5/5 一周以上 新手友好度 12/100
adafruit/circuitpython#11616 · 9 条评论 ·
维护者通常 1 天内回复
-
nordic
难度 4/5 3-5 天 新手友好度 30/100
adafruit/circuitpython#11611 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 15/100
adafruit/circuitpython#11606 ·
维护者通常 1 天内回复
-
busio zephyr
难度 5/5 一周以上 新手友好度 18/100
adafruit/circuitpython#11605 ·
维护者通常 1 天内回复
查看 adafruit/circuitpython 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
sumatrapdfreader/sumatrapdf#6403 ·
-
followup
难度 1/5 1 小时以内 新手友好度 83/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
oetiker/rrdtool-1.x#1392 ·
-
bottomless: finished S3 upload tasks are never reaped, so sqld memory grows by ~10 KB per WAL batch未关闭
难度 2/5 1-3 小时 新手友好度 83/100
tursodatabase/libsql#2298 ·
-
enhancement good first issue
难度 2/5 1-3 小时 新手友好度 85/100