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

Animation playing method and device, computer equipment and storage medium

A playback method and animation technology, applied in the fields of computer equipment and storage media, animation playback methods, and devices, can solve the problems of long loading time of GIF images, poor fluency, slow animation playback speed, etc.

Pending Publication Date: 2020-01-03
PING AN TECH (SHENZHEN) CO LTD
View PDF0 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, the common dynamic picture is a Graphics Interchange Format (GIF) image. There are multiple images stored in the GIF image file. By reading these images one by one and displaying them on the screen, the effect of a dynamic picture is formed. Realize the display of simple animation; however, when an HTML5-based webpage achieves animation effects by playing GIF images, due to the large size of the dynamic image file, it often takes a long time to load the GIF image during the loading process of the webpage, resulting in slow animation playback. slow, poor fluency

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
  • Animation playing method and device, computer equipment and storage medium
  • Animation playing method and device, computer equipment and storage medium
  • Animation playing method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0047] figure 1 It is an application environment diagram of the animation playing method in one embodiment. The animation playing method is applied to a computer device, and the computer device may be a server. Such as figure 1 As shown, taking the computer device as server 102 as an example, server 102 obtains a dynamic image file that needs to be played originally, such as a GIF image file, and server 102 decomposes the GIF image file into frame image data frame by frame, and for each frame image data After compression, convert the compressed image data into image dat...

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 relates to an animation playing method and device, computer equipment and a storage medium. The method comprises the following steps: decomposing a dynamic image file into sequence frameimages, and acquiring frame image data corresponding to each frame; compressing each frame of image data, and converting the compressed frame of image data into image data in a base64 format; converting the image data of each base 64 format into a picture file object of a blob format, and generating a key frame animation based on a cascading style sheet according to the picture file object of each blob format; and when a dynamic image loading request sent based on the web page is received, loading the key frame animation into the corresponding web page. The method comprises the following steps: converting frame image data of each frame in a dynamic image file with a large file volume into a picture file object with a small volume and a BLOb format; and playing each frame of image by the picture file object in a CSS-based key frame mode to realize an animation effect, so that the animation loading speed and the animation playing fluency are improved.

Description

technical field [0001] The present application relates to the technical field of image data processing, in particular to an animation playing method, device, computer equipment and storage medium. Background technique [0002] With the development of web technology, more and more web pages display dynamic images to achieve page animation effects and enrich web page content. At present, the common dynamic picture is a Graphics Interchange Format (GIF) image. There are multiple images stored in the GIF image file. By reading these images one by one and displaying them on the screen, the effect of a dynamic picture is formed. Realize the display of simple animation; however, when an HTML5-based webpage achieves animation effects by playing GIF images, due to the large size of the dynamic image file, it often takes a long time to load the GIF image during the loading process of the webpage, resulting in slow animation playback. Slow and poor fluency. Contents of the invention...

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
IPC IPC(8): G06F16/957
CPCG06F16/9574
Inventor 孙葛亮顾研袁超文
Owner PING AN 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