Updated on 2024-11-19 GMT+08:00

Extracting Watermarks from Images

The content of an invisible watermark remains unseen until it is retrieved through a specialized watermark extraction tool. The DSC console facilitates this process by offering a watermark extraction feature for images. Detailed instructions on how to extract watermarks from files stored in OBS buckets or from local files are provided in this section.

Prerequisites

  • OBS asset access permissions are granted. For details, see Allowing or Disallowing Access to Cloud Assets.
  • You have enabled and created assets on OBS. For details about how to enable OBS, see Enabling and Using OBS Buckets..
  • Currently, the following image format is supported: .jpg, .jpeg, .jpe, .png, .bmp, .dib, .rle, .tiff, .tif, .ppm, .webp, .tga, .tpic, .gif.
  • The resolution of the original image must be greater than 128 x 128 pixels.

Constraints

  • Extract invisible watermarks from a single image file.
  • The maximum size of an image is 20 MB.
  • The invisible watermark content contains a maximum of 32 bytes.

Extracting Watermarks from an OBS Bucket File

  1. Log in to the management console.
  2. Click in the upper left corner and select a region or project.
  3. In the navigation tree on the left, click . Choose Security & Compliance > Data Security Center .
  4. In the navigation tree on the left, choose Data Asset Protection > Document Watermarking. On the displayed page, click the OBS File tab.
  5. Click the Watermark Extraction tab. The Watermark Extraction page is displayed.
  6. Select the content to be extracted.

    • If Extract Content is set to Text, click Add to select the image from which the watermark is to be extracted.
      Figure 1 Extracting text content
    • If Extract Content is set to Image:
      1. Click Add next to Select File and select the image from which you want to extract watermarks.
      2. Click Add next to Storage Destination Path and select the path for storing the extracted watermark image.
      3. Click Save Target File Name and enter the file name of the watermark image to be extracted.
      Figure 2 Extracting image content

  7. Click OK. If the Extract Content is Text, the invisible watermark content is displayed in the dialog box. If the Extract Content is Image, view the image in the target storage path.

Extracting Watermarks from a Local File

  1. Log in to the management console.
  2. Click in the upper left corner and select a region or project.
  3. In the navigation tree on the left, click . Choose Security & Compliance > Data Security Center .
  4. In the navigation tree on the left, choose Data Asset Protection > Document Watermarking. On the displayed page, click the OBS File tab.
  5. On the displayed page, choose Local > Extract Watermark. The Extract Watermark page is displayed.
  6. Select the Extract Content.

    • If the Extract Content is Text, click Upload File to upload the local image whose invisible watermark needs to be extracted to the DSC platform.
      Figure 3 Extracting text watermarks
    • If the Extract Content is Image, click Upload File to upload the image whose invisible watermark needs to be extracted from the local host to the DSC platform.
      Figure 4 Extracting image watermarks

  7. After the file is uploaded, click OK. The invisible watermark content is displayed in the dialog box.