Picture compression method and system, terminal and storage medium

A compression method and image technology, applied in the field of image processing, can solve problems such as complex programs, affecting program running and operation, single method, etc., and achieve the effects of small calculation, increased flexibility, and simple programs

Active Publication Date: 2020-09-18
SUZHOU DAJIAYING INFORMATION TECH CO LTD
View PDF14 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method needs to call historical data and takes up a lot of memory. According to the two endpoint values ​​and the size of the compressed image, the ratio of the image to be compressed is calculated and compressed by the ratio, which greatly affects the running and operation of the program. The method is single and easy to compress. Restricted, and the program is complex and the amount of operation is large

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 compression method and system, terminal and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] The following is a further non-limiting detailed description of the technical solution of the invention in combination with preferred embodiments and accompanying drawings.

[0039] Such as figure 1 As shown, the image compression method of an embodiment of the present invention, preferably, taking the Android system as an example, the image compression method of this embodiment can be compressed based on the Android system, including:

[0040]Step S101, receiving a trigger image compression request, wherein the image compression request includes: compression type, size of the image to be compressed, and application type;

[0041] Step S103, select a corresponding compression method for compression according to the compression type, wherein the compression type includes one or more of sampling rate compression and quality compression, if sampling rate compression is set, quality compression is also set, and sampling rate compression is performed first , and then perfor...

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 discloses a picture compression method and system, a terminal and a storage medium. The picture compression method comprises the steps: receiving a picture compression triggering request, wherein the picture compression request comprises a compression type, the size of a to-be-compressed picture and / or an application type; selecting a corresponding compression mode for compression according to the compression type, wherein the compression type comprises one or more of sampling rate compression and quality compression, and if the sampling rate compression and the quality compression are both set, the sampling rate compression is firstly carried out and then the quality compression is carried out. According to the picture compression method and system, the terminal and the readable storage medium, sampling rate compression and quality compression or combination of sampling rate compression and quality compression can be carried out according to instructions or requirements, the limitation of a single compression mode is avoided, the advantages of the two modes are brought into full play, different compression is carried out according to different requirements, and thecompression flexibility is improved.

Description

technical field [0001] The present invention relates to picture processing technology, in particular to a picture compression method, system, terminal and storage medium. Background technique [0002] In the existing technology, Luban claims to be the closest open source library to WeChat compression, with 60% compression quality. Compressor allows developers to customize the pixels and quality, which requires developers to constantly try parameters to find the most suitable equalization effect, which brings a lot of time cost to developers for testing image quality. [0003] Another example is a picture compression method disclosed in CN109672888, which needs to obtain the historical compression data of each picture compression tool, obtain the ratio of compressed picture adaptation and the picture compression tool according to the historical compressed data, the size of the compressed picture, and the application type, and call the appropriate The interface of the provide...

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): H04N1/41
CPCH04N1/41
Inventor 李贝贝
Owner SUZHOU DAJIAYING INFORMATION TECH 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