Image processing method, image processing device and image processing platform

A picture processing and picture technology, applied in the field of picture processing, can solve problems such as the inability to optimize pictures in different formats, and achieve the effect of ensuring quality, reducing volume and optimizing expression

Active Publication Date: 2019-06-28
TENCENT TECH (SHENZHEN) CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] For this reason, the technical problem to be solved by the present invention is that in the prior art, when uploading pictures, only format conversion and data compression can be performed, and pictures of different formats cannot be optimized in a targeted manner, thereby proposing a picture processing method and an image processing device using the method, and simultaneously provide an image processing platform using the image processing device

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 processing method, image processing device and image processing platform
  • Image processing method, image processing device and image processing platform
  • Image processing method, image processing device and image processing platform

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] A kind of JPG picture processing method is provided in the present embodiment, and the equipment that carries out this method is computer, is provided with in this computer and carries out the corresponding program instruction of following operation, and the flow process that this computer carries out picture processing is as follows Figure 4 shown.

[0030] The user provides an original picture in JPG format. JPEG format picture, also known as JPG format picture, is the most common image format. The file suffix name is ".TIF" or ".jpeg". It is a kind of lossy compression developed by a software development association. Format, JPEG compression technology is very advanced, it uses lossy compression to remove redundant image data, can display very rich and vivid images while obtaining extremely high compression ratio, and can get better image quality with the least disk space .

[0031] In the present embodiment, the image processing process for the JPG format provide...

Embodiment 2

[0039] Another kind of JPG image processing method is provided in the present embodiment, and this method can be carried out by mobile phone terminal, and the user has stored a piece of format in the mobile phone and is the original picture of JPG format, has the instruction of carrying out following processing procedure in this mobile phone, Thus, the following processing flow is completed, such as Figure 5 As shown, first, the mobile phone reads the attributes of the original JPG image, which includes the inherent attributes of the image such as format information, area, color value, original compression ratio, volume, etc., and then the mobile phone judges the area of ​​the original image, if it is less than 150*150 pixels point, the original image is converted to PNG8 format through the program as the processed image.

[0040] If the area of ​​the original picture is not less than the above-mentioned threshold of 150*150 pixels, the mobile phone then uses a program to per...

Embodiment 3

[0045] Provide a kind of processing method of PNG picture in the present embodiment, the device that carries out this method is a server, is stored with the instruction code that carries out following process in the server, and the user logs in website by mobile phone, and the interface that user selects picture is provided in the website, when When the user selects a PNG image to upload, the server obtains the information of the image and processes the image as follows. The flow chart is as follows: Image 6 Shown:

[0046] First, the server determines attribute information of the PNG image selected by the user, and the attribute information includes transparency, area, and color value.

[0047] PNG format picture, Portable Network Graphics (PNG, Portable Network Graphics), is an image file format. PNG is capable of providing lossless compressed image files that are 30% smaller in length than GIF. The PNG format has three forms: 8-bit, 24-bit, and 32-bit. Among them, 8-bit ...

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. The picture processing method comprises the following steps: acquiring property information of an original picture, wherein the original picture is a JPG (Joint Picture Group) picture; and when the area of the original picture is not smaller than an area threshold, converting the original picture into a PNG (Portable Network Graphics) picture, compressing the PNG picture, compressing the original picture, comparing the compressed PNG picture with the compressed original picture to obtain a size deviation between the two compressed pictures, selecting the picture obtained after the original picture is compressed when the size deviation is small and a color value of the original picture is greater than a threshold, otherwise selecting the picture obtained after PNG format compression. In the scheme, the picture is processed according to the property information of the picture, and targeted processing is performed according to a plurality of characteristics such as the picture area, a picture size and the color value, so that the size of the picture is reduced, and the quality of the picture is ensured at the same time. The method is particularly suitable for providing a proper picture format for a user in the processes of uploading, sharing and the like of pictures. The problems of overlarge picture sizes, bandwidth waste, poor image quality and the like due to an improper picture format are solved.

Description

technical field [0001] The present invention relates to the field of picture processing, in particular to a picture processing method, a picture processing device and a picture processing platform. Background technique [0002] With the development and popularization of network information technology and electronic information technology, people often use electronic pictures in their daily life, such as mobile phones, digital cameras, etc., all have the function of taking pictures, and the sharing of a lot of image information has become simple and convenient. In many current network platforms, there are functions of picture sharing, such as uploading profile pictures, photo albums and so on. When users use a picture, they often hope that the picture quality is good and the size is small. However, for a picture with a fixed format, generally speaking, the quality and volume of the picture are directly proportional. To obtain a higher picture quality, the picture must meet 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 Patents(China)
IPC IPC(8): H04N21/2343H04N21/4402
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