JavaScript Restrictor
Browser extension that improves privacy and security
Loading...
Searching...
No Matches
wrappingL-CANVAS.js File Reference

Library of functions for the Canvas API wrappers. More...

Functions

function farbleCanvasDataBrave (rowIterator, width)
 

Detailed Description

Library of functions for the Canvas API wrappers.

See also
https://www.w3.org/TR/generic-sensor/
Author
Copyright (C) 2022 Libor Polčák
Copyright (C) 2021 Matus Svancar
License:
SPDX-License-Identifier: GPL-3.0-or-later

Supporting fuctions for Canvas API Wrappers

Function Documentation

◆ farbleCanvasDataBrave()

function farbleCanvasDataBrave (   rowIterator,
  width 
)

Farble image data, original Brave implementation-like

Parameters
dataRGBA shallow array, (0,0) coordinates are at the top left, see CanvasRenderingContext2D.prototype.getImageData for more details on the expected format. Note that the data are modified during the call.
heightHeight of the original canvas.
widthWidth of the original canvas.
Here is the call graph for this function:
Here is the caller graph for this function: