KhronosGroup / KhronosGroup/WebGL

texture-corner-cases-video tests Context2D pixels in wrong colour space

Open
#3,341 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
2.9k
Forks
704
Avg merge
2d 9h
Merged PRs (30d)
4

Description

texture-corner-cases-video tests Context2D pixels in wrong colour space

The video pixel values are (say) 255, ... but the video is not in sRGB.
When drawn to Context2D, the values should be converted to sRGB.

The test should assert the sRGB values, not the original video values

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the texture-corner-cases-video test and run it to inspect how Context2D pixel values are currently compared. Update the expectation to use the video's values converted to sRGB, then verify the test passes and asserts the converted values rather than the original video values.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
testing, web-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.