Inserting Watermarks
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
The file format is PDF, PPT, Word, or Excel.
Constraints
If you injected an invisible watermark, extract the watermark from the target file using tools. For details, see Extracting Watermarks.
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 pane on the left, click
and choose .
- In the navigation pane, choose Data Privacy 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
Example Value
Task Name
Enter the watermark ingestion task name.
Test_DSC
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.
Visible watermark and invisible watermarks
Target Path
Click selecting a file path, and select the watermarked file.
-
Configure Visible Watermark
This parameter is mandatory when Watermark Type is set to Visible.
Set Text, Font Size, Font Angle, and Transparency as required.
- Text: DSC
- Font size: 60
- Font angle: 90
- Transparency: 100
Configure Invisible Watermark
This parameter is mandatory when Watermark Type is set to Invisible.
Set Text as required.
Text: Test
- Click OK. A message is displayed in the upper right corner, indicating that the watermark injection task is created successfully.
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 pane on the left, click
and choose .
- In the navigation pane, choose Data Privacy 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.
Figure 3 Adding a file
- 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
Example Value
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.
Visible
Configure Visible Watermark
This parameter is mandatory when Watermark Type is set to Visible.
Set Text, Font Size, Font Angle, and Transparency as required.
- Text: DSC
- Font size: 60
- Font angle: 90
- Transparency: 100
Configure Invisible Watermark
This parameter is mandatory when Watermark Type is set to Invisible.
Set Text as required.
Text: Test
- 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.
Related Operations
![](https://support.huaweicloud.com/eu/usermanual-dsc/en-us_image_0000001618946596.png)
- 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.