Injecting Watermarks to Documents
On the DSC console, you can insert custom watermarks in PDF, PPT, Word, and Excel documents. This section describes how to insert customized watermarks into local files or cloud files (files stored in the OBS bucket).
Prerequisites
- OBS asset access permissions are granted. For details, see Allowing or Disallowing Access to Cloud Assets.
- OBS has been enabled and used.
- The document format is PDF, PPTX, DOCX, or XLSX.
Constraints
- The maximum size of a PDF or Word file is 50 MB.
- The maximum size of an Excel file is 70 MB.
- The maximum size of a PPT file is 20 MB.
Creating a Watermark Injection Task for Files in an OBS Bucket
- Log in to the management console.
- Click in the upper left corner and select a region or project.
- In the navigation tree on the left, click . Choose .
- In the navigation pane, choose Data Asset Protection > Document Watermarking.
- Click Create Task in the upper left corner of the task list to create a task.
Figure 1 Creating a task
- Set the parameters shown in Table 1.
Table 1 Task parameters Parameter
Description
Task Name
Enter the watermark ingestion task name.
Select File
Click Add File. In the right pane, select the name of the bucket to which you want to add a watermark. In the left pane, select a file. You can select multiple files.
Watermark Type
Both visible and invisible watermarks are supported. You can select multiple values.
- Visible watermark: The watermark text is displayed in the file, as shown in Preview Visible Watermark in Figure 2.
- Invisible watermark: The watermark text is invisible and needs to be extracted using tools. For details about how to extract an invisible watermark, see Extracting Watermarks from Documents.
Target Path
Click selecting a file path, and select the watermarked file.
Configure Visible Watermark
Set the Watermark Type to Visible Watermark. Then, drag the slider to set the Text, Font Size, Font Angle, Sparseness, and Transparency.
Configure Invisible Watermark
This parameter is mandatory when Watermark Type is set to Invisible.
Set Text as required.
- Click OK. A message is displayed in the upper right corner, indicating that the watermark injection task is created successfully.
- In the watermark task list, click next to the task name to view the task running status.
- If the injected watermark is a visible watermark, click Download to obtain the watermark file.
- If you injected an invisible watermark, extract the watermark from the target file using tools. For details, see Extracting Watermarks from Documents.
Figure 3 Injecting watermarks to files
Creating a Local File Data Injection Task
- Log in to the management console.
- Click in the upper left corner and select a region or project.
- In the navigation tree on the left, click . Choose .
- In the navigation pane, choose Data Asset Protection > Document Watermarking.
- Click the Local File tab. The Watermark Injection page is displayed.
- Click Select File, and select the file to which the watermark is to be injected.
- After the file is uploaded, configure related parameters, as shown in Figure 4. Table 2 describes the related parameters.
Table 2 Watermarking parameters Parameter
Description
Watermark Type
Both visible and invisible watermarks are supported. You can select multiple values.
- Visible watermark: The watermark text is displayed in the file, as shown in Preview Visible Watermark in Figure 4.
- Invisible watermark: The watermark text is invisible and needs to be extracted using tools. For details about how to extract an invisible watermark, see Extracting Watermarks from Documents.
Configure Visible Watermark
Set the Watermark Type to Visible Watermark. Then, drag the slider to set the Text, Font Size, Font Angle, Sparseness, and Transparency.
Configure Invisible Watermark
This parameter is mandatory when Watermark Type is set to Invisible.
Set Text as required.
- After parameters are configured, click OK. The file with watermark injected is automatically downloaded to the specified path on the local PC.
- If you injected a visible watermark, open the target file to view the watermark.
- If you injected an invisible watermark, extract the watermark from the target file using tools. For details, see Extracting Watermarks from Documents.
Related Operations
- Running: You can view the progress of the watermark ingestion task.
- Finished: You can click Download in the Operation column to download the watermarked OBS bucket file.
- Failed: The watermark injection task fails to be executed. You can move the cursor to to view the failure cause.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.