pixel.RGB555 or pixel.BGR555 ?

オープン
#818 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
38/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
go
領域
embedded-iot

調査の方向性

Read pixel/pixel.go around the linked lines 147–151 and check how pixel.NewImageFromBytes() interprets the RGB555 byte order. Decide whether the existing name should change to BGR555, considering the planned ARGB1555 or ABGR1555 formats; done means the pixel format names accurately describe their channel order.

索引モデルが issue の本文から書いたものです。

説明

@aykevl
It might be better to name pixel.RGB555 as pixel.BGR555.
I think the name becomes very important when using pixel.NewImageFromBytes().

https://github.com/tinygo-org/drivers/blob/v0.33.0/pixel/pixel.go#L147-L151

I’m planning to add either ARGB1555 or ABGR1555 in the near future.
When adding this, whether it’s RGB or BGR will become very important.

(I’m planning to add support for loading transparent PNGs.)

主要言語
Go
スター
756
フォーク
251
平均マージ
7日 12時間
マージ済み PR(30日)
8

環境構築

はじめの一歩

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

tinygo-org/drivers のほかの issue

tinygo-org/drivers の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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