Picture processing method, picture processing device and picture processing platform

A picture processing and picture technology, applied in the field of picture processing, can solve the problem of not being able to optimize pictures in different formats, and achieve the effect of ensuring quality, avoiding excessive picture size, and reducing volume

Active Publication Date: 2016-04-13
TENCENT TECH (SHENZHEN) CO LTD
View PDF7 Cites 8 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
  • Picture processing method, picture processing device and picture processing platform
  • Picture processing method, picture processing device and picture processing platform
  • Picture processing method, picture processing device and picture processing platform

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] This embodiment provides a JPG picture processing method, the device for executing the method is a computer, and program instructions corresponding to executing the following operations are set in the computer, and the picture processing flow of the computer is as follows: Figure 4 shown.

[0030] The user provides an original image in JPG format. JPEG format picture, also known as JPG format picture, is the most common image format. The file suffix is ​​named ".jpg" or ".jpeg". It is formulated by a software development association and is a lossy compression. JPEG compression technology is very advanced. It uses lossy compression to remove redundant image data. It can display very rich and vivid images while obtaining a very high compression rate, and can obtain better image quality with the least disk space. .

[0031] In this embodiment, the picture processing process for the JPG format provided by the user is as follows, as follows: Figure 4 shown:

[0032] Fi...

Embodiment 2

[0039] This embodiment provides another JPG image processing method, which can be executed by a mobile phone terminal. The user stores an original picture in the JPG format in the mobile phone, and the mobile phone has an instruction to execute the following processing process: So as to complete the following processing flow, such as Figure 5 As shown, first, the mobile phone reads the original JPG image attributes, which include the image's format information, area, color value, original compression ratio, volume and other inherent attributes of the image, and then the mobile phone determines the area of ​​the original image, if it is less than 150*150 pixels point, the program will convert the original image to PNG8 format as the processed image.

[0040] If the area of ​​the original image is not less than the above-mentioned threshold of 150*150 pixels, the mobile phone will compress the original image through the program to obtain JPG image 1, and convert the original im...

Embodiment 3

[0045] This embodiment provides a method for processing PNG images. The device that executes the method is a server, and the server stores an instruction code for executing the following process. The user logs in to the website through a mobile phone, and the website provides an interface for the user to select a picture. 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, where the attribute information includes transparency, area, and color value.

[0047] PNG format picture, namely 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, of which 8-bit PNG supports two ...

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 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 daily life, such as mobile phones, digital cameras, etc., all have the function of taking pictures, and the sharing of many image information has become simple and convenient. At present, many network platforms have the function of image sharing, such as uploading avatars, 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 in a fixed format, the quality of the picture is generally proportional to the volume. In order to obtain a higher picture quality, the picture must meet a certain size. make a balance. [0003]...

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): 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