Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tamersoul/magic-wand-js
/ functions
Functions
4 in github.com/Tamersoul/magic-wand-js
⨍
Functions
4
◇
Types & classes
0
↓ 1 callers
Function
createBorderForBlur
Create a border index array of boundary points of the mask with radius-neighbors * @param {Object} mask: {Uint8Array} data, {int} width, {int} h
src/MagicWand.js:328
↓ 1 callers
Function
floodFillWithBorders
(image, px, py, colorThreshold, mask)
src/MagicWand.js:134
↓ 1 callers
Function
floodFillWithoutBorders
(image, px, py, colorThreshold, mask)
src/MagicWand.js:21
↓ 1 callers
Function
prepareMask
Create a compressed mask with a "white" border (1px border with zero values) for the contour tracing * @param {Object} mask: {Uint8Array} data,
src/MagicWand.js:660