Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method and device for generating animation and portable network graphic pictures

A picture and network technology, applied in the field of image processing, can solve problems such as limited compression effect, achieve the effect of improving compression effect and saving storage space

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

AI Technical Summary

Problems solved by technology

[0011] However, the above-mentioned compression effect is limited, in order to further save storage space, other methods are needed to further improve the compression effect

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
  • A method and device for generating animation and portable network graphic pictures
  • A method and device for generating animation and portable network graphic pictures
  • A method and device for generating animation and portable network graphic pictures

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] Aiming at the problems existing in the prior art, the generation scheme of a kind of improved APNG picture is proposed in the present invention, not only can reuse the picture data of the same area in the adjacent previous PNG picture, but also can carry out PNG picture Lossy compression.

[0027] Lossy compression takes advantage of the insensitivity of human beings to certain colors in the picture, allowing certain information to be lost during the compression process. Although the original data cannot be completely restored later, the lost part will not cause substantial damage to the understanding of the original picture. influences.

[0028] In practical applications, it is very important to choose the timing of lossy compression for PNG images. For example, if you first perform lossy compression on each PNG image, and then follow the figure 1 If the APNG image is generated in the way shown, there will be problems.

[0029] Because for any PNG image, after lossy ...

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 method for generating an animated portable network graphics picture and a device thereof. The method comprises the steps of: when generation of an APNG picture is required, sequencing M PNG pictures which are required for generating the APNG picture according to a displaying sequence from first to last, wherein M is a positive integer; for aiming at an i-th PNG picture i after sequencing (1<i<=M), respectively determining a changed area in the PNG picture i relative to a PNG picture j (j=i-1) before loss compression, and recording the position information of the changed area; performing loss compression on the PNG picture i, shearing the changed area from the PNG picture i after loss compression according to the position information of the changed area in the recorded PNG picture i, and recording the picture data of the sheared changed area; and generating the APNG picture according to the PNG picture at the first position after sequencing. The method and the device provided by the technical solution of the invention can improve a compression effect.

Description

technical field [0001] The present invention relates to image processing technology, in particular to a method and device for generating animated Portable Network Graphics (APNG, Animated Portable Network Graphics) pictures. Background technique [0002] APNG is a bitmap animation format based on Portable Network Graphics (PNG, Portable Network Graphics). The extension method is similar to Graphics Interchange Format (GIF, Graphics Interchange Format)-89a, and still retains backward compatibility with traditional PNG. [0003] The existing APNG image is generated in a manner similar to GIF, that is, a group of PNG images of the same size are combined into one APNG image, and each original PNG image becomes a frame of the APNG image. [0004] figure 1 It is a schematic diagram of a generation method of an existing APNG image. [0005] Such as figure 1 As shown, it is assumed that 3 PNG images are used to generate an APNG image. For the convenience of expression, the 3 PNG ...

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): G06T13/00
Inventor 梁志杰
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products