Processing

Please wait...

Settings

Settings

Goto Application

1. CN107392981 - Image synthesis method, apparatus, electronic equipment and readable storage medium thereof

Office
China
Application Number 201710565406.8
Application Date 12.07.2017
Publication Number 107392981
Publication Date 24.11.2017
Publication Kind A
IPC
G06T 11/60
GPHYSICS
06COMPUTING; CALCULATING OR COUNTING
TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
112D image generation
60Editing figures and text; Combining figures or text
CPC
G06T 11/60
GPHYSICS
06COMPUTING; CALCULATING; COUNTING
TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
112D [Two Dimensional] image generation
60Editing figures and text; Combining figures or text
Applicants FUJIAN ZHONGJIN ONLINE NETWORK CO., LTD.
Inventors SHEN WENCE
Title
(EN) Image synthesis method, apparatus, electronic equipment and readable storage medium thereof
(ZH) 一种图片合成方法、装置、电子设备及可读存储介质
Abstract
(EN) An embodiment of the invention provides an image synthesis method, an apparatus, electronic equipment and a readable storage medium thereof, and the method, the apparatus, the electronic equipment and the readable storage medium are applied to the Internet technology field. The method comprises the following steps of acquiring an image uploaded by a user through a webpage; loading the image into a pre-established canvas label and editing the image in the canvas label; when there are many edited images, loading the edited images into the same canvas label; and in the same canvas label, synthesizing the edited images into an img image label and acquiring a synthesized image. Compared to a mode that a client sends the image to a service end and carries out image synthesis on the service end, by using the method of the invention, webpage image synthesis can be performed on the client; a communication frequency between the client and the service end is reduced; occupation of sources of the service end during an image synthesis process is decreased; operation steps of the user are reduced; and a user experience of a website is optimized.
(ZH) 本发明实施例提供了一种图片合成方法、装置、电子设备及可读存储介质,应用于互联网技术领域,所述方法包括:获取用户通过网页上传的图片;将所述图片载入预先建立的canvas标签,对所述canvas标签中的图片进行编辑;当编辑后的图片的数量为多张时,将所述编辑后的图片载入相同的canvas标签,在所述相同的canvas标签中将所述编辑后的图片合成为img图片标签,得到合成后的图片。相比于客户端将图片发送至服务端并在服务端进行图片合成,本发明实施例可以在客户端进行网页图片合成,减少了客户端和服务端之间的通信次数,降低了图片合成过程中对服务端资源的占用,减少了用户的操作步骤,优化网站的用户体验。