Picture staggered tiling method based on CANVAS and storage medium
Patent Information
- Authority / Receiving Office
- CN ยท China
- Current Assignee / Owner
- FUJIAN TIANQUAN EDUCATION TECH LTD
- Publication Date
- 2020-12-18
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The invention relates to the field of picture drawing, in particular to a canvas-based picture interlaced tiling method and a storage medium. Background technique
[0002] Many image-related online products, such as online image editors, online product personalized logo customization, etc., in many cases have the need to provide image interleaved tiling function. The effect of interlaced tiling of pictures is as follows: figure 1 (staggered tile vertically) and figure 2 (horizontally staggered tiling).
[0003] The existing tiling scheme is to clone the Image DOM of an original image into an Image DOM with the number of length*width according to the tile size. figure 1 , is to clone 5*7=35 Image Doms to achieve. Due to the existence of a large number of Image Doms in this implementation method, the rendering performance of the browser will be very low. When the number is large, there will be a high probability that the user will be unable to opera...