Javascript canvas RGB read back

ISSUE: When reading RGB data from a canvas image the returned R,G,B values are not a true representation of the values in the image. This has been observed during development testing of drawing/reading pixel data. Return R,G,B values vary slightly by +/- 1 suggesting a rounding error.

You can test this by right here. There is a link to a Javascript based program that draws a filed rectangle and reads back the RGB values. about half the time the test fails under Brave only.

(https://microstudio.dev/community/help/testers-wanted---to-check-if-rgb-values-are-returned-correctly/364/)

The test passes on Firefox, Chrome, Chromium, Opera.
The test fails on Brave (desktop and mobile)

Did the issue present with [default Shields settings] - Shields have no impact

Does the site function as expected when Shields are turned off? - No difference

Is there a specific Shields configuration that causes the site to break? If so, tell us that configuration. (yes/no): No

Does the site work as expected when using Chrome? Yes. according to other testers.

**Brave version (check About Brave): 1.38.109

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.