Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#971 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tài liệu
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
html
Lĩnh vực
documentation

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
HTML
Star
1.3k
Fork
192
Merge trung bình
3 giờ 36 phút
Pull request đã merge (30 ngày)
7

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của w3c/webcodecs

Tất cả issue của w3c/webcodecs

Issue tương tự

Thêm issue về Documentation

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.