Skip to main content

Watermark

You can use the Watermark service to apply some text and a pattern overlay to any image. A watermark on a photo from an identity verification deters unauthorised reuse in other contexts.

Here is an example of a watermark on a Dutch passport image (specimen):

Watermark

Watermark

Use case example

The Dutch law requires that images of ID documents are stored with redacted BSN and photo, and have a watermark applied to it.

The watermark indicates:

  • Who: Which organisation asked for it.
  • Why: The purpose/objective.
  • When: The date the end-user provided the image.

Add watermark to an image

You can add a watermark to an image in three different ways (see below code examples).

In all cases, you must add the watermark parameters, title (who), description (why) and date (when).

Redact before watermarking

Redaction will struggle if you use an unclear image, for example an image that has been watermarked first. Therefore, you should always redact before you add a watermark.

Apply watermark directly on an image

You can apply a watermark on any image using the Watermark service.

In this example, you apply the watermark on an image that is sent directly in the request:

{
"image":"data:image/jpeg;base64,<BASE64IMAGE>",
"watermark":{
"title":"Signicat",
"description":"Bank Account",
"date":"21-03-2024"
}
}

Apply watermark to an image from a dossier

In this example, the watermark is appplied on an image from a dossier:

{
"dossierId":"37191afe-25b3-4c30-b42a-b0ab64aa1d64",
"imageDepiction":"front",
"watermark":{
"title":"Signicat",
"description":"Bank Account",
"date":"21-03-2024"
}
}

Apply watermark to an image from a process

In this example, the watermark is appplied on an image from a process:

{
"dossierId":"37191afe-25b3-4c30-b42a-b0ab64aa1d64",
"processId":"8afb3ac6-6780-42e4-bbc2-3713e2f6d97c",
"imageDepiction":"front",
"watermark":{
"title":"Signicat",
"description":"Bank Account",
"date":"21-03-2024"
}
}