Skip to content
Menu
Auto
English

DetectInvisibleWatermarkOptions

Defined in: invisible-watermark.ts:111

Options for recovering and authenticating an invisible trace locator.

image: InvisibleWatermarkImage

Defined in: invisible-watermark.ts:113

Image that may contain an invisible trace watermark.


key: string

Defined in: invisible-watermark.ts:115

The same secret that was used to embed the locator.


optional maxSize?: number

Defined in: invisible-watermark.ts:121

Maximum decoded width or height. Keep this consistent with embedding.

2048

optional search?: InvisibleWatermarkSearch

Defined in: invisible-watermark.ts:119

Use robust for 0.9×–1.1× resize and limited crop recovery at a higher CPU cost.

fast


optional strength?: InvisibleWatermarkStrength

Defined in: invisible-watermark.ts:117

The same pixel-change strength used during embedding.

balanced


optional worker?: InvisibleWatermarkWorkerOptions

Defined in: invisible-watermark.ts:123

Run pixel detection in a dedicated browser Worker. Ignored on native.