Image splitting method and device, image loading method and device

A picture loading and picture technology, applied in the direction of image communication, image enhancement, image coding, etc., can solve the problems of memory limitation, application process thread killing, large memory consumption to store pictures, etc., to reduce memory space, reduce The effect of memory footprint and storage space saving

Active Publication Date: 2015-11-04
TENCENT TECH (SHENZHEN) CO LTD
View PDF4 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] When the current application program loads pictures, it generally loads the picture into the memory at one time by using the overall loading method, which requires a large amount of memory to store the picture; and the operating system often has certain restrictions on the memory occupied by the application program, such as android, iOS operating system, etc.
When the operating system receives a memory warning, applications with large memory consumption may not operate smoothly, and even the process or thread of the application may be killed by the system

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
  • Image splitting method and device, image loading method and device
  • Image splitting method and device, image loading method and device
  • Image splitting method and device, image loading method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0042] Such as figure 1 Shown, in one embodiment, a kind of picture splitting method comprises the following steps:

[0043] Step S10, acquiring the original picture.

[0044] The image resource and size information of the original image can be obtained. The size information is information about the number of rows and columns of pixels constituting the picture. For example, if the size of the original picture is 1024×768, it means that the original picture consists of 1024 rows and 768 columns of pixels.

[0045] Step S20, splitting the original picture according to a preset size to obtain a par...

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

A picture splitting method includes: acquiring an original picture; splitting the original picture according to a preset size, to obtain partial pictures; removing a redundant partial picture in the partial pictures; generating restoration information of the removed partial picture according to a retained partial picture; and storing the retained partial picture and the restoration information. With the foregoing method, an original picture is split into partial pictures, a redundant partial picture is removed, restoration information of the removed partial picture is generated according to a retained partial picture, and the retained partial picture and the restoration information are stored. The file size of the retained partial picture is smaller than the file size of the original picture, which can reduce a storage space, and when the original picture needs to be loaded, it is feasible to load the retained partial picture only, and the removed partial picture is restored according to the restoration information, which can reduce a memory space occupied by picture loading.

Description

technical field [0001] The present invention relates to graphics processing technology, in particular to a picture splitting method and device, and to a picture loading method and device. Background technique [0002] In order to achieve a certain visual effect and adapt to high-definition screens with higher and higher resolutions, the file size of pictures is getting larger and larger. Especially for pictures that require transparency, the file size will be exacerbated. For example, for a screen with a common size of 1024*768, if the image uses RGBA modules, and each color value is represented by 8 bits, the file size of a full-screen image can reach 1024*768*4B=3MB. If the number of representation bits for each color channel increases, the file size of the picture will be larger. Even if the compression technology is used, the file size of the compressed picture is still relatively large in order not to damage its transparency and distortion. [0003] When the current a...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06T11/60G06T5/00
CPCG06T9/00H04N1/14H04N19/46H04N19/192H04N19/23H04N19/593H04N19/99
Inventor 王玉龙
Owner TENCENT TECH (SHENZHEN) CO LTD
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