KhronosGroup / KhronosGroup/WebGL
texture-corner-cases-video tests Context2D pixels in wrong colour space
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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