Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Expose gamut information for displays

オープン
#11,127 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
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 の本文から書いたものです。

説明

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.

主要言語
C
スター
4.6k
フォーク
1.4k
平均マージ
1日 8時間
マージ済み PR(30日)
155

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

adafruit/circuitpython のほかの issue

adafruit/circuitpython の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。