image to extract the watermark from (must be in a supported image format like JPEG, PNG, etc.)
Encode a watermark into an image.
image to be watermarked
number between 0 and 1 indicating how strongly the watermark should be applied
Optionalwatermark: stringoptional bitstring to be encoded, automatically generated if not provided
raw pixel data in RGB8 format (width * height * 3 bytes)
Staticnew
Decode a watermark from an image.