DigimarcInfo

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:

type

Watermark Type

0

None.

1

Basic.

2

Image ID.

3

Transaction ID.

4

Copyright 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:

flags

Description

0

-

1

Copy-protected.

2

Restricted.

3

Copy-protected, restricted.

4

Mature content.

5

Copy protected, adult content.

6

Restricted, adult content.

7

Copy-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

On this page