Picture loading method and device

A picture loading and picture technology, applied in the field of picture processing, can solve problems such as memory explosion, main thread blocking, main thread crashing, etc.

Inactive Publication Date: 2019-08-30
吉林亿联银行股份有限公司
View PDF8 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When using the direct loading method to load high-definition large pictures, the memory may skyrocket, and the m

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Picture loading method and device
  • Picture loading method and device
  • Picture loading method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0066] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0067] In this application, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any relationship between these entities or operations. any actual relationship or order, the terms "comprises," "comprises," or any other variation thereof are intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus that in...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to the technical field of picture processing, in particular to a picture loading method and device. The picture loading method comprises the steps: judging whether partitioning loading is needed or not when a loading instruction for a target picture is received; when partitioning loading is needed, obtaining a tile layer; determining a maximum amplification level corresponding to the target picture and setting a tile size corresponding to the tile layer; determining the number of tiles according to the maximum amplification level and the tile size; partitioning the tile layer and the target picture into blocks to obtain each tile and each picture block; and calling a partitioning drawing method, drawing the picture blocks on the tiles in a one-to-one correspondence manner, and loading the tiles of the drawn picture blocks to complete loading of the target picture. By applying the picture loading method provided by the invention, the target picture is partitioned and then drawn on the tile; each tile is loaded in a partitioned manner; the loading of the target picture is completed; the memory pressure is relieved; the memory is prevented from rising violently;and the main thread of the loaded picture is prevented from collapsing.

Description

technical field [0001] The present invention relates to the technical field of picture processing, in particular to a picture loading method and device. Background technique [0002] With the rapid development of science and technology, more and more functions of application programs have been developed and widely used in people's daily life. Among them, the functions of most applications are related to pictures, so loading pictures has also become one of the important functions of the applications. For example, when a user transmits a picture through an application program, after the user at the receiving end receives the picture, the picture is a thumbnail, and the user at the receiving end clicks to load the picture to obtain the original picture sent by the user at the sending end; or when the user searches for information, By loading the pictures attached to the material, you can understand the content of the material more intuitively. [0003] The inventor found in t...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F9/4401G06F9/50
CPCG06F9/4401G06F9/5016G06F2209/5017
Inventor 赵玉斌严彪秦旭果焦伟哲
Owner 吉林亿联银行股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products