IOS-system-based image caching and compression method
A compression method and image technology, applied in special data processing applications, using information identifiers to retrieve web data, instruments, etc., can solve problems such as clearing the cache must be manually cleared, unable to compress image size, etc., to improve operating efficiency and improve functions The number of , performance and speed-boosting effects
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0027] The present invention will be further elaborated below in conjunction with the accompanying drawings.
[0028] Such as figure 1 and figure 2 The shown image caching and compression method based on the iOS system is based on the SDWebImage third-party framework, and it includes the following steps:
[0029] S1, send a network request, request a picture according to the incoming URL and create a new thread;
[0030] S2. Determine whether the picture is stored in the memory cache according to the URL as the Key. If it is stored in the memory cache, directly call the picture to use. If it is not stored in the memory cache, then determine whether the picture is stored in the disk cache. If it is stored in the disk cache If the image is not stored in the disk cache, then enter step S3;
[0031] S3, request to download pictures from the specified address according to the URL, if a network abnormality occurs, an error message will be prompted, if the specified address is ac...
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