Graphics interchange format file playing method and device
A technology of image interchange format and playback method, applied in image communication, electrical components, selective content distribution, etc., can solve problems such as affecting users' browsing experience of GIF files, low playback efficiency, and long playback time of GIF files, etc. To achieve the effect of improving browsing experience, reducing playback delay, and improving playback efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] The embodiment of the present invention provides a method for playing an image interchange format file. This method can be applied to a terminal that plays a GIF file. The terminal includes but is not limited to a mobile phone, a computer, a tablet computer, etc. This embodiment is not specific form is limited. see figure 1 , the method flow provided by this embodiment includes:
[0030] 101: Obtain at least one image interchange format GIF file to be played;
[0031] 102: Parse the image data of the first frame image in the GIF file;
[0032] Parse the image data of the first frame image in the GIF file, including:
[0033] When the GIF file is multiple, multiple GIF files are sent to the first thread, and the image data of the first frame image in each GIF file is resolved by the first thread according to the priority of each GIF file;
[0034] Analyze the image data of the remaining images in the GIF file and the playback time of each frame, including:
[0035] ...
Embodiment 2
[0051] Combining the content of the first embodiment above, the embodiment of the present invention provides a method for playing an image interchange format file, and the method can be applied to an IOS mobile phone platform. Of course, the method provided in this embodiment can also be applied to other terminals except for the IOS mobile phone platform that play GIF files. These other terminals include but are not limited to computers, tablet computers, etc., and this embodiment does not limit the specific form of the terminal . see figure 2 , the method flow provided by this embodiment includes:
[0052] 201: Obtain at least one GIF file to be played;
[0053]Specifically, this embodiment does not limit the way of obtaining at least one GIF file to be played, including but not limited to the GIF file in the browser webpage of the terminal, the terminal can send a request for obtaining the GIF file to the corresponding server, and when the corresponding After receiving t...
Embodiment 3
[0083] An embodiment of the present invention provides a device for playing an image interchange format file, and the device is used to execute the method provided in the first or second embodiment above. see image 3 , the device consists of:
[0084] An acquisition module 301, configured to acquire at least one image interchange format GIF file to be played;
[0085] The first parsing module 302 is used to parse the image data of the first frame image in the GIF file;
[0086] Display module 303, for displaying the first frame image of the GIF file according to the image data of the first frame image in the GIF file analyzed;
[0087] The second parsing module 304 is used to parse the image data of the remaining images in the GIF file and the playing time of each frame of image;
[0088] Generation module 305, for generating the animation data corresponding to the GIF file according to the image data of each frame image in the GIF file analyzed and the playback time of ea...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com