19 lines
596 B
JavaScript
19 lines
596 B
JavaScript
export function chebyshevDistance(c1, c2) {
|
|
throw new Error('Not implemented');
|
|
}
|
|
export function createFloodFillMask(imageData, seedColor, tolerance) {
|
|
throw new Error('Not implemented');
|
|
}
|
|
export function applyMaskToImageData(imageData, mask, replacementColor) {
|
|
throw new Error('Not implemented');
|
|
}
|
|
export function softEdges(imageData, mask) {
|
|
throw new Error('Not implemented');
|
|
}
|
|
export function removeBackground(canvas, seedColor, tolerance = 30) {
|
|
throw new Error('Not implemented');
|
|
}
|
|
export async function pickColorFromCanvas(canvas) {
|
|
throw new Error('Not implemented');
|
|
}
|