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

https://w3c.github.io/webcodecs/#convert-predefinedcolorspace-to-videocolorspace is only handling two values out four

Đang mở
#973 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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
55/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
html
Lĩnh vực
api

Hướng nghiên cứu

Read the WebCodecs algorithm for converting PredefinedColorSpace to VideoColorSpace and the VideoFrame.copyTo steps. Trace how the four canvas color space values reach the conversion, especially when options.format is set. The issue is resolved when the spec clearly handles the linear variants or defines when copyTo rejects them.

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

Mô tả

PredefinedColorSpace can have "srgb", "srgb-linear", "display-p3", "display-p3-linear".
https://w3c.github.io/webcodecs/#convert-predefinedcolorspace-to-videocolorspace is asserting that value can be "srgb" or "display-p3".

It seems that either the algorithm should be updated to support the linear variants or copyTo should somehow reject (maybe only in the case where options.format is set?).

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

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ề Backend & API Design

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.