DetectInvisibleWatermarkOptions
Defined in: invisible-watermark.ts:111
Options for recovering and authenticating an invisible trace locator.
Properties
Section titled “Properties”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.
maxSize?
Section titled “maxSize?”
optionalmaxSize?:number
Defined in: invisible-watermark.ts:121
Maximum decoded width or height. Keep this consistent with embedding.
Default Value
Section titled “Default Value”2048search?
Section titled “search?”
optionalsearch?:InvisibleWatermarkSearch
Defined in: invisible-watermark.ts:119
Use robust for 0.9×–1.1× resize and limited crop recovery at a higher CPU cost.
Default Value
Section titled “Default Value”fast
strength?
Section titled “strength?”
optionalstrength?:InvisibleWatermarkStrength
Defined in: invisible-watermark.ts:117
The same pixel-change strength used during embedding.
Default Value
Section titled “Default Value”balanced
worker?
Section titled “worker?”
optionalworker?:InvisibleWatermarkWorkerOptions
Defined in: invisible-watermark.ts:123
Run pixel detection in a dedicated browser Worker. Ignored on native.