A method and device for displaying pictures
A technology for displaying pictures and pictures, applied in the computer field, can solve problems such as poor user experience, time-consuming, unsmooth sliding screen, etc., to achieve the effect of improving fluency and response speed, and avoiding cache space
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0053] see figure 1 , this embodiment provides a method for displaying pictures, and the process of the method is as follows:
[0054] 101: Receive an instruction to display the image to be displayed, and read the image information of the image to be displayed according to the instruction;
[0055] Receive an instruction to display a picture, search and read the picture information of the picture to be displayed in the picture manager according to the picture URL (UniformResourceLocator, uniform resource locator) of the picture to be displayed.
[0056] 102: Obtain a pre-stored decoding result of the picture to be displayed according to the picture information;
[0057] According to the read picture information in the pre-stored correspondence between the picture information and the decoding result of the picture, the corresponding picture decoding result is obtained.
[0058] 103: Draw a picture to be displayed according to the decoding result.
[0059] The picture is draw...
Embodiment 2
[0062] This embodiment provides a method for displaying pictures. Taking a browser to display pictures and creating a corresponding cache file for storing decoding results for each picture as an example, the method provided by this embodiment is described in detail. See figure 2 , the method flow is as follows:
[0063]201: The browser receives an instruction to display a picture, and reads the picture information of the picture to be displayed;
[0064] Specifically, the browser receives an instruction to display a certain picture, and searches and reads the picture information of the picture according to the URL of the picture carried in the instruction.
[0065] Wherein, there is a picture manager in each page with pictures, and the picture manager stores picture information, and the browser can read the picture information in the picture manager through the picture URL.
[0066] 202: Judging whether there is a cache file ID in the image information read by the browser, i...
Embodiment 3
[0083] see image 3 , this embodiment provides a device for displaying pictures, the device specifically includes:
[0084] A receiving module 301, configured to receive an instruction for displaying a picture to be displayed;
[0085] The reading module 302 is used to read the picture information of the picture to be displayed according to the instruction received by the receiving module 301;
[0086] The query module 303 is used to obtain the decoding result of the pre-stored picture to be displayed according to the picture information read by the reading module 302;
[0087] The drawing module 304 is configured to draw a picture according to the decoding result acquired by the query module 303 .
[0088] see Figure 4 , the device also includes:
[0089] The decoding module 305 is used to decode the picture to be displayed to obtain the decoding result;
[0090] The storage module 306 is configured to store the decoding result decoded by the decoding module 305, and es...
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