Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#971 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Documentazione
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
html
Ambito
documentation

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
HTML
Stelle
1.3k
Fork
192
Merge medio
3h 36m
PR unite (30g)
7

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di w3c/webcodecs

Tutte le issue di w3c/webcodecs

Issue simili

Altre issue su Documentation

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.