Method and system for browsing pictures of shared file
A technology for sharing files and pictures, applied in transmission systems, electrical components, wireless communications, etc., can solve problems such as memory overflow, slow loading of picture files, and slow browsing of pictures
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0065] refer to image 3 , image 3 It is a schematic flowchart of an embodiment of the server compressing pictures in the picture browsing method for sharing files of the present invention. Based on the first embodiment, in this embodiment, the step of compressing pictures by the server specifically includes:
[0066] Step S301, proportionally scaling the size of the picture, and generating a scaled compressed picture;
[0067] Step S302, saving the compressed picture.
[0068] In this embodiment, the server acquires the height and width of the picture, calculates a scaling value, and compresses the picture proportionally according to the scaling value to generate a scaled compressed picture. For example, the height and width of the original picture are 3000 and 4000 pixels respectively. If the height and width are both reduced by 10 times, the scaling values of the height and width of the picture are 300 and 400 pixels respectively, and finally wait according to the sca...
no. 4 example
[0078] refer to Figure 5 , Figure 5 It is a schematic flowchart of another embodiment of the server compressing pictures in the picture browsing method for sharing files of the present invention. Based on the fourth embodiment, in this embodiment, after performing the step S301, it also includes:
[0079] Step S310, naming the compressed picture with the absolute path of the picture.
[0080] In this embodiment, since the compressed picture is named with the absolute path of the picture, it is prevented that when the pictures located in different paths have the same name, the compressed picture has the same name, and the user cannot view the picture normally. .
[0081] The present invention also provides a picture browsing system for sharing files, which is used to realize the above method. refer to Figure 6 and Figure 7 , Figure 6 It is a schematic structural diagram of an embodiment of the picture browsing system for sharing files in the present invention; Fig...
no. 3 example
[0099] Based on the third embodiment, in this embodiment, the server 10 further includes a second processing module 104, and the judging module 101 is also used to judge whether there is an SD card in the server 10;
[0100] When there is an SD card in the server 10, the judging module 101 is also used to judge whether there is a folder for storing compressed pictures under the root directory of the SD card, and if it exists, the compression flag is set to be true by the second processing module 104 . If there is no folder for storing compressed pictures under the root directory of the SD card, then a folder for storing compressed pictures is created in the SD card by the second processing module 104, if the folder is created successfully, then the compression flag is set as true ; If the creation of the folder fails, set the compression flag to a false value and end the compression operation.
[0101] When there is no SD card in the server 10, the judging module 101 is also ...
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