Picture processing method and picture processing device

A picture processing and picture technology, applied in the direction of image data processing, image data processing, instruments, etc., can solve the problems of server storage waste, large pictures, and excessive server processing resources, so as to reduce storage and traffic costs and improve processing Efficiency, the effect of reducing system resources

Active Publication Date: 2013-01-02
ALIBABA GRP HLDG LTD
View PDF4 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] A picture less than 1MB may have a very high resolution due to a high image compression rate, such as 10000×6000. In this case, if the picture is a 32-bit true color picture, it needs to occupy at least (10000×6000×4) Byte=240MB memory space
[0009] In addition, since image decoding and encoding requires a large amount of CPU resources, in the case of a relatively high server concurrency, it is easy to cause server processing to occupy too many resources, time out, and even cause the application server process to crash
[0010] 2. Sometimes, users who are skilled in image processing often upload high-quality and high-compression images optimized by professional image processing software. As a result, the re-saved picture is larger than the original picture, which will cause a lot of server storage waste

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 processing method and picture processing device
  • Picture processing method and picture processing device
  • Picture processing method and picture processing device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0125] As mentioned in Embodiment 1, in order to further improve the security of pictures, this application directly discards such presentation-independent data segments that do not affect image presentation. The following describes the judging scheme for judging whether a certain image data segment is a presentation irrelevant data segment through the functions of each part of the image data segment.

[0126] Judgment option one:

[0127] In a preferred embodiment of the present application, the format of the image data segment may include a data segment start flag;

[0128] The presentation-independent data segments may specifically include annotation data segments and / or user-defined data segments; these presentation-independent data segments do not affect image presentation.

[0129] At this point, the following steps can be used to determine whether a certain image data segment is a presentation-independent data segment:

[0130] Determine whether the data segment start...

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 provides a picture processing method and a picture processing device. The method specifically comprises the following steps of: obtaining binary data of a picture, wherein the binary data comprises multiple data segments; matching each data segment according to a picture format rule; if the matching of certain a data segment is failure, considering that the picture is in an illegal format, ending the treatment on the picture; if the matching of certain a data segment is success, judging whether the certain data segment is a presentation-irrelevant data segment according to the picture format rule, if so, discarding the certain data segment, and otherwise, keeping the certain data segment; and the kept data segment forms a processed picture. The method and the device provided by the invention can quickly processing the picture to be a picture with high safety on the premise of occupying a small system resource and a small storage resource.

Description

technical field [0001] The present application relates to the technical field of picture data processing, in particular to a picture processing method and device. Background technique [0002] At present, with the development of Internet technology applications, a large amount of multimedia information is transmitted through the Internet, and the multimedia information includes a large amount of picture information. [0003] For example, many network applications such as trading websites, forums, and blogs support users to upload pictures. However, the pictures uploaded by users sometimes contain additional information such as comments, EXIF ​​(Exchangeable Image File, Exchangeable Image File) information or even malicious codes, viruses, etc., or the pictures uploaded by users are not supported by browsers at all. [0004] For some pictures that are not generated strictly according to the image format specification, the browser usually has a certain fault-tolerant mechanis...

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): G06T1/00
Inventor 叶茗
Owner ALIBABA GRP HLDG 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