Processing method and device for adding watermark characters to picture and computer equipment
The invention provides a processing method and device for adding watermark characters to a picture, computer equipment and a readable storage medium. The method comprises the steps of obtaining pixelpoint coordinates of a first watermark character on a to-be-processed picture; and replacing the pixe...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention provides a processing method and device for adding watermark characters to a picture, computer equipment and a readable storage medium. The method comprises the steps of obtaining pixelpoint coordinates of a first watermark character on a to-be-processed picture; and replacing the pixel data of the to-be-processed picture corresponding to the pixel point coordinates with the pixel data of the first watermark character to obtain a watermark embedded picture. In the process of adding the first watermark character to the to-be-processed picture, only the pixel data corresponding tothe first character watermark needs to be replaced, so that the modification amount on the to-be-processed picture can be greatly reduced.
本申请提供了一种图片添加水印文字的处理方法、装置、计算机设备和可读存储介质,其中方法包括:获取第一水印文字在待处理图片上的像素点坐标;使用第一水印文字的像素数据,替换像素点坐标对应的待处理图片的像素数据,得到水印嵌入图片。由于第一水印文字在添加到待处理图片的过程中,只需要针对第一文字水印所对应的像素数据的替换,能够大幅度减少在待处理图片上的修改量。 |
---|