TW201916690A - Method, device, and client for watermark-adding processing - Google Patents

Method, device, and client for watermark-adding processing Download PDF

Info

Publication number
TW201916690A
TW201916690A TW107118234A TW107118234A TW201916690A TW 201916690 A TW201916690 A TW 201916690A TW 107118234 A TW107118234 A TW 107118234A TW 107118234 A TW107118234 A TW 107118234A TW 201916690 A TW201916690 A TW 201916690A
Authority
TW
Taiwan
Prior art keywords
picture
image
processed
watermark
partial
Prior art date
Application number
TW107118234A
Other languages
Chinese (zh)
Other versions
TWI691206B (en
Inventor
張仕奇
Original Assignee
香港商阿里巴巴集團服務有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 香港商阿里巴巴集團服務有限公司 filed Critical 香港商阿里巴巴集團服務有限公司
Publication of TW201916690A publication Critical patent/TW201916690A/en
Application granted granted Critical
Publication of TWI691206B publication Critical patent/TWI691206B/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/16Program or content traceability, e.g. by watermarking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/0021Image watermarking
    • G06T1/0028Adaptive watermarking, e.g. Human Visual System [HVS]-based watermarking
    • G06T1/0035Output size adaptive watermarking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2201/00General purpose image data processing
    • G06T2201/005Image watermarking
    • G06T2201/0062Embedding of the watermark in text images, e.g. watermarking text documents using letter skew, letter distance or row distance

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Multimedia (AREA)
  • Technology Law (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Image Processing (AREA)

Abstract

A method, a device, and a client for watermark-adding processing are provided in the embodiments of the present specification. The method comprises: displaying a partial image of an image to be processed in a screen according to the original resolution of the image to be processed; receiving a motion trigger instruction given by a user on the basis of the partial image, and displaying, according to the original resolution of the image to be processed, a target partial image comprising an area in which watermark information needs to be added; and receiving a watermark-adding trigger instruction given by the user for the target partial image, and displaying a watermark-added image corresponding to the watermark-adding trigger instruction.

Description

浮水印添加處理方法、裝置及客戶端Floating watermark adding processing method, device and client

本說明書實施例涉及影像處理技術領域,特別涉及一種浮水印添加處理方法、裝置及客戶端。The embodiments of the present disclosure relate to the field of image processing technologies, and in particular, to a method, an apparatus, and a client for adding a watermark.

隨著電子技術的快速發展,手機、平板等電子設備在人們日常的學習、工作和生活中應用日益廣泛。人們日常的電子設備使用過程中,常常需要利用手機等電子設備對圖片進行編輯處理,例如添加邊框、浮水印等。其中,添加浮水印可以包括在原有圖片上添加圖形、數字、文字等,不會完全遮擋原有圖片中的畫面,又可以實現美化圖片,保護著作權等目的。   目前,在對圖片進行浮水印添加處理的過程可以包括:根據設備螢幕的顯示像素尺寸和圖片的像素尺寸計算螢幕與圖片的縮放比;將圖片按照該縮放比進行縮放後顯示在螢幕中;然後,在縮放後的圖片中添加浮水印產生包括浮水印的圖片。現有的浮水印添加處理過程中需要對圖片進行縮放,在縮放後的圖片上添加浮水印,對於超長超大的圖片,由於螢幕尺寸的限制,縮放後的圖片往往存在解析度降低、模糊、不清晰等問題。因此,需要提供更有效的方案。With the rapid development of electronic technology, electronic devices such as mobile phones and tablets are increasingly used in people's daily study, work and life. In the daily use of electronic devices, people often need to use electronic devices such as mobile phones to edit pictures, such as adding borders and watermarks. The addition of the watermark may include adding graphics, numbers, texts, and the like to the original image, not completely obscuring the image in the original image, and realizing the purpose of beautifying the image and protecting the copyright. At present, the process of performing the watermark adding process on the image may include: calculating a zoom ratio of the screen and the image according to the display pixel size of the device screen and the pixel size of the image; and zooming the image according to the zoom ratio and displaying it on the screen; Adding a watermark to the scaled image produces a picture that includes a watermark. In the existing watermarking process, the image needs to be scaled, and the watermark is added to the scaled image. For the super long and large image, due to the limitation of the screen size, the scaled image often has reduced resolution, blur, and no Clear and other issues. Therefore, there is a need to provide a more effective solution.

本說明書實施例的目的是提供一種浮水印添加處理方法、裝置及客戶端,可以獲取清晰的浮水印添加圖片,大大提高圖片的解析度,改善使用者體驗。   本說明書實施例是這樣實現的:   一種浮水印添加處理方法,包括:   在螢幕中按照待處理圖片的原始解析度顯示所述待處理圖片的預設初始局部圖片;   接收使用者基於所述預設初始局部圖片的移動觸發指令,按照所述待處理圖片的原始解析度顯示所述待處理圖片中與所述移動觸發指令相對應的目標局部圖片;   接收使用者在所述目標局部圖片的浮水印添加觸發指令,顯示與所述浮水印添加觸發指令相對應的浮水印添加圖片。   一種浮水印添加處理裝置,包括:   初始局部圖片顯示模組,用於在螢幕中按照待處理圖片的原始解析度顯示所述待處理圖片的預設初始局部圖片;   移動觸發指令接收模組,用於接收使用者基於所述預設初始局部圖片的移動觸發指令;   目標局部圖片顯示模組,用於按照所述待處理圖片的原始解析度顯示所述待處理圖片中與所述移動觸發指令相對應的目標局部圖片;   浮水印添加圖片顯示模組,用於接收使用者在所述目標局部圖片的浮水印添加觸發指令,顯示與所述浮水印添加觸發指令相對應的浮水印添加圖片。   一種浮水印添加處理客戶端,包括處理器及記憶體,所述記憶體儲存由所述處理器執行的電腦程式指令,所述電腦程式指令包括:   在螢幕中按照待處理圖片的原始解析度顯示所述待處理圖片的預設初始局部圖片;   接收使用者基於所述預設初始局部圖片的移動觸發指令,按照所述待處理圖片的原始解析度顯示所述待處理圖片中與所述移動觸發指令相對應的目標局部圖片;   接收使用者在所述目標局部圖片的浮水印添加觸發指令,顯示與所述浮水印添加觸發指令相對應的浮水印添加圖片。   由以上可見,本說明書一個或多個實施例藉由在螢幕中按照待處理圖片的原始解析度顯示待處理圖片局部圖片;然後,接收使用者基於該局部圖片的移動觸發指令,按照所述待處理圖片的原始解析度顯示包括需要添加浮水印資訊區域的目標局部圖片,保證了在浮水印添加時圖片的解析度;最後,接收使用者在所述目標局部圖片的浮水印添加觸發指令,顯示與所述浮水印添加觸發指令相對應的清晰的浮水印添加圖片,大大提高圖片的解析度,改善了使用者體驗。The purpose of the embodiments of the present specification is to provide a method, a device, and a client for adding a watermark, which can obtain a clear watermark to add a picture, greatly improve the resolution of the picture, and improve the user experience. The embodiment of the present specification is implemented as follows: A method for adding a watermarking method, comprising: displaying, in a screen, a preset initial partial image of the to-be-processed image according to an original resolution of a to-be-processed image; a motion triggering instruction of the initial partial image, displaying a target partial image corresponding to the motion triggering instruction in the to-be-processed image according to an original resolution of the to-be-processed image; receiving a watermark of the user in the target partial image A trigger instruction is added to display a watermark added picture corresponding to the watermark adding trigger instruction. A watermarking and adding processing device, comprising: an initial partial image display module, configured to display, in a screen, a preset initial partial image of the to-be-processed image according to an original resolution of a to-be-processed image; Receiving, by the user, a motion triggering instruction based on the preset initial partial image; the target partial image display module, configured to display, according to the original resolution of the to-be-processed image, the motion triggering instruction in the to-be-processed image Corresponding target partial picture; a watermark adding picture display module, configured to receive a watermark adding trigger instruction of the user in the target partial picture, and display a watermark adding picture corresponding to the watermark adding trigger instruction. A watermarking adding processing client, comprising a processor and a memory, the memory storing computer program instructions executed by the processor, the computer program instructions comprising: displaying, according to an original resolution of a to-be-processed image in a screen a preset initial partial image of the to-be-processed image; receiving, by the user, a motion triggering instruction based on the preset initial partial image, displaying the to-be-processed image and the motion trigger according to an original resolution of the to-be-processed image And corresponding to the target partial picture of the instruction; receiving a watermark adding trigger instruction of the user in the target partial picture, and displaying a watermark adding picture corresponding to the watermark adding triggering instruction. It can be seen from the above that one or more embodiments of the present disclosure display a partial image of a picture to be processed according to the original resolution of the picture to be processed in the screen; and then receive a motion triggering instruction of the user based on the partial picture, according to the waiting The original resolution of the processed picture includes the target partial picture that needs to be added with the watermark information area, and the resolution of the picture is ensured when the watermark is added; finally, the receiving user adds a trigger instruction to the watermark of the target partial picture, and displays The clear watermark corresponding to the watermark adding trigger instruction adds a picture, which greatly improves the resolution of the picture and improves the user experience.

本說明書實施例提供一種浮水印添加處理方法、裝置及客戶端。   為了使本技術領域的人員更好地理解本說明書中的技術方案,下面將結合本說明書實施例中的圖式,對本說明書實施例中的技術方案進行清楚、完整地描述,顯然,所描述的實施例僅僅是本說明書一部分實施例,而不是全部的實施例。基於本說明書中的實施例,本領域具有通常知識者在沒有做出創造性勞動前提下所獲得的所有其他實施例,都應當屬於本說明書保護的範圍。   目前,在利用手機、平板等電子設備對圖片進行浮水印添加處理過程中,往往會由於記憶體和設備螢幕的顯示像素尺寸(這裡螢幕的顯示像素尺寸可以包括螢幕所對應的顯示解析度,即所述螢幕所能顯示的像素)等因素的限制,需要將待處理圖片進行縮放後顯示在螢幕中,以供使用者進行浮水印添加處理。如圖1所示,圖1是本說明書提供的現有技術中在手機上對圖片進行浮水印添加處理的示意圖。圖1中,這裡假設添加的浮水印為文字,在實現浮水印添加處理過程中由於待處理的圖片原始圖片較大,縮放後的待處理的圖片100在螢幕中顯示時,清晰度低,模糊,使用者無法看清圖片中的細節部分;且為了不再降低圖片的解析度,該待處理圖片在螢幕中顯示時,無法進行縮放編輯,導致使用者只能在縮小後的待處理圖片上添加浮水印,無法對待處理圖片中某一細節處進行浮水印添加處理。因此,現有的浮水印添加處理方法無法對保證圖片的解析度、清晰度。然而,在實際應用中,當待處理圖片較大時,在不對圖片進行壓縮的情況下,設備的螢幕中肯定無法顯示全部的待處理圖片,並且考慮到記憶體容量,不可能一次性將完成的待處理圖片按照原始解析度加載到記憶體中。基於此,本說明書實施例中可以考慮對待處理圖片進行部分加載後進行浮水印添加處理,進而可以在保證待處理圖片的解析度和清晰度的基礎上實現對待處理圖片的浮水印添加。   以下介紹本說明書一種浮水印添加處理方法的一種具體實施例。圖2是本說明書提供的浮水印添加處理方法的一種實施例的流程示意圖,本說明書提供了如實施例或流程圖所述的方法操作步驟,但基於常規或者無創造性的勞動可以包括更多或者更少的操作步驟。實施例中列舉的步驟順序僅僅為眾多步驟執行順序中的一種方式,不代表唯一的執行順序。在實際中的系統或客戶端產品執行時,可以按照實施例或者圖式所示的方法順序執行或者並行執行(例如平行處理器或者多線程處理的環境)。具體的如圖2所示,所述方法可以包括:   S202:在螢幕中按照待處理圖片的原始解析度顯示所述待處理圖片的預設初始局部圖片。   在實際應用中,對於較大待處理圖片,在不對待處理圖片進行壓縮的情況下,手機等設備的螢幕中肯定無法顯示全部的待處理圖片,相應的,為了保證待處理圖片顯示時的解析度,本說明書實施例中可以在使用者觸發需要對待處理圖片進行浮水印添加處理的觸發指令之後,在螢幕中按照待處理圖片的原始解析度顯示所述待處理圖片的局部圖片(即所述預設初始局部圖片)。具體的,所述待處理圖片的預設初始局部圖片可以包括預先根據圖片的原始像素尺寸和螢幕的顯示像素尺寸選取待處理圖片中的局部圖片。   在一個具體的實施例中,圖3是本說明書提供的在螢幕中按照待處理圖片的原始解析度顯示所述待處理圖片的預設初始局部圖片一種實施例的流程示意圖,如圖5所示,可以包括:   S302:獲取待處理圖片的原始像素尺寸和顯示所述待處理圖片的螢幕的顯示像素尺寸。   S304:根據所述螢幕的顯示像素尺寸和所述待處理圖片的原始像素尺寸確定在所述螢幕中所述待處理圖片的圖片顯示尺寸。   S306:從所述待處理圖片中選取所述圖片顯示尺寸的預設局部圖片。   具體的是,所述預設局部圖片可以預先從待處理圖片中選取一個區域,例如可以選取待處理圖片左上角的一部分圖片。   S308:將所述圖片顯示尺寸的預設局部圖片作為所述預設初始局部圖片。   在一個具體的實施例中,如圖4所示,圖4是本說明書提供的待處理圖片的一種示例圖。假設圖4中所示的待處理圖片為1020*4096像素的圖片。另外,本說明書中以利用手機進行待處理圖片的浮水印添加處理為例,如圖5所示,圖5是本說明書提供的在螢幕中按照待處理圖片的原始解析度顯示待處理圖片的預設初始局部圖片一種實施例的示意圖,這裡假設圖5中手機螢幕的顯示像素尺寸為1080*1920,由於待處理圖片的像素為1020*4096,若按照所述待處理圖片的原始解析度進行顯示,手機螢幕中無法顯示全部的待處理圖片。相應的,可以結合手機螢幕的顯示像素尺寸1080*1920和待處理圖片的原始像素尺寸1020*4096確定在該手機螢幕中所述待處理圖片的圖片顯示尺寸。具體的實施例中,由於手機螢幕的顯示像素尺寸中的寬度1080大於待處理圖片的原始像素尺寸中的寬度1020,相應的寬度可以按照小於等於1020進行顯示;而手機螢幕的顯示像素尺寸中的高度1920小於待處理圖片的原始像素尺寸中的寬度4096,相應的高度可以按照小於等於1920進行顯示。這裡假設該手機螢幕中所述待處理圖片的圖片顯示尺寸為1020*1920像素,相應的,可以從待處理圖片中選取1020*1920像素的圖片來進行顯示,從圖5中可見,手機的螢幕上按照圖4中所示的待處理圖片的原始解析度顯示圖4中所示的待處理圖片的預設初始局部圖片,保證了圖片的清晰度和解析度,同時也便於使用者進行浮水印添加處理。   S204:接收使用者基於所述預設初始局部圖片的移動觸發指令,按照所述待處理圖片的原始解析度顯示所述待處理圖片中與所述移動觸發指令相對應的目標局部圖片。   本說明書實施例,在顯示所述預設初始局部圖片之後,使用者可以基於對該預設初始局部圖片的移動來選取待處理圖片中需要添加浮水印的目標局部圖片。在一個具體的實施例中,所述接收使用者基於所述預設初始局部圖片的移動觸發指令可以包括:   接收使用者對所述預設初始局部圖片的點擊操作,以及在所述點擊所對應位置的拖曳操作。   相應的,圖6是本說明書提供的按照所述待處理圖片的原始解析度顯示所述待處理圖片中與所述移動觸發指令相對應的目標局部圖片一種實施例的流程示意圖,如圖6所示,可以包括:   S602:獲取與所述移動觸發指令相對應的移動方向和移動距離。   具體的,所述的移動方向可以包括移動時相對於所述移動觸發指令的觸發位置的方向,所述移動距離可以包括所述移動觸發指令的觸發位置至結束時的距離。以所述移動觸發指令為對所述預設初始局部圖片的點擊操作,以及在所述點擊所對應位置的拖曳操作為例,所述的移動方向可以為拖曳操作時的移動相對於點擊操作觸發位置的方向。所述移動距離可以為點擊操作的觸發位置至拖曳操作的結束位置之間的距離。   S604:根據所述移動方向和移動距離確定所述待處理圖片中的目標局部圖片。   在一個具體的實施例中,根據所述移動方向和移動距離確定所述待處理圖片中的目標局部圖片可以包括所述待處理圖片從所述預設初始局部圖片開始往所述移動方向移動所述移動距離所對應的局部圖片,即為所述目標局部圖片。   S606:按照所述待處理圖片的原始解析度顯示所述目標局部圖片。   如圖7所示,結合上述圖4和圖5中所示的示例。圖7是本說明書提供的在手機中按照所述待處理圖片的原始解析度顯示所述目標局部圖片的一種實施例的示意圖。圖7中,所述目標局部圖片與所述預設初始局部圖片的像素尺寸大小相同,且所述目標局部圖片與所述預設初始局部圖片包括相同的局部圖片,當然,所述目標局部圖片與所述預設初始局部圖片包括相同的局部圖片也可以不包括相同的局部圖片,本說明書實施例並不以此為限。   在另一個實施例中,所述接收使用者基於所述預設初始局部圖片的移動觸發指令可以包括:   接收使用者基於所述預設初始局部圖片的預設滑動手勢操作。   具體的,這裡的預設滑動手勢操作可以包括上滑、下滑、左滑、下滑等滑動手勢。   相應的,圖8是本說明書提供的按照所述待處理圖片的原始解析度顯示所述待處理圖片中與所述移動觸發指令相對應的目標局部圖片另一種實施例的流程示意圖,如圖8所示,可以包括:   S802:獲取與所述移動觸發指令相對應的移動方向和移動次數。   具體的,所述移動方向可以包括移動時相對於所述移動觸發指令的觸發位置的方向。所述移動次數可以包括與移動觸發指令相對應的操作的次數。以所述移動觸發指令為預設滑動手勢操作為例,所述移動方向為預設滑動手勢操作滑動時相對於所述預設滑動手勢操作的觸發位置的方向。所述移動次數為所述預設滑動手勢操作的次數。   S804:根據所述移動方向和移動次數確定所述待處理圖片中的目標局部圖片。   在一個具體的實施例中,當所述移動次數為一次時,所述根據所述移動方向和移動次數確定所述待處理圖片中的目標局部圖片可以包括:   從所述待處理圖片中選取所述預設初始局部圖片往所述移動方向的下一局部圖片,將所述下一局部圖片作為所述目標局部圖片。   在另一個具體的實施例中,當所述移動次數大於等於兩次時,所述根據所述移動方向和移動次數確定所述待處理圖片中的目標局部圖片可以包括:   從所述待處理圖片中選取所述預設初始局部圖片往第一次移動時的移動方向的下一局部圖片;   從所述待處理圖片中選取當前的下一局部圖片往下一次移動的移動方向的下一局部圖片;   重複從所述待處理圖片中選取當前的下一局部圖片往下一次移動的移動方向的下一局部圖片的步驟至當前的移動次數所對應的移動為所述移動觸發指令所對應的最後一次移動,將所述最後一次移動所對應的下一局部圖片作為所述目標局部圖片。   具體的,本說明書實施例所述下一局部圖片與所述預設初始局部圖片可以包括相同的局部圖片,也可以不包括相同的局部圖片。且當前的下一局部圖片與該當前的下一局部圖片往下一次移動的移動方向的下一局部圖片之間可以包括相同的局部圖片,也可以不包括相同的局部圖片。   S806:按照所述待處理圖片的原始解析度顯示所述目標局部圖片。   如圖9所示,結合上述圖4和圖5中所示的示例。圖9是本說明書提供的在手機中按照所述待處理圖片的原始解析度顯示所述目標局部圖片的一種實施例的示意圖。圖9中,所述目標局部圖片與所述預設初始局部圖片的像素尺寸大小相同,且所述目標局部圖片與所述預設初始局部圖片為相鄰的局部圖片,不包括相同的局部圖片,當然所述目標局部圖片與所述預設初始局部圖片也可以包括相同的局部圖片,本說明書實施例並不以此為限。   此外,需要說明的是,本說明書實施例所述移動觸發指令並不僅限於上述的形式,還可以包括其他形式,本說明書實施例並不以上述為限。   另外,當使用者需要添加浮水印的區域在所述預設初始局部圖片所在的區域,相應的,所述預設初始局部圖片可以為所述目標局部圖片。相應的,所述移動觸發指令可以為空。相應的,直接跳轉到步驟S206。   S206:接收使用者在所述目標局部圖片的浮水印添加觸發指令,顯示與所述浮水印添加觸發指令相對應的浮水印添加圖片。   本說明書實施例中,當使用者確定了需要添加浮水印的目標局部圖片之後,可以觸發浮水印添加觸發指令,相應的,客戶端,可以接收使用者在所述目標局部圖片的浮水印添加觸發指令,顯示與所述浮水印添加觸發指令相對應的浮水印添加圖片。   在一個具體的實施例中,所述接收使用者在所述目標局部圖片的浮水印添加觸發指令,顯示與所述浮水印添加觸發指令相對應的浮水印添加圖片可以包括:   接收使用者在所述目標局部圖片的浮水印添加觸發指令,獲取與所述浮水印添加觸發指令相對應的浮水印資訊和添加所述浮水印資訊的目標位置;   在所述目標局部圖片的所述目標位置處添加所述浮水印資訊,產生添加浮水印後的圖片。   選取所述添加浮水印後的圖片中的局部圖片作為浮水印添加圖片;   按照所述待處理圖片的原始解析度顯示所述浮水印添加圖片。   具體的,本說明書實施例中所述浮水印資訊可以包括但不限於文字、圖片、數字等形式。在一個具體的實施例中,假設浮水印資訊為中環路況,如圖10所示,圖10是本說明書提供的一種添加浮水印後的圖片的一種實施例的示意圖。   相應的,後續可以直接將所述添加浮水印後的圖片按照原始解析度進行局部顯示給使用者,相應的,使用者可以藉由對圖片進行拖曳、縮放等操作查看完整的添加浮水印後的圖片。   在實際應用中,以安卓系統觸控螢幕的手機客戶端中進行浮水印添加處理為例,上述步驟S202中所述待處理圖片的預設初始局部圖片,即對圖片進行局部加載的操作過程中可以藉由相應的圖片局部加載類,例如區域圖片加載類BitmapRegionDecoder來實現,由於螢幕顯示不完,需要藉由對圖片進行移動(即觸發移動觸發指令)來實現查看完成的待處理圖片。相應的,可以藉由在onTouchEvent(觸摸事件)裡面監聽移動的手勢,在監聽的回調裡面去改變拖動區域的參數,以及做邊界檢查;然後,根據拖動區域的參數,使用BitmapRegionDecoder加載與移動觸發指令相對應的目標局部圖片進行顯示。接著,當使用者觸發浮水印添加觸發指令後,記錄浮水印資訊相對於原圖的位置,大小等資訊,藉由BitmapRegionEncoder(區域圖片寫入類)把使用者需要添加的浮水印資訊添加到待處理圖片中的浮水印資訊添加位置,產生添加浮水印後的圖片進行保存。在使用BitmapRegionEncoder來把浮水印資訊和待處理圖片進行合併,產生添加浮水印後的圖片的過程中,需要獲取三個參數,所述待處理圖片的原始路徑資訊inputStrem,浮水印資訊的添加位置資訊Rect以及浮水印資訊Bitmap。   由此可見,本說明書一種浮水印添加處理方法的一個或多個實施例在螢幕中按照待處理圖片的原始解析度顯示待處理圖片局部圖片;然後,接收使用者基於該局部圖片的移動觸發指令,按照所述待處理圖片的原始解析度顯示包括需要添加浮水印資訊區域的目標局部圖片,保證了在浮水印添加時圖片的解析度;最後,接收使用者在所述目標局部圖片的浮水印添加觸發指令,顯示與所述浮水印添加觸發指令相對應的清晰的浮水印添加圖片,大大提高圖片的解析度,改善了使用者體驗。   本說明書另一方面還提供一種浮水印添加處理裝置,圖11是本說明書提供的浮水印添加處理裝置的一種實施例的結構示意圖,如圖1所示,所述裝置1100可以包括:   初始局部圖片顯示模組1110,可以用於在螢幕中按照待處理圖片的原始解析度顯示所述待處理圖片的預設初始局部圖片;   移動觸發指令接收模組1120,可以用於接收使用者基於所述預設初始局部圖片的移動觸發指令;   目標局部圖片顯示模組1130,可以用於按照所述待處理圖片的原始解析度顯示所述待處理圖片中與所述移動觸發指令相對應的目標局部圖片;   浮水印添加圖片顯示模組1140,可以用於接收使用者在所述目標局部圖片的浮水印添加觸發指令,顯示與所述浮水印添加觸發指令相對應的浮水印添加圖片。   另一實施例中,所述初始局部圖片顯示模組1110可以包括:   像素尺寸獲取單元,用於獲取待處理圖片的原始像素尺寸和顯示所述待處理圖片的螢幕的顯示像素尺寸;   圖片顯示尺寸確定單元,用於根據所述螢幕的顯示像素尺寸和所述待處理圖片的原始像素尺寸確定在所述螢幕中所述待處理圖片的圖片顯示尺寸;   初始局部圖片確定模組,用於從所述待處理圖片中選取所述圖片顯示尺寸的預設局部圖片,將所述圖片顯示尺寸的預設局部圖片作為所述預設初始局部圖片。   另一實施例中,所述移動觸發指令接收模組1120可以包括:   第一接收單元,用於接收使用者對所述預設初始局部圖片的點擊操作,以及在所述點擊所對應位置的拖曳操作。   另一實施例中,所述目標局部圖片顯示模組1130可以包括:   第一移動資料獲取單元,用於獲取與所述移動觸發指令相對應的移動方向和移動距離;   第一目標局部圖片確定單元,用於根據所述移動方向和移動距離確定所述待處理圖片中的目標局部圖片;   第一目標局部圖片顯示單元,用於按照所述待處理圖片的原始解析度顯示所述目標局部圖片。   另一實施例中,所述移動觸發指令接收模組1120可以包括:   第二接收單元,用於接收使用者基於所述預設初始局部圖片的預設滑動手勢操作。   另一實施例中,所述目標局部圖片顯示模組包括:   第二移動資料獲取單元,用於獲取與所述移動觸發指令相對應的移動方向和移動次數;   第二目標局部圖片確定單元,用於根據所述移動方向和移動次數確定所述待處理圖片中的目標局部圖片;   第二目標局部圖片顯示單元,用於按照所述待處理圖片的原始解析度顯示所述目標局部圖片。   另一實施例中,當所述移動次數為一次時,所述第二目標局部圖片確定單元:   用於從所述待處理圖片中選取所述預設初始局部圖片往所述移動方向的下一局部圖片,將所述下一局部圖片作為所述目標局部圖片。   另一實施例中,當所述移動次數大於等於兩次時,所述第二目標局部圖片確定單元:   用於從所述待處理圖片中選取所述預設初始局部圖片往第一次移動時的移動方向的下一局部圖片;   用於從所述待處理圖片中選取當前的下一局部圖片往下一次移動的移動方向的下一局部圖片;   用於重複從所述待處理圖片中選取當前的下一局部圖片往下一次移動的移動方向的下一局部圖片的步驟至當前的移動次數所對應的移動為所述移動觸發指令所對應的最後一次移動,將所述最後一次移動所對應的下一局部圖片作為所述目標局部圖片。   另一實施例中,所述浮水印添加圖片顯示模組1140可以包括:   浮水印添加觸發指令接收單元,用於接收使用者在所述目標局部圖片的浮水印添加觸發指令;   浮水印添加資訊獲取單元,用於獲取與所述浮水印添加觸發指令相對應的浮水印資訊和添加所述浮水印資訊的目標位置;   浮水印圖片產生模組,用於在所述目標局部圖片的所述目標位置處添加所述浮水印資訊,產生添加浮水印後的圖片;   浮水印添加圖片顯示單元,用於選取所述添加浮水印後的圖片中的局部圖片作為浮水印添加圖片,按照所述待處理圖片的原始解析度顯示所述浮水印添加圖片。   本說明書實施例提供的上述浮水印添加處理方法或裝置可以在電腦中由處理器執行相應的程式指令來實現,如使用windows操作系統的c++語言在PC端實現,或其他例如使用android、iOS系統程式設計語言在智能終端實現,以及基於量子電腦的處理邏輯實現等。如圖12所示,圖12是根據本說明書的一示例性實施例的浮水印添加處理客戶端的示意結構圖。在硬體層面,該客戶端可以包括處理器、內部匯流排、網路介面、記憶體以及非易失性記憶體,當然還可能包括其他業務所需要的硬體。處理器從非易失性記憶體中讀取對應的電腦程式到記憶體中然後運行,在邏輯層面上形成浮水印添加處理裝置。當然,除了軟體實現方式之外,本申請並不排除其他實現方式,比如邏輯裝置抑或軟硬體結合的方式等等,也就是說以下處理流程的執行主體並不限定於各個邏輯單元,也可以是硬體或邏輯裝置。   具體的,本說明書另一方面還提供一種浮水印添加處理客戶端,包括處理器及記憶體,所述記憶體儲存由所述處理器執行的電腦程式指令,所述電腦程式指令可以包括:   在螢幕中按照待處理圖片的原始解析度顯示所述待處理圖片的預設初始局部圖片;   接收使用者基於所述預設初始局部圖片的移動觸發指令,按照所述待處理圖片的原始解析度顯示所述待處理圖片中與所述移動觸發指令相對應的目標局部圖片;   接收使用者在所述目標局部圖片的浮水印添加觸發指令,顯示與所述浮水印添加觸發指令相對應的浮水印添加圖片。   本說明書實施例中,所述的處理器可以包括中央處理器(CPU)或圖形處理器(GPU),當然也可以包括其他的具有邏輯處理能力的單片機、邏輯閘電路、集成電路等,或其適當組合。本申請實施例所述的記憶體可以是用於保存資訊的記憶設備。在數位系統中,能保存二進制資料的設備可以是記憶體;在集成電路中,一個沒有實物形式的具有儲存功能的電路也可以為記憶體,如RAM、FIFO等;在系統中,具有實物形式的儲存設備也可以叫記憶體等。實現的時候,該記憶體也可以採用雲端記憶體的方式實現,具體實現方式,本說明書不錯限定。   由此可見,本說明書一種浮水印添加處理方法、裝置或客戶端的實施例藉由在螢幕中按照待處理圖片的原始解析度顯示待處理圖片局部圖片;然後,接收使用者基於該局部圖片的移動觸發指令,按照所述待處理圖片的原始解析度顯示包括需要添加浮水印資訊區域的目標局部圖片,保證了在浮水印添加時圖片的解析度;最後,接收使用者在所述目標局部圖片的浮水印添加觸發指令,顯示與所述浮水印添加觸發指令相對應的清晰的浮水印添加圖片,大大提高圖片的解析度,改善了使用者體驗。   上述對本說明書特定實施例進行了描述。其它實施例在所附申請專利範圍的範圍內。在一些情況下,在申請專利範圍中記載的動作或步驟可以按照不同於實施例中的順序來執行並且仍然可以實現期望的結果。另外,在圖式中描繪的過程不一定要求示出的特定順序或者連續順序才能實現期望的結果。在某些實施方式中,多工處理和平行處理也是可以的或者可能是有利的。   在20世紀90年代,對於一個技術的改進可以很明顯地區分是硬體上的改進(例如,對二極體、電晶體、開關等電路結構的改進)還是軟體上的改進(對於方法流程的改進)。然而,隨著技術的發展,當今的很多方法流程的改進已經可以視為硬體電路結構的直接改進。設計人員幾乎都藉由將改進的方法流程編程到硬體電路中來得到相應的硬體電路結構。因此,不能說一個方法流程的改進就不能用硬體實體模組來實現。例如,可程式邏輯裝置(Programmable Logic Device,PLD)(例如現場可程式閘陣列(Field Programmable Gate Array,FPGA))就是這樣一種集成電路,其邏輯功能由使用者對裝置編程來確定。由設計人員自行編程來把一個數位系統“集成”在一片PLD上,而不需要請晶片製造廠商來設計和製作專用的集成電路晶片。而且,如今,取代手工地製作集成電路晶片,這種編程也多半改用“邏輯編譯器(logic compiler)”軟體來實現,它與程式開發撰寫時所用的軟體編譯器相類似,而要編譯之前的原始碼也得用特定的編程語言來撰寫,此稱之為硬體描述語言(Hardware Description Language,HDL),而HDL也並非僅有一種,而是有許多種,如ABEL(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language)等,目前最普遍使用的是VHDL(Very-High-Speed Integrated Circuit Hardware Description Language)與Verilog。本領域技術人員也應該清楚,只需要將方法流程用上述幾種硬體描述語言稍作邏輯編程並編程到集成電路中,就可以很容易得到實現該邏輯方法流程的硬體電路。   控制器可以按任何適當的方式實現,例如,控制器可以採取例如微處理器或處理器以及儲存可由該(微)處理器執行的電腦可讀程式碼(例如軟體或韌體)的電腦可讀媒體、邏輯閘、開關、專用集成電路(Application Specific Integrated Circuit,ASIC)、可程式邏輯控制器和嵌入微控制器的形式,控制器的例子包括但不限於以下微控制器:ARC 625D、Atmel AT91SAM、Microchip PIC18F26K20 以及Silicone Labs C8051F320,記憶體控制器還可以被實現為記憶體的控制邏輯的一部分。本領域技術人員也知道,除了以純電腦可讀程式碼方式實現控制器以外,完全可以藉由將方法步驟進行邏輯編程來使得控制器以邏輯閘、開關、專用集成電路、可程式邏輯控制器和嵌入微控制器等的形式來實現相同功能。因此這種控制器可以被認為是一種硬體部件,而對其內包括的用於實現各種功能的裝置也可以視為硬體部件內的結構。或者甚至,可以將用於實現各種功能的裝置視為既可以是實現方法的軟體模組又可以是硬體部件內的結構。   上述實施例闡明的裝置、模組或單元,具體可以由電腦晶片或實體實現,或者由具有某種功能的產品來實現。一種典型的實現設備為電腦。具體的,電腦例如可以為個人電腦、筆記型電腦、行動電話、相機電話、智慧型電話、個人數位助理、媒體播放器、導航設備、電子郵件設備、遊戲控制台、平板電腦、可穿戴設備或者這些設備中的任何設備的組合。   為了描述的方便,描述以上裝置時以功能分為各種單元分別描述。當然,在實施本說明書時可以把各單元的功能在同一個或多個軟體和/或硬體中實現。   本領域內的技術人員應明白,本發明的實施例可提供為方法、裝置、或電腦程式產品。因此,本發明可採用完全硬體實施例、完全軟體實施例、或結合軟體和硬體方面的實施例的形式。而且,本發明可採用在一個或多個其中包含有電腦可用程式碼的電腦可用儲存媒體(包括但不限於磁碟記憶體、CD-ROM、光學記憶體等)上實施的電腦程式產品的形式。   本發明是參照根據本發明實施例的方法、設備(裝置)、和電腦程式產品的流程圖和/或方塊圖來描述的。應理解可由電腦程式指令實現流程圖和/或方塊圖中的每一流程和/或方塊、以及流程圖和/或方塊圖中的流程和/或方塊的結合。可提供這些電腦程式指令到通用電腦、專用電腦、嵌入式處理機或其他可程式資料處理設備的處理器以產生一個機器,使得藉由電腦或其他可程式資料處理設備的處理器執行的指令產生用於實現在流程圖一個流程或多個流程和/或方塊圖一個方塊或多個方塊中指定的功能的裝置。   這些電腦程式指令也可儲存在能引導電腦或其他可程式資料處理設備以特定方式工作的電腦可讀記憶體中,使得儲存在該電腦可讀記憶體中的指令產生包括指令裝置的製造品,該指令裝置實現在流程圖一個流程或多個流程和/或方塊圖一個方塊或多個方塊中指定的功能。   這些電腦程式指令也可裝載到電腦或其他可程式資料處理設備上,使得在電腦或其他可程式設備上執行一系列操作步驟以產生電腦實現的處理,從而在電腦或其他可程式設備上執行的指令提供用於實現在流程圖一個流程或多個流程和/或方塊圖一個方塊或多個方塊中指定的功能的步驟。   在一個典型的配置中,計算設備包括一個或多個處理器(CPU)、輸入/輸出介面、網路介面和記憶體。   記憶體可能包括電腦可讀媒體中的非永久性記憶體,隨機存取記憶體(RAM)和/或非易失性記憶體等形式,如唯讀記憶體(ROM)或快閃記憶體(flash RAM)。記憶體是電腦可讀媒體的示例。   電腦可讀媒體包括永久性和非永久性、可移動和非可移動媒體可以由任何方法或技術來實現資訊儲存。資訊可以是電腦可讀指令、資料結構、程式的模組或其他資料。電腦的儲存媒體的例子包括,但不限於相變記憶體(PRAM)、靜態隨機存取記憶體(SRAM)、動態隨機存取記憶體(DRAM)、其他類型的隨機存取記憶體(RAM)、唯讀記憶體(ROM)、電可擦除可程式唯讀記憶體(EEPROM)、快閃記憶體或其他記憶體技術、唯讀光碟(CD-ROM)、數位化多功能光碟(DVD)或其他光學儲存、磁盒式磁帶,磁帶磁磁碟儲存、石墨烯儲存或其他磁性儲存設備或任何其他非傳輸媒體,可用於儲存可以被計算設備存取的資訊。按照本文中的界定,電腦可讀媒體不包括暫存電腦可讀媒體(transitory media),如調變的資料信號和載波。   還需要說明的是,術語“包括”、“包含”或者其任何其他變體意在涵蓋非排他性的包含,從而使得包括一系列要素的過程、方法、商品或者設備不僅包括那些要素,而且還包括沒有明確列出的其他要素,或者是還包括為這種過程、方法、商品或者設備所固有的要素。在沒有更多限制的情況下,由語句“包括一個……”限定的要素,並不排除在包括所述要素的過程、方法、商品或者設備中還存在另外的相同要素。   本領域技術人員應明白,本說明書的實施例可提供為方法、裝置或電腦程式產品。因此,本說明書可採用完全硬體實施例、完全軟體實施例或結合軟體和硬體方面的實施例的形式。而且,本說明書可採用在一個或多個其中包含有電腦可用程式碼的電腦可用儲存媒體(包括但不限於磁碟記憶體、CD-ROM、光學記憶體等)上實施的電腦程式產品的形式。   本說明書可以在由電腦執行的電腦可執行指令的一般上下文中描述,例如程式模組。一般地,程式模組包括執行特定任務或實現特定抽象資料類型的例程、程式、物件、組件、資料結構等等。也可以在分散式計算環境中實踐本說明書,在這些分散式計算環境中,由藉由通訊網路而被連接的遠端處理設備來執行任務。在分散式計算環境中,程式模組可以位於包括儲存設備在內的本地和遠端電腦儲存媒體中。   本說明書中的各個實施例均採用遞進的方式描述,各個實施例之間相同相似的部分互相參見即可,每個實施例重點說明的都是與其他實施例的不同之處。尤其,對於裝置和伺服器實施例而言,由於其基本相似於方法實施例,所以描述的比較簡單,相關之處參見方法實施例的部分說明即可。   以上所述僅為本說明書的實施例而已,並不用於限制本說明書。對於本領域技術人員來說,本說明書可以有各種更改和變化。凡在本說明書的精神和原理之內所作的任何修改、等同替換、改進等,均應包含在申請專利範圍之內。The embodiment of the present specification provides a method, an apparatus, and a client for adding a watermark. In order to make those skilled in the art better understand the technical solutions in the specification, the technical solutions in the embodiments of the present specification will be clearly and completely described in conjunction with the drawings in the embodiments of the present specification. The embodiments are only a part of the embodiments of the specification, and not all of the embodiments. Based on the embodiments in the present specification, all other embodiments obtained by those skilled in the art without the creative work are all within the scope of the present disclosure. At present, in the process of adding watermarks to pictures by using electronic devices such as mobile phones and tablets, the display pixel size of the memory and the device screen is often used (the display pixel size of the screen here may include the display resolution corresponding to the screen, ie The limitation of factors such as the pixels that can be displayed on the screen requires scaling the image to be processed and displaying it on the screen for the user to perform the watermark adding process. As shown in FIG. 1 , FIG. 1 is a schematic diagram of a method for performing watermarking addition on a mobile phone on a mobile phone in the prior art provided by the present specification. In FIG. 1, it is assumed that the added watermark is text, and in the process of implementing the watermark adding process, since the original picture of the picture to be processed is large, the zoomed picture 100 to be processed is displayed on the screen, and the definition is low and fuzzy. The user cannot see the details in the picture; and in order to no longer reduce the resolution of the picture, the picture to be processed cannot be scaled and edited when displayed on the screen, so that the user can only be on the reduced picture to be processed. Add a watermark, and you cannot add a watermark to a certain detail in the image to be processed. Therefore, the existing watermarking addition processing method cannot guarantee the resolution and definition of the picture. However, in practical applications, when the picture to be processed is large, in the case of not compressing the picture, the entire picture to be processed cannot be displayed in the screen of the device, and considering the memory capacity, it is impossible to complete in one time. The pending image is loaded into the memory according to the original resolution. Based on this, in the embodiment of the present specification, the watermark adding process may be performed after partial loading of the image to be processed, and the watermarking of the image to be processed may be implemented on the basis of ensuring the resolution and definition of the image to be processed. A specific embodiment of a method for adding a watermark to the present specification will be described below. 2 is a schematic flow chart of an embodiment of a method for adding a watermark adding method provided by the present specification. The present specification provides steps of the method as described in the embodiment or the flowchart, but the labor based on conventional or non-creative may include more or Fewer steps. The order of the steps recited in the embodiments is only one of the many steps of the order of execution, and does not represent a single order of execution. When the actual system or client product is executed, it may be executed sequentially or in parallel according to the method shown in the embodiment or the drawing (for example, a parallel processor or a multi-threaded environment). Specifically, as shown in FIG. 2, the method may include: S202: Display, in a screen, a preset initial partial picture of the to-be-processed picture according to an original resolution of a picture to be processed. In actual applications, for a large pending picture, if the picture to be processed is not compressed, the screen of the device such as the mobile phone cannot display all the pictures to be processed, and accordingly, in order to ensure the resolution of the picture to be processed. In the embodiment of the present disclosure, after the user triggers a trigger instruction that needs to perform the watermark adding process on the image to be processed, the partial image of the to-be-processed image is displayed in the screen according to the original resolution of the to-be-processed image (ie, the Preset the initial partial image). Specifically, the preset initial partial picture of the to-be-processed picture may include selecting a partial picture in the to-be-processed picture according to an original pixel size of the picture and a display pixel size of the screen. In a specific embodiment, FIG. 3 is a schematic flowchart of an embodiment of displaying a preset initial partial picture of the to-be-processed picture according to an original resolution of a picture to be processed provided in the present disclosure, as shown in FIG. The method may include: S302: Acquire an original pixel size of a to-be-processed picture and a display pixel size of a screen displaying the to-be-processed picture. S304: Determine a picture display size of the to-be-processed picture in the screen according to a display pixel size of the screen and an original pixel size of the to-be-processed picture. S306: Select a preset partial picture of the picture display size from the to-be-processed picture. Specifically, the preset partial picture may select an area from the to-be-processed picture in advance, for example, a part of the picture in the upper left corner of the picture to be processed may be selected. S308: The preset partial picture of the picture display size is used as the preset initial partial picture. In a specific embodiment, as shown in FIG. 4, FIG. 4 is an exemplary diagram of a picture to be processed provided by the present specification. It is assumed that the picture to be processed shown in FIG. 4 is a picture of 1020*4096 pixels. In addition, in the present specification, a watermark adding process of a to-be-processed picture using a mobile phone is taken as an example, as shown in FIG. 5, FIG. 5 is a pre-preview of displaying a picture to be processed according to the original resolution of a picture to be processed provided in the present disclosure. A schematic diagram of an embodiment of the initial partial picture is assumed. It is assumed that the display pixel size of the mobile phone screen in FIG. 5 is 1080*1920, and the pixel of the to-be-processed picture is 1020*4096, and is displayed according to the original resolution of the to-be-processed picture. , all the pending images cannot be displayed on the mobile phone screen. Correspondingly, the picture display size of the to-be-processed picture in the mobile phone screen can be determined in combination with the display pixel size 1080*1920 of the mobile phone screen and the original pixel size 1020*4096 of the picture to be processed. In a specific embodiment, since the width 1080 in the display pixel size of the mobile phone screen is greater than the width 1020 in the original pixel size of the image to be processed, the corresponding width may be displayed according to 1020 or less; and the display pixel size of the mobile phone screen is displayed. The height 1920 is smaller than the width 4096 in the original pixel size of the picture to be processed, and the corresponding height can be displayed in units of 1920 or less. It is assumed here that the picture size of the picture to be processed in the screen of the mobile phone is 1020*1920 pixels, and correspondingly, a picture of 1020*1920 pixels can be selected from the picture to be processed for display, as can be seen from FIG. 5, the screen of the mobile phone The preset initial partial picture of the to-be-processed picture shown in FIG. 4 is displayed according to the original resolution of the to-be-processed picture shown in FIG. 4, which ensures the clarity and resolution of the picture, and is also convenient for the user to perform watermarking. Add processing. S204: The mobile user triggers a motion triggering instruction according to the preset initial partial image, and displays a target partial image corresponding to the motion triggering instruction in the to-be-processed image according to an original resolution of the to-be-processed image. In the embodiment of the present disclosure, after displaying the preset initial partial picture, the user may select a target partial picture in the to-be-processed picture to be added with a watermark based on the movement of the preset initial partial picture. In a specific embodiment, the receiving the user's movement triggering instruction based on the preset initial partial image may include: receiving a click operation of the preset initial partial image by the user, and corresponding to the click Drag operation of the location. Correspondingly, FIG. 6 is a schematic flowchart of an embodiment of displaying a target partial picture corresponding to the motion triggering instruction in the to-be-processed picture according to the original resolution of the to-be-processed picture provided in the present specification, as shown in FIG. The indication may include: S602: Acquire a moving direction and a moving distance corresponding to the movement triggering instruction. Specifically, the moving direction may include a direction of a trigger position relative to the movement triggering instruction when moving, and the moving distance may include a distance from a trigger position to an end of the movement triggering instruction. Taking the movement triggering instruction as a click operation on the preset initial partial image and a drag operation in a position corresponding to the click, the moving direction may be triggered by a movement when the drag operation is performed with respect to the click operation. The direction of the location. The moving distance may be a distance between a triggering position of the click operation and an ending position of the drag operation. S604: Determine a target partial picture in the to-be-processed picture according to the moving direction and the moving distance. In a specific embodiment, determining the target partial picture in the to-be-processed picture according to the moving direction and the moving distance may include that the to-be-processed picture starts to move from the preset initial partial picture to the moving direction. The partial picture corresponding to the moving distance is the target partial picture. S606: Display the target partial picture according to the original resolution of the to-be-processed picture. As shown in FIG. 7, the examples shown in FIGS. 4 and 5 described above are combined. FIG. 7 is a schematic diagram of an embodiment of displaying the target partial picture in the mobile phone according to the original resolution of the to-be-processed picture provided in the present specification. In FIG. 7, the target partial picture is the same as the pixel size of the preset initial partial picture, and the target partial picture and the preset initial partial picture include the same partial picture, of course, the target partial picture The embodiment may not include the same partial image, and the embodiment is not limited thereto. In another embodiment, the receiving the user's movement triggering instruction based on the preset initial partial image may include: receiving a preset sliding gesture operation of the user based on the preset initial partial image. Specifically, the preset sliding gesture operation herein may include sliding gestures such as sliding, sliding, sliding, sliding, and the like. Correspondingly, FIG. 8 is a schematic flowchart of another embodiment of displaying a target partial picture corresponding to the motion triggering instruction in the to-be-processed picture according to the original resolution of the to-be-processed picture provided in the present specification, as shown in FIG. 8. As shown, the method may include: S802: Acquire a moving direction and a number of movements corresponding to the movement triggering instruction. Specifically, the moving direction may include a direction of a trigger position relative to the movement triggering instruction when moving. The number of moves may include the number of operations corresponding to the move trigger instruction. For example, the mobile triggering command is a preset sliding gesture operation, and the moving direction is a direction of a triggering position of the preset sliding gesture operation when the sliding gesture is operated. The number of moves is the number of times the preset swipe gesture operation. S804: Determine a target partial picture in the to-be-processed picture according to the moving direction and the number of movements. In a specific embodiment, when the number of times of the movement is one time, determining the target partial image in the to-be-processed image according to the moving direction and the number of movements may include: selecting a location from the to-be-processed image The next partial picture of the initial partial picture to the moving direction is preset, and the next partial picture is used as the target partial picture. In another specific embodiment, when the number of movements is greater than or equal to two times, determining the target partial image in the to-be-processed image according to the moving direction and the number of movements may include: from the to-be-processed image Selecting a next partial picture in the moving direction of the preset initial partial picture to the first movement; selecting a current partial image from the to-be-processed picture to the next partial picture in the moving direction of the next movement The step of repeating the step of selecting the current next partial image from the to-be-processed image to the next partial image of the next moving direction to the current number of movements is the last time corresponding to the movement triggering instruction Moving, the next partial picture corresponding to the last move is used as the target partial picture. Specifically, the next partial picture and the preset initial partial picture in the embodiment of the present disclosure may include the same partial picture, or may not include the same partial picture. The current partial image may be included in the next partial image of the current next partial image in the moving direction of the next movement, or may not include the same partial image. S806: Display the target partial picture according to the original resolution of the to-be-processed picture. As shown in FIG. 9, the examples shown in FIGS. 4 and 5 described above are combined. FIG. 9 is a schematic diagram of an embodiment of displaying, in the mobile phone, the target partial picture according to the original resolution of the to-be-processed picture provided in the present specification. In FIG. 9, the target partial picture is the same as the pixel size of the preset initial partial picture, and the target partial picture and the preset initial partial picture are adjacent partial pictures, and do not include the same partial picture. The target partial picture and the preset initial partial picture may also include the same partial picture. The embodiment of the present specification is not limited thereto. In addition, it should be noted that the motion triggering instruction in the embodiment of the present disclosure is not limited to the above-mentioned form, and may include other forms, and the embodiment of the present specification is not limited to the above. In addition, when the area where the user needs to add the watermark is in the area where the preset initial partial picture is located, correspondingly, the preset initial partial picture may be the target partial picture. Correspondingly, the motion triggering instruction can be empty. Correspondingly, it directly jumps to step S206. S206: Receive a watermark adding trigger instruction of the user in the target partial picture, and display a watermark adding picture corresponding to the watermark adding triggering instruction. In the embodiment of the present specification, after the user determines the target partial image that needs to be added with the watermark, the watermark may be triggered to add a trigger instruction. Correspondingly, the client may receive the user's watermark addition trigger on the target partial image. And an instruction to display a watermark added picture corresponding to the watermark adding trigger instruction. In a specific embodiment, the receiving user adds a triggering instruction to the watermark of the target partial image, and displaying the watermark adding the image corresponding to the watermarking adding triggering instruction may include: receiving the user in the Adding a trigger instruction to the watermark of the target partial image, acquiring watermark information corresponding to the watermark adding trigger instruction, and adding a target position of the watermark information; adding at the target position of the target partial image The watermark information generates a picture after adding a watermark. And selecting a partial image in the added watermarked picture as a watermark to add a picture; displaying the watermark added picture according to an original resolution of the to-be-processed picture. Specifically, the watermark information in the embodiment of the present specification may include, but is not limited to, a text, a picture, a number, and the like. In a specific embodiment, it is assumed that the watermark information is in a medium loop condition. As shown in FIG. 10, FIG. 10 is a schematic diagram of an embodiment of adding a watermarked picture provided by the present specification. Correspondingly, the watermarked image can be directly displayed to the user according to the original resolution. Accordingly, the user can view the complete watermark by dragging and zooming the image. image. In the actual application, the watermark adding process in the mobile phone client of the touch screen of the Android system is taken as an example. In the above step S202, the preset initial partial image of the image to be processed, that is, the partial loading operation on the image It can be implemented by a corresponding image partial loading class, such as a region image loading class BitmapRegionDecoder. Since the screen is not displayed, the image to be processed is viewed by moving the image (ie, triggering the mobile triggering instruction). Correspondingly, you can change the parameters of the drag area and perform the boundary check in the listener's callback by listening to the moving gesture in the onTouchEvent. Then, use the BitmapRegionDecoder to load and move according to the parameters of the drag area. The target partial picture corresponding to the trigger instruction is displayed. Then, when the user triggers the watermark adding trigger command, the information such as the position and size of the watermark information relative to the original image is recorded, and the watermark information that the user needs to add is added to the BitmapRegionEncoder (region image writing class). The location of the watermark information in the image is processed, and the image after adding the watermark is generated for saving. In the process of using the BitmapRegionEncoder to combine the watermark information and the image to be processed to generate a watermarked image, three parameters are needed, the original path information of the image to be processed, inputStrem, and the location information of the watermark information. Rect and watermark information Bitmap. It can be seen that one or more embodiments of the method for adding watermarking processing in the present specification display a partial image of a picture to be processed according to the original resolution of the picture to be processed in the screen; and then, receive a motion triggering instruction of the user based on the partial picture. According to the original resolution of the to-be-processed image, the target partial image including the watermark information area needs to be added, to ensure the resolution of the image when the watermark is added; finally, the user receives the watermark of the target partial image. The triggering instruction is added to display a clear watermark adding picture corresponding to the watermark adding triggering instruction, which greatly improves the resolution of the image and improves the user experience. Another aspect of the present specification further provides a watermarking adding processing device, and FIG. 11 is a schematic structural diagram of an embodiment of a watermarking adding processing device provided by the present specification. As shown in FIG. 1, the device 1100 may include: an initial partial image. The display module 1110 can be configured to display a preset initial partial image of the to-be-processed image according to the original resolution of the to-be-processed image in the screen. The mobile triggering instruction receiving module 1120 can be configured to receive the user based on the pre- The target partial picture display module 1130 is configured to display, according to the original resolution of the to-be-processed picture, a target partial picture corresponding to the motion triggering instruction in the to-be-processed picture; The watermark adding picture display module 1140 is configured to receive a watermark adding trigger instruction of the user in the target partial picture, and display a watermark adding picture corresponding to the watermark adding triggering instruction. In another embodiment, the initial partial image display module 1110 may include: a pixel size acquiring unit, configured to acquire an original pixel size of a to-be-processed image and a display pixel size of a screen for displaying the to-be-processed image; a determining unit, configured to determine a picture display size of the to-be-processed picture in the screen according to a display pixel size of the screen and an original pixel size of the to-be-processed picture; an initial partial picture determining module, configured to A preset partial picture of the picture display size is selected in the processed picture, and a preset partial picture of the picture display size is used as the preset initial partial picture. In another embodiment, the mobile triggering instruction receiving module 1120 may include: a first receiving unit, configured to receive a user click operation on the preset initial partial image, and tow at a position corresponding to the click operating. In another embodiment, the target partial picture display module 1130 may include: a first mobile data acquiring unit, configured to acquire a moving direction and a moving distance corresponding to the motion triggering instruction; And determining, by the moving direction and the moving distance, the target partial image in the to-be-processed image; the first target partial image display unit, configured to display the target partial image according to the original resolution of the to-be-processed image. In another embodiment, the mobile triggering instruction receiving module 1120 may include: a second receiving unit, configured to receive a preset sliding gesture operation of the user based on the preset initial partial image. In another embodiment, the target partial picture display module includes: a second movement data acquisition unit, configured to acquire a movement direction and a movement number corresponding to the movement trigger instruction; and a second target partial picture determination unit, Determining, according to the moving direction and the number of movements, the target partial image in the to-be-processed image; the second target partial image display unit, configured to display the target partial image according to the original resolution of the to-be-processed image. In another embodiment, when the number of times of the movement is one, the second target partial picture determining unit is configured to: select the preset initial partial picture from the to-be-processed picture to the next direction of the moving direction. a partial picture, the next partial picture being used as the target partial picture. In another embodiment, when the number of movements is greater than or equal to two times, the second target partial image determining unit is configured to: when the preset initial partial image is selected from the to-be-processed image, to move to the first time a next partial picture of the moving direction; a next partial picture for selecting a current next partial picture from the to-be-processed picture to the next moving direction; for repeatedly selecting the current picture from the to-be-processed picture The movement of the next partial image to the next partial image of the next moving direction of movement to the current number of movements is the last movement corresponding to the movement triggering instruction, corresponding to the last movement The next partial picture serves as the target partial picture. In another embodiment, the watermark adding picture display module 1140 may include: a watermark adding trigger instruction receiving unit, configured to receive a watermark adding trigger instruction of the user in the target partial image; a unit, configured to acquire watermark information corresponding to the watermarking addition triggering instruction and a target location to add the watermarking information; a watermarking image generating module, configured to be at the target location of the target partial image Adding the watermark information to generate a picture after adding the watermark; the watermark adding picture display unit is configured to select a partial picture in the picture after adding the watermark as a watermark to add a picture, according to the picture to be processed The original resolution shows the watermark added to the picture. The above-mentioned watermarking adding processing method or device provided by the embodiment of the present specification can be implemented by a processor executing a corresponding program instruction in a computer, such as using a C++ language of a Windows operating system on a PC side, or other using, for example, an android or iOS system. Programming languages are implemented in smart terminals, as well as processing logic based on quantum computers. As shown in FIG. 12, FIG. 12 is a schematic structural diagram of a watermark adding processing client according to an exemplary embodiment of the present specification. At the hardware level, the client can include processors, internal busses, network interfaces, memory, and non-volatile memory, as well as hardware for other services. The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs to form a watermark adding processing device on the logic level. Of course, in addition to the software implementation, the present application does not exclude other implementation manners, such as a logical device or a combination of software and hardware, etc., that is, the execution body of the following processing flow is not limited to each logical unit, and may also be It is a hardware or logic device. Specifically, the present disclosure further provides a watermark adding processing client, including a processor and a memory, where the memory stores computer program instructions executed by the processor, and the computer program instructions may include: Displaying, in the screen, a preset initial partial image of the to-be-processed image according to the original resolution of the to-be-processed image; receiving, by the user, a motion triggering instruction based on the preset initial partial image, displaying according to the original resolution of the to-be-processed image a target partial image corresponding to the motion triggering instruction in the to-be-processed image; receiving a watermarking triggering instruction of the user in the target partial image, displaying a watermarking addition corresponding to the watermarking adding triggering instruction image. In the embodiment of the present specification, the processor may include a central processing unit (CPU) or a graphics processing unit (GPU), and may of course include other single-chip microcomputers with logic processing capabilities, logic gate circuits, integrated circuits, etc., or Proper combination. The memory described in the embodiment of the present application may be a memory device for storing information. In a digital system, a device capable of storing binary data may be a memory; in an integrated circuit, a circuit having a storage function without a physical form may also be a memory such as a RAM, a FIFO, etc.; in the system, having a physical form The storage device can also be called a memory or the like. When implemented, the memory can also be implemented by means of cloud memory. The specific implementation mode is well limited. It can be seen that the embodiment of the method, device or client of the watermark adding processing of the present invention displays a partial image of the image to be processed according to the original resolution of the image to be processed in the screen; and then receives the movement of the user based on the partial image. The triggering instruction displays the target partial image including the watermark information area to be added according to the original resolution of the to-be-processed image, and ensures the resolution of the image when the watermark is added; finally, receiving the user's partial image in the target The watermark adds a trigger instruction to display a clear watermark adding picture corresponding to the watermark adding trigger instruction, which greatly improves the resolution of the picture and improves the user experience. The foregoing description of the specific embodiments of the specification has been described. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the scope of the claims may be performed in a different order than the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings are not necessarily in a particular order or in a sequential order to achieve the desired results. In some embodiments, multiplex processing and parallel processing are also possible or may be advantageous. In the 1990s, improvements to a technology could clearly distinguish between hardware improvements (eg, improvements to circuit structures such as diodes, transistors, switches, etc.) or software improvements (for method flow). Improve). However, as technology advances, many of today's method flow improvements can be seen as direct improvements in hardware circuit architecture. Designers almost always get the corresponding hardware structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that the improvement of a method flow cannot be implemented by a hardware entity module. For example, a Programmable Logic Device (PLD) (such as a Field Programmable Gate Array (FPGA)) is an integrated circuit whose logic function is determined by the user programming the device. Designers program themselves to "integrate" a digital system on a single PLD without requiring the chip manufacturer to design and fabricate a dedicated integrated circuit die. Moreover, today, instead of manually making integrated circuit chips, this programming is mostly implemented using "logic compiler" software, which is similar to the software compiler used in programming development, but before compiling The source code must also be written in a specific programming language. This is called the Hardware Description Language (HDL). HDL is not the only one, but there are many kinds, such as ABEL (Advanced Boolean Expression Language). ), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog are used. It should also be apparent to those skilled in the art that the hardware process for implementing the logic method flow can be easily obtained by simply programming the method flow into the integrated circuit with a few logic description languages. The controller can be implemented in any suitable manner, for example, the controller can be readable by, for example, a microprocessor or processor and a computer readable code (e.g., software or firmware) that can be executed by the (micro)processor. Media, logic gates, switches, Application Specific Integrated Circuits (ASICs), programmable logic controllers, and embedded microcontrollers. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM The Microchip PIC18F26K20 and the Silicone Labs C8051F320, the memory controller can also be implemented as part of the memory's control logic. It is also known to those skilled in the art that in addition to implementing the controller in a purely computer readable code, the controller can be logically programmed by means of logic gates, switches, ASICs, programmable logic controllers, and Embedded in the form of a microcontroller or the like to achieve the same function. Thus such a controller can be considered a hardware component, and the means for implementing various functions included therein can also be considered as a structure within the hardware component. Or even a device for implementing various functions can be considered as either a software module implementing the method or a structure within the hardware component. The device, module or unit illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product having a certain function. A typical implementation device is a computer. Specifically, the computer can be, for example, a personal computer, a notebook computer, a mobile phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet, a wearable device, or A combination of any of these devices. For the convenience of description, the above devices are described separately by function into various units. Of course, the functions of each unit may be implemented in the same software or software and/or hardware in the implementation of the present specification. Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, apparatus, or computer program product. Thus, the present invention can take the form of a fully hardware embodiment, a fully software embodiment, or an embodiment combining soft and hardware aspects. Moreover, the present invention may take the form of a computer program product implemented on one or more computer usable storage media (including but not limited to disk memory, CD-ROM, optical memory, etc.) containing computer usable code. . The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus, and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowcharts and/or <RTIgt; These computer program instructions can be provided to a processor of a general purpose computer, a special purpose computer, an embedded processor or other programmable data processing device to produce a machine for generating instructions by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more flows of a flowchart or a block or blocks of a flowchart. The computer program instructions can also be stored in a computer readable memory that can boot a computer or other programmable data processing device to operate in a particular manner, such that instructions stored in the computer readable memory produce an article of manufacture including the instruction device. The instruction means implements the functions specified in one or more flows of the flowchart or in a block or blocks of the flowchart. These computer program instructions can also be loaded onto a computer or other programmable data processing device to perform a series of operational steps on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more flows of the flowchart or in a block or blocks of the flowchart. In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, a network interface, and memory. The memory may include non-permanent memory, random access memory (RAM) and/or non-volatile memory in computer readable media, such as read only memory (ROM) or flash memory ( Flash RAM). Memory is an example of a computer readable medium. Computer readable media including both permanent and non-permanent, removable and non-removable media can be stored by any method or technology. Information can be computer readable instructions, data structures, modules of programs, or other materials. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), and other types of random access memory (RAM). Read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) Or other optical storage, magnetic tape cartridges, magnetic tape storage, graphene storage or other magnetic storage devices or any other non-transportable media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary storage of computer readable media, such as modulated data signals and carrier waves. It is also to be understood that the terms "comprises" or "comprising" or "comprising" or any other variations are intended to encompass a non-exclusive inclusion, such that a process, method, article, Other elements not explicitly listed, or elements that are inherent to such a process, method, commodity, or equipment. An element defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device including the element. Those skilled in the art will appreciate that embodiments of the present specification can be provided as a method, apparatus, or computer program product. Accordingly, the present description may take the form of a fully hardware embodiment, a fully software embodiment, or an embodiment combining soft and hardware aspects. Moreover, the present specification may take the form of a computer program product implemented on one or more computer usable storage media (including but not limited to disk memory, CD-ROM, optical memory, etc.) containing computer usable code. . This description can be described in the general context of computer-executable instructions executed by a computer, such as a program module. Generally, program modules include routines, programs, objects, components, data structures, and the like that perform particular tasks or implement particular abstract data types. The present specification can also be practiced in a decentralized computing environment in which tasks are performed by remote processing devices that are connected by a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media, including storage devices. The various embodiments in the specification are described in a progressive manner, and the same or similar parts between the various embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the device and server embodiments, since it is substantially similar to the method embodiment, the description is relatively simple, and the relevant portions can be referred to the description of the method embodiments. The above descriptions are only examples of the present specification and are not intended to limit the present specification. Various modifications and changes can be made in the present specification to those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of this specification are intended to be included in the scope of the application.

100‧‧‧圖片100‧‧‧ Pictures

S202~S206‧‧‧步驟S202~S206‧‧‧Steps

S302~S308‧‧‧步驟S302~S308‧‧‧Steps

S602~S606‧‧‧步驟S602~S606‧‧‧Steps

S802~S806‧‧‧步驟S802~S806‧‧‧Steps

1100‧‧‧浮水印添加處理裝置1100‧‧‧Watermark Addition Processing Device

1110‧‧‧初始局部圖片顯示模組1110‧‧‧Initial partial picture display module

1120‧‧‧移動觸發指令接收模組1120‧‧‧Mobile trigger command receiving module

1130‧‧‧目標局部圖片顯示模組1130‧‧‧Target partial picture display module

1140‧‧‧浮水印添加圖片顯示模組1140‧‧‧Watermark Add Picture Display Module

為了更清楚地說明本說明書一個或多個實施例或現有技術中的技術方案,下面將對實施例或現有技術描述中所需要使用的圖式作簡單地介紹,顯而易見地,下面描述中的圖式僅僅是本說明書中記載的一些實施例,對於本領域具有通常知識者來講,在不付出創造性勞動的前提下,還可以根據這些圖式獲得其他的圖式。   圖1是本說明書提供的現有技術中在手機上對圖片進行浮水印添加處理的示意圖;   圖2是本說明書提供的浮水印添加處理方法的一種實施例的流程示意圖;   圖3是本說明書提供的在螢幕中按照待處理圖片的原始解析度顯示所述待處理圖片的預設初始局部圖片一種實施例的流程示意圖;   圖4是本說明書提供的待處理圖片的一種示例圖;   圖5是本說明書提供的在螢幕中按照待處理圖片的原始解析度顯示待處理圖片的預設初始局部圖片一種實施例的示意圖;   圖6是本說明書提供的按照所述待處理圖片的原始解析度顯示所述待處理圖片中與所述移動觸發指令相對應的目標局部圖片一種實施例的流程示意圖;   圖7是本說明書提供的在手機中按照所述待處理圖片的原始解析度顯示所述目標局部圖片的一種實施例的示意圖;   圖8是本說明書提供的按照所述待處理圖片的原始解析度顯示所述待處理圖片中與所述移動觸發指令相對應的目標局部圖片另一種實施例的流程示意圖;   圖9是本說明書提供的在手機中按照所述待處理圖片的原始解析度顯示所述目標局部圖片的一種實施例的示意圖;   圖10是本說明書提供的一種添加浮水印後的圖片的一種實施例的示意圖;   圖11是本說明書提供的浮水印添加處理裝置的一種實施例的結構示意圖;   圖12是根據本說明書的一示例性實施例的浮水印添加處理客戶端的示意結構圖。In order to more clearly illustrate one or more embodiments of the present specification or the technical solutions in the prior art, the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description The formula is only some of the embodiments described in the specification, and those skilled in the art can obtain other schemas based on these schemas without paying creative labor. 1 is a schematic diagram of a watermarking process for adding a picture on a mobile phone in the prior art provided by the present specification; FIG. 2 is a schematic flowchart of an embodiment of a method for adding a watermarking method provided by the present specification; FIG. 4 is a schematic diagram of an embodiment of a preset initial partial image of a to-be-processed image according to an original resolution of a to-be-processed image; FIG. 4 is an exemplary diagram of a to-be-processed image provided by the present specification; A schematic diagram of an embodiment of displaying a preset initial partial image of a to-be-processed image according to an original resolution of a to-be-processed image provided in the screen; FIG. 6 is a display of the original resolution of the to-be-processed image provided by the present specification. A schematic flowchart of processing an image of a target partial image corresponding to the mobile triggering instruction in a picture; FIG. 7 is a schematic diagram of displaying, in the mobile phone, a target partial image according to an original resolution of the to-be-processed picture in the mobile phone. Schematic diagram of an embodiment; Figure 8 is a The flow chart of another embodiment of the target partial image corresponding to the motion triggering instruction in the to-be-processed image is displayed according to the original resolution of the to-be-processed picture provided in the specification; FIG. 9 is a mobile phone provided by the present specification. A schematic diagram of an embodiment of displaying the target partial image according to the original resolution of the to-be-processed picture; FIG. 10 is a schematic diagram of an embodiment of adding a watermarked picture provided by the present specification; FIG. 11 is the present specification. A schematic structural diagram of an embodiment of a provided watermark adding processing apparatus; FIG. 12 is a schematic structural diagram of a watermarking adding processing client according to an exemplary embodiment of the present specification.

Claims (19)

一種浮水印添加處理方法,包括:   在螢幕中按照待處理圖片的原始解析度顯示該待處理圖片的預設初始局部圖片;   接收使用者基於該預設初始局部圖片的移動觸發指令,按照該待處理圖片的原始解析度顯示該待處理圖片中與該移動觸發指令相對應的目標局部圖片;   接收使用者在該目標局部圖片的浮水印添加觸發指令,顯示與該浮水印添加觸發指令相對應的浮水印添加圖片。A method for adding a watermarking method, comprising: displaying, in a screen, a preset initial partial image of the image to be processed according to an original resolution of the image to be processed; receiving a movement triggering instruction of the user based on the preset initial partial image, according to the waiting Processing the original resolution of the image to display the target partial image corresponding to the motion triggering instruction in the to-be-processed image; receiving a watermarking triggering instruction of the user in the target partial image, displaying the corresponding corresponding to the watermarking adding triggering instruction Add a picture to the watermark. 根據申請專利範圍第1項所述的方法,其中,該在螢幕中按照待處理圖片的原始解析度顯示該待處理圖片的預設初始局部圖片包括:   獲取待處理圖片的原始像素尺寸和顯示該待處理圖片的螢幕的顯示像素尺寸;   根據該螢幕的顯示像素尺寸和該待處理圖片的原始像素尺寸確定在該螢幕中該待處理圖片的圖片顯示尺寸;   從該待處理圖片中選取該圖片顯示尺寸的預設局部圖片;   將該圖片顯示尺寸的預設局部圖片作為該預設初始局部圖片。The method according to claim 1, wherein the displaying the preset initial partial image of the to-be-processed image according to the original resolution of the to-be-processed image in the screen comprises: acquiring an original pixel size of the to-be-processed image and displaying the a display pixel size of the screen of the to-be-processed image; determining a picture display size of the to-be-processed picture in the screen according to the display pixel size of the screen and the original pixel size of the to-be-processed picture; selecting the picture display from the to-be-processed picture a preset partial picture of a size; a preset partial picture of the picture display size is used as the preset initial partial picture. 根據申請專利範圍第1項所述的方法,其中,該接收使用者基於該預設初始局部圖片的移動觸發指令包括:   接收使用者對該預設初始局部圖片的點擊操作,以及在該點擊所對應位置的拖曳操作。According to the method of claim 1, wherein the receiving user triggers the movement triggering instruction based on the preset initial partial image, comprising: receiving a click operation of the preset initial partial image by the user, and clicking on the click The drag operation of the corresponding position. 根據申請專利範圍第1或3項所述的方法,其中,該按照該待處理圖片的原始解析度顯示該待處理圖片中與該移動觸發指令相對應的目標局部圖片包括:   獲取與該移動觸發指令相對應的移動方向和移動距離;   根據該移動方向和移動距離確定該待處理圖片中的目標局部圖片;   按照該待處理圖片的原始解析度顯示該目標局部圖片。The method according to claim 1 or 3, wherein the displaying the target partial image corresponding to the movement triggering instruction in the to-be-processed image according to the original resolution of the to-be-processed image comprises: acquiring and triggering the movement And a moving direction and a moving distance corresponding to the instruction; determining a target partial image in the to-be-processed image according to the moving direction and the moving distance; and displaying the target partial image according to the original resolution of the to-be-processed image. 根據申請專利範圍第1項所述的方法,其中,該接收使用者基於該預設初始局部圖片的移動觸發指令包括:   接收使用者基於該預設初始局部圖片的預設滑動手勢操作。The method of claim 1, wherein the receiving user triggers the movement triggering instruction based on the preset initial partial image comprises: receiving a preset sliding gesture operation of the user based on the preset initial partial image. 根據申請專利範圍第1或5項所述的方法,其中,該按照該待處理圖片的原始解析度顯示該待處理圖片中與該移動觸發指令相對應的目標局部圖片包括:   獲取與該移動觸發指令相對應的移動方向和移動次數;   根據該移動方向和移動次數確定該待處理圖片中的目標局部圖片;   按照該待處理圖片的原始解析度顯示該目標局部圖片。The method according to claim 1 or 5, wherein the displaying the target partial image corresponding to the movement triggering instruction in the to-be-processed image according to the original resolution of the to-be-processed image comprises: acquiring and triggering the movement The moving direction and the number of movements corresponding to the instruction; determining the target partial image in the to-be-processed image according to the moving direction and the number of movements; displaying the target partial image according to the original resolution of the to-be-processed image. 根據申請專利範圍第6項所述的方法,其中,當該移動次數為一次時,該根據該移動方向和移動次數確定該待處理圖片中的目標局部圖片包括:   從該待處理圖片中選取該預設初始局部圖片往該移動方向的下一局部圖片,將該下一局部圖片作為該目標局部圖片。The method of claim 6, wherein, when the number of movements is one time, determining the target partial image in the to-be-processed image according to the moving direction and the number of movements comprises: selecting the selected image from the to-be-processed image Presetting the next partial picture of the initial partial picture to the moving direction, and using the next partial picture as the target partial picture. 根據申請專利範圍第6項所述的方法,其中,當該移動次數大於等於兩次時,該根據該移動方向和移動次數確定該待處理圖片中的目標局部圖片包括:   從該待處理圖片中選取該預設初始局部圖片往第一次移動時的移動方向的下一局部圖片;   從該待處理圖片中選取當前的下一局部圖片往下一次移動的移動方向的下一局部圖片;   重複從該待處理圖片中選取當前的下一局部圖片往下一次移動的移動方向的下一局部圖片的步驟至當前的移動次數所對應的移動為該移動觸發指令所對應的最後一次移動,將該最後一次移動所對應的下一局部圖片作為該目標局部圖片。The method of claim 6, wherein when the number of movements is greater than or equal to two times, determining the target partial image in the to-be-processed image according to the moving direction and the number of movements comprises: from the to-be-processed image Selecting a next partial picture in the moving direction of the preset initial partial picture to the first movement; selecting a current partial image from the to-be-processed picture to the next partial picture in the moving direction of the next movement; The movement of the next partial image in the to-be-processed image to the next partial image of the next moving direction to the current number of movements is the last movement corresponding to the movement triggering instruction, and the last The next partial picture corresponding to one movement is used as the target partial picture. 根據申請專利範圍第1項所述的方法,其中,該接收使用者在該目標局部圖片的浮水印添加觸發指令,顯示與該浮水印添加觸發指令相對應的浮水印添加圖片包括:   接收使用者在該目標局部圖片的浮水印添加觸發指令,獲取與該浮水印添加觸發指令相對應的浮水印資訊和添加該浮水印資訊的目標位置;   在該目標局部圖片的該目標位置處添加該浮水印資訊,產生添加浮水印後的圖片;   選取該添加浮水印後的圖片中的局部圖片作為浮水印添加圖片;   按照該待處理圖片的原始解析度顯示該浮水印添加圖片。The method of claim 1, wherein the receiving user adds a triggering instruction to the watermark of the target partial image, and displaying the watermark adding image corresponding to the watermarking adding triggering instruction comprises: receiving the user Adding a trigger instruction to the watermark of the target partial image, acquiring the watermark information corresponding to the watermark adding trigger instruction, and adding a target position of the watermark information; adding the watermark at the target position of the target partial image Information, generating a picture after adding a watermark; selecting a partial picture in the picture after adding the watermark as a watermark to add a picture; displaying the watermark added picture according to the original resolution of the picture to be processed. 一種浮水印添加處理裝置,包括:   初始局部圖片顯示模組,用於在螢幕中按照待處理圖片的原始解析度顯示該待處理圖片的預設初始局部圖片;   移動觸發指令接收模組,用於接收使用者基於該預設初始局部圖片的移動觸發指令;   目標局部圖片顯示模組,用於按照該待處理圖片的原始解析度顯示該待處理圖片中與該移動觸發指令相對應的目標局部圖片;   浮水印添加圖片顯示模組,用於接收使用者在該目標局部圖片的浮水印添加觸發指令,顯示與該浮水印添加觸發指令相對應的浮水印添加圖片。A floating watermark adding processing device, comprising: an initial partial image display module, configured to display a preset initial partial image of the to-be-processed image according to an original resolution of a to-be-processed image in a screen; a mobile trigger instruction receiving module, configured to Receiving a movement triggering instruction of the user based on the preset initial partial image; the target partial image display module, configured to display, according to the original resolution of the to-be-processed image, a target partial image corresponding to the motion triggering instruction in the to-be-processed image The watermark adding picture display module is configured to receive a watermark adding trigger instruction of the user in the target partial image, and display a watermark adding picture corresponding to the watermark adding triggering instruction. 根據申請專利範圍第10項所述的裝置,其中,該初始局部圖片顯示模組包括:   像素尺寸獲取單元,用於獲取待處理圖片的原始像素尺寸和顯示該待處理圖片的螢幕的顯示像素尺寸;   圖片顯示尺寸確定單元,用於根據該螢幕的顯示像素尺寸和該待處理圖片的原始像素尺寸確定在該螢幕中該待處理圖片的圖片顯示尺寸;   初始局部圖片確定模組,用於從該待處理圖片中選取該圖片顯示尺寸的預設局部圖片,將該圖片顯示尺寸的預設局部圖片作為該預設初始局部圖片。The device according to claim 10, wherein the initial partial picture display module comprises: a pixel size acquisition unit, configured to acquire an original pixel size of a picture to be processed and a display pixel size of a screen displaying the picture to be processed a picture display size determining unit, configured to determine a picture display size of the to-be-processed picture in the screen according to a display pixel size of the screen and an original pixel size of the to-be-processed image; an initial partial picture determining module, configured to A preset partial picture of the picture display size is selected in the to-be-processed picture, and the preset partial picture of the picture display size is used as the preset initial partial picture. 根據申請專利範圍第10項所述的裝置,其中,該移動觸發指令接收模組包括:   第一接收單元,用於接收使用者對該預設初始局部圖片的點擊操作,以及在該點擊所對應位置的拖曳操作。The device of claim 10, wherein the mobile trigger command receiving module comprises: a first receiving unit, configured to receive a click operation of the preset initial partial image by the user, and corresponding to the click Drag operation of the location. 根據申請專利範圍第10或12項所述的裝置,其中,該目標局部圖片顯示模組包括:   第一移動資料獲取單元,用於獲取與該移動觸發指令相對應的移動方向和移動距離;   第一目標局部圖片確定單元,用於根據該移動方向和移動距離確定該待處理圖片中的目標局部圖片;   第一目標局部圖片顯示單元,用於按照該待處理圖片的原始解析度顯示該目標局部圖片。The apparatus according to claim 10 or 12, wherein the target partial picture display module comprises: a first movement data acquisition unit, configured to acquire a movement direction and a movement distance corresponding to the movement triggering instruction; a target local image determining unit, configured to determine a target partial image in the to-be-processed image according to the moving direction and the moving distance; the first target partial image display unit is configured to display the target locality according to the original resolution of the to-be-processed image image. 根據申請專利範圍第10項所述的裝置,其中,該移動觸發指令接收模組包括:   第二接收單元,用於接收使用者基於該預設初始局部圖片的預設滑動手勢操作。The device of claim 10, wherein the mobile trigger command receiving module comprises: a second receiving unit, configured to receive a preset sliding gesture operation of the user based on the preset initial partial image. 根據申請專利範圍第10或14項所述的裝置,其中,該目標局部圖片顯示模組包括:   第二移動資料獲取單元,用於獲取與該移動觸發指令相對應的移動方向和移動次數;   第二目標局部圖片確定單元,用於根據該移動方向和移動次數確定該待處理圖片中的目標局部圖片;   第二目標局部圖片顯示單元,用於按照該待處理圖片的原始解析度顯示該目標局部圖片。The apparatus of claim 10, wherein the target partial picture display module comprises: a second movement data acquisition unit, configured to acquire a movement direction and a movement number corresponding to the movement trigger instruction; a second target partial picture determining unit, configured to determine a target partial picture in the to-be-processed picture according to the moving direction and the number of movements; and a second target partial picture display unit, configured to display the target local part according to the original resolution of the to-be-processed picture image. 根據申請專利範圍第15項所述的裝置,其中,當該移動次數為一次時,該第二目標局部圖片確定單元:   用於從該待處理圖片中選取該預設初始局部圖片往該移動方向的下一局部圖片,將該下一局部圖片作為該目標局部圖片。The device of claim 15, wherein the second target partial image determining unit is configured to select the preset initial partial image from the to-be-processed image to the moving direction when the number of movements is one time. The next partial picture, the next partial picture is taken as the target partial picture. 根據申請專利範圍第15項所述的裝置,其中,當該移動次數大於等於兩次時,該第二目標局部圖片確定單元:   用於從該待處理圖片中選取該預設初始局部圖片往第一次移動時的移動方向的下一局部圖片;   用於從該待處理圖片中選取當前的下一局部圖片往下一次移動的移動方向的下一局部圖片;   用於重複從該待處理圖片中選取當前的下一局部圖片往下一次移動的移動方向的下一局部圖片的步驟至當前的移動次數所對應的移動為該移動觸發指令所對應的最後一次移動,將該最後一次移動所對應的下一局部圖片作為該目標局部圖片。The device of claim 15, wherein the second target partial image determining unit is configured to select the preset initial partial image from the to-be-processed image when the number of movements is greater than or equal to two times a next partial picture of the moving direction of one movement; a next partial picture for selecting the current next partial picture from the to-be-processed picture to the next moving direction; for repeating from the to-be-processed picture The step of selecting the current next partial picture to the next partial picture of the next moving direction of movement to the current number of movements is the last movement corresponding to the movement triggering instruction, corresponding to the last movement The next partial picture is used as the target partial picture. 根據申請專利範圍第10項所述的裝置,其中,該浮水印添加圖片顯示模組包括:   浮水印添加觸發指令接收單元,用於接收使用者在該目標局部圖片的浮水印添加觸發指令;   浮水印添加資訊獲取單元,用於獲取與該浮水印添加觸發指令相對應的浮水印資訊和添加該浮水印資訊的目標位置;   浮水印圖片產生模組,用於在該目標局部圖片的該目標位置處添加該浮水印資訊,產生添加浮水印後的圖片;   浮水印添加圖片顯示單元,用於選取該添加浮水印後的圖片中的局部圖片作為浮水印添加圖片,按照該待處理圖片的原始解析度顯示該浮水印添加圖片。The apparatus of claim 10, wherein the watermark adding picture display module comprises: a watermark adding trigger instruction receiving unit, configured to receive a watermarking trigger instruction of the user in the target partial picture; a watermark adding information acquiring unit, configured to acquire watermark information corresponding to the watermarking adding triggering instruction and a target location for adding the watermarking information; and a watermarking image generating module, configured to be at the target location of the target partial image Adding the watermark information to generate a picture after adding the watermark; adding a picture display unit to the watermark to select a partial picture in the picture after adding the watermark as a watermark to add a picture, according to the original analysis of the picture to be processed The degree is displayed to add a picture to the watermark. 一種浮水印添加處理客戶端,包括處理器及記憶體,該記憶體儲存由該處理器執行的電腦程式指令,該電腦程式指令包括:   在螢幕中按照待處理圖片的原始解析度顯示該待處理圖片的預設初始局部圖片;   接收使用者基於該預設初始局部圖片的移動觸發指令,按照該待處理圖片的原始解析度顯示該待處理圖片中與該移動觸發指令相對應的目標局部圖片;   接收使用者在該目標局部圖片的浮水印添加觸發指令,顯示與該浮水印添加觸發指令相對應的浮水印添加圖片。A watermark adding processing client, comprising a processor and a memory, the memory storing computer program instructions executed by the processor, the computer program instructions comprising: displaying the pending in the screen according to the original resolution of the image to be processed a preset initial partial image of the image; receiving a motion triggering instruction of the user based on the preset initial partial image, and displaying a target partial image corresponding to the motion triggering instruction in the to-be-processed image according to the original resolution of the to-be-processed image; Receiving a watermark adding trigger instruction of the user in the target partial picture, displaying a watermark adding picture corresponding to the watermark adding triggering instruction.
TW107118234A 2017-09-14 2018-05-29 Watermark adding processing method, device and client TWI691206B (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201710828104.5A CN107766703B (en) 2017-09-14 2017-09-14 Watermark adding processing method and device and client
??201710828104.5 2017-09-14
CN201710828104.5 2017-09-14

Publications (2)

Publication Number Publication Date
TW201916690A true TW201916690A (en) 2019-04-16
TWI691206B TWI691206B (en) 2020-04-11

Family

ID=61265561

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107118234A TWI691206B (en) 2017-09-14 2018-05-29 Watermark adding processing method, device and client

Country Status (3)

Country Link
CN (1) CN107766703B (en)
TW (1) TWI691206B (en)
WO (1) WO2019052412A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107766703B (en) * 2017-09-14 2020-08-04 阿里巴巴集团控股有限公司 Watermark adding processing method and device and client
CN109598667A (en) * 2018-11-30 2019-04-09 北京金山云网络技术有限公司 A kind of method and device for adding watermark on picture
CN111681291A (en) * 2020-04-27 2020-09-18 中国平安财产保险股份有限公司 Image processing method, device, equipment and computer readable storage medium
CN111784802A (en) * 2020-07-30 2020-10-16 支付宝(杭州)信息技术有限公司 Image generation method, device and equipment

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102147659A (en) * 2011-03-21 2011-08-10 中兴通讯股份有限公司 Terminal and display content processing method thereof
US9684941B2 (en) * 2012-10-29 2017-06-20 Digimarc Corporation Determining pose for use with digital watermarking, fingerprinting and augmented reality
CN103197882A (en) * 2013-02-22 2013-07-10 北京小米科技有限责任公司 Image display method and mobile terminal
JPWO2015063847A1 (en) * 2013-10-29 2017-03-09 発紘電機株式会社 Programmable display, program
CN116109734A (en) * 2014-02-12 2023-05-12 腾讯科技(深圳)有限公司 Picture processing method and device
CN105094803A (en) * 2015-06-17 2015-11-25 深圳市美贝壳科技有限公司 Visualized picture editing system and method thereof
CN106055247A (en) * 2016-05-25 2016-10-26 努比亚技术有限公司 Picture display device, method and mobile terminal
CN106775301A (en) * 2016-11-29 2017-05-31 珠海市魅族科技有限公司 The screenshot method and terminal device of a kind of terminal
CN107766703B (en) * 2017-09-14 2020-08-04 阿里巴巴集团控股有限公司 Watermark adding processing method and device and client

Also Published As

Publication number Publication date
TWI691206B (en) 2020-04-11
WO2019052412A1 (en) 2019-03-21
CN107766703A (en) 2018-03-06
CN107766703B (en) 2020-08-04

Similar Documents

Publication Publication Date Title
US10409366B2 (en) Method and apparatus for controlling display of digital content using eye movement
TWI691206B (en) Watermark adding processing method, device and client
CA2750546C (en) Dual module portable devices
US20180246635A1 (en) Generating user interfaces combining foreground and background of an image with user interface elements
CN108228050B (en) Picture scaling method and device and electronic equipment
US20120174029A1 (en) Dynamically magnifying logical segments of a view
TWI695320B (en) Page processing method, device and equipment
US10325398B2 (en) Absolute age for a digital ink stroke
KR20160120343A (en) Cross-platform rendering engine
US9111327B2 (en) Transforming graphic objects
WO2019085580A1 (en) View scrolling method and apparatus, and electronic device
WO2019085653A1 (en) Page information display method, device, and client
US20140022405A1 (en) Fill with camera ink
US20160070460A1 (en) In situ assignment of image asset attributes
US9395910B2 (en) Invoking zoom on touch-screen devices
KR20220080007A (en) Augmented reality-based display method, device and storage medium
US20150350554A1 (en) Picture in picture recording of multiple regions of interest
KR20220088924A (en) Display method and apparatus based on augmented reality, and storage medium
US20160225177A1 (en) Method and apparatus for generating automatic animation
US10628909B2 (en) Graphics processing unit resource dependency viewer
US10204598B2 (en) Predictive pre-decoding of encoded media item
CN109739403B (en) Method and apparatus for processing information
US20150042621A1 (en) Method and apparatus for controlling 3d object
CN114879892A (en) Data sliding display method and device and electronic equipment
CN112949355A (en) Attitude migration method and device and storage medium