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

Should copyTo preserve the X plane of RGBX/BGRX video frames?

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

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
活発
技術スタック
html
領域
documentation

調査の方向性

Read the RGBX/BGRX format requirements and the linked CodePen comparison to understand the Chrome and Firefox behaviors. Decide whether copyTo should preserve the fourth pixel element or write 255, then clarify the spec; done means the chosen behavior is stated unambiguously.

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

説明

The spec says that for RGBX/BGRX, The fourth element in each pixel is to be ignored.
When rendering or encoding those frames, it is clear that we should consider that they are opaque frames.

Browsers seem to disagree on how to interpret the spec for copyTo of RGBX/BGRX as per https://codepen.io/editor/youennf/pen/01a12f44-57ed-7980-a9ff-74b59ca91e68:

  • Chrome does preserve.
  • Firefox writes 255 as alpha.

We should probably choose one of these two options and make the spec clear about it.

主要言語
HTML
スター
1.3k
フォーク
192
平均マージ
3時間 36分
マージ済み PR(30日)
7

環境構築

はじめの一歩

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

w3c/webcodecs のほかの issue

w3c/webcodecs の issue をすべて見る

似ている issue

Documentation の issue をもっと見る

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

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