DocumentationDynamic Media Image Serving and Rendering API

DigimarcInfo

Last update: Thu Jun 02 2022 00:00:00 GMT+0000 (Coordinated Universal Time)
  • Topics:
  • Dynamic Media Classic,SDK/API

CREATED FOR:

  • Developer
  • User

Digimarc image info. Enables Digimarc embedding and specifies the type of watermark and any associated image-specific data.

Properties

Four integer values, separated by commas.

*type*, *flags*, *val1*, *val2*

*type* enables Digimarc embedding and specifies the watermark type:

typeWatermark Type
0None.
1Basic.
2Image ID.
3Transaction ID.
4Copyright years.

*flags* is a bit field with three values. Set bit 0 to indicate copy-protected content, bit 1 to indicate restricted content, and bit 2 to indicate adult content:

flagsDescription
0-
1Copy-protected.
2Restricted.
3Copy-protected, restricted.
4Mature content.
5Copy protected, adult content.
6Restricted, adult content.
7Copy-protected, restricted, mature content.

The interpretation of *val1* and *val2* depend on *type*:

type
val1
val2
0
Not used.
Not used.
1
Not used.
Not used.
2
Image ID.
Not used.
3
Transaction ID.
Not used.
4
First copyright year.
Second copyright year.

Default

Inherited from attribute::DigimarcInfo if the field is not present or if it is empty.

Examples

“0,0,0,0” disables Digimarc watermarking for this image.

“1,5,0,0” specifies a basic watermark with the adult and copy-protected content flag set.

“2,0,4567,0” specifies a watermark with an image ID.

“3,2,56483,0” specifies a watermark with a transaction ID and the restricted content flag set.

“4,0,1998,2001” specifies a watermark with copyright years.

See also

attribute::DigimarcInfo , attribute::DigimarcId

recommendation-more-help
a26166cd-f2f4-45ce-996d-96a0f0d6cf49