GIF animation real-time control method and player

A real-time control and player technology, applied in image communication, selective content distribution, electrical components, etc., can solve problems such as unsatisfactory real-time control effects, achieve real-time control and display, adjust playback speed, and improve user experience Effect

Active Publication Date: 2019-08-27
FUJIAN TIANQUAN EDUCATION TECH LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this solution controls the animation playback speed by putting each frame into a different queue, and its real-time control effect is not ideal.

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
  • GIF animation real-time control method and player
  • GIF animation real-time control method and player
  • GIF animation real-time control method and player

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0065] A browser-based GIF animation real-time control method, the steps comprising:

[0066] S1, read and analyze the image data of GIF animation, obtain all image frame (comprising image data and delay time) sequence;

[0067] S2. Reset the delay time of each frame as required to adjust the playback speed of the GIF animation;

[0068] S3. Render the image frames sequentially in forward or reverse order, and the stay time of each image frame is the delay time reset for the image frame in step S2, so as to display the image frame;

[0069] S4, progress bar and play cursor are set, according to the number of frames N of GIF images, the progress bar is evenly divided, and each image frame is sequentially corresponding to each section of the progress bar after equalization, and the play cursor and the described Progress bar binding. When continuously rendering and displaying the image of the nth frame (1≤n≤N) in forward or reverse order, the playback cursor moves to the end of...

Embodiment 2

[0076] Please refer to figure 2 , a GIF animation that controls the player in real time, including:

[0077] Data unit 1 is used to obtain the image data of the GIF animation to be played, and parse the image data to obtain a sequence of all image frames (including image data and delay time);

[0078] Setting unit 2 is used to reset the delay time of each image frame as required, so as to adjust the GIF animation playback speed;

[0079] The rendering unit 3 is used to render image frames sequentially in forward or reverse order, and the dwell time of each image frame is the delay time of the image frame to display the image frame;

[0080] Control unit 4, is used to set play, pause, forward one frame, back one frame real-time control button, completes the real-time control to GIF animation playback; Progress bar and playback cursor are set simultaneously, and described playback cursor is connected with described progress bar Binding, the progress bar is used to indicate th...

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 GIF animation real-time control method and player, and the method comprises the steps: reading and analyzing a GIF animation, and obtaining image frames; setting the delay time of the image frames; sequentially rendering the image frames according to a sequence, wherein the staying time of each image frame is taken as the delay time of the image frame; setting progress bars and a play cursor; enabling the image frames to be corresponding to the progress bars according to the sequence; enabling the play cursor to be bound with the progress bars; moving the play cursor and carrying out the real-time control of the play progress of the GIF animation. The method carries out the reading and analysis of the GIF animation, obtains the image frames, resets the delay time of all frames according to the needs, carries out the rendering of the image frames sequentially, enables the image frames to stay for the delay time for display, and achieves the flexible control of the play speed of the GIF animation. Through the setting of the progress bars and the play cursor, the method carries out the real-time control of the play progress of the GIF animation, and greatly improves the user experience.

Description

technical field [0001] The invention relates to the field of animation playing, in particular to a method for real-time control of GIF animation and a player. Background technique [0002] Currently, mainstream browsers clearly support the GIF format, so GIF is the most widely used image encoding format on the Web, and both inline images and external link images can use this format. GIF encoding technology is available on many platforms, and GIF images created on Macintosh systems can also be loaded, decoded, and viewed on Windows-based PCs. [0003] GIF uses a special compression technique (LZW) that can significantly reduce the image file size, allowing for faster transmission over the web. GIF compression is "lossless" compression, the original data in the image will not be changed or lost, so the decompressed and decoded image is exactly the same as the original image. GIF format images can store multiple frames of graphics in one file, and these graphics can be read 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/472H04N21/44H04N21/431
Inventor 刘德建毛赟梁栋成邬可菲郭玉湖
Owner FUJIAN TIANQUAN EDUCATION TECH 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