Method and device for obtaining thumbnails of images
A thumbnail and picture technology, applied in the field of picture processing, can solve the problems of slow speed, insufficient picture formats, and inability to apply high-resolution pictures, etc., to achieve the effect of balancing types and compatibility
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0018] The processing flow of a method for obtaining a thumbnail of a picture provided by an embodiment of the present invention is as follows: figure 1 As shown, the following processing steps are included:
[0019] Step 11. Obtain the source picture whose thumbnail needs to be extracted. The above thumbnails are small pictures in the computer that have been scaled down for the source picture, and are usually used for fast loading or browsing multiple pictures at a time. In common application scenarios, the pixel size of the thumbnail is usually below 150*150.
[0020] Step 12. Read the file header of the above-mentioned source picture, obtain the length and width information of the above-mentioned source picture from the file header, and save the length and width information of the above-mentioned source picture.
[0021] Step 13. Obtain the EXIF information in the above source picture, judge whether there is a thumbnail of the above source picture in the EXIF informat...
Embodiment 2
[0036] An embodiment of the present invention also provides a device for obtaining thumbnails of pictures, the specific structure of which is as follows figure 2 As shown, the following modules are included:
[0037] The decoding processing module 21 is used to decode the source picture by using the enhanced graphics device interface GDI+ to obtain the decoded source picture;
[0038] The interpolation processing module 22 is configured to perform scaling and interpolation on the source picture decoded by the decoding processing module to obtain a thumbnail of the source picture.
[0039] The device may also include:
[0040] EXIF information processing module 23, is used for reading the file header of described source picture, obtains the length and width information of described source picture from this file header, calculates the aspect ratio of described source picture according to this length and width information; When When the EXIF information in the source picture...
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