Picture uploading method and device
A picture uploading and picture technology, which is applied in the field of picture processing, can solve the problems of tariff, multi-flow, consumption, etc., and achieve the effect of reducing the occupation of network bandwidth, reducing the occupation of traffic, and reducing the size of pictures
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0075] refer to figure 1 , shows a flow chart of the steps of an embodiment of an image uploading method according to an embodiment of the present invention, which may specifically include the following steps:
[0076]Step 110, receiving an image upload instruction;
[0077] The embodiment of the present invention can be applied to a client, such as a mobile terminal such as a mobile phone.
[0078] When a user triggers an instruction to upload a picture in an APP, the client of the present invention will receive the instruction to upload the image.
[0079] In the embodiment of the present invention, the picture upload instruction may be the picture upload instruction after the user clicks the upload button, selects one or more pictures to be uploaded from the picture library, and clicks to confirm. It has confirmed which pictures are uploaded.
[0080] In the embodiment of the present invention, the process of uploading pictures under the normal flow is intercepted, and s...
Embodiment 2
[0137] refer to figure 2 , shows a flow chart of the steps of an embodiment of an image uploading method according to an embodiment of the present invention, which may specifically include the following steps:
[0138] Step 210, the client side receives an image upload instruction;
[0139] Step 212, judge whether the current network is a mobile data network; if it is a mobile data network, go to step 214.
[0140] Step 214, judge whether the size of the picture exceeds the first threshold; if it exceeds the first threshold, go to step 216.
[0141] Step 216, start the picture editing mode, and load the picture to be uploaded;
[0142] Step 218, editing the picture to be uploaded;
[0143] Step 220, using the edited picture as a file, calling the file compression interface to compress the picture to obtain a compressed file.
[0144] In the embodiment of the present invention, for the edited picture, the picture stored in the first cache space can be in the form of a file...
Embodiment 3
[0156] refer to image 3 , which shows a flow chart of the steps of an embodiment of an image uploading device according to an embodiment of the present invention, which may specifically include the following modules:
[0157] The instruction receiving module 310 is adapted to receive an image upload instruction;
[0158] The size judging module 320 is adapted to judge whether the size of the picture exceeds a first threshold;
[0159] The editing module starting module 330 is adapted to start the picture editing mode if the first threshold is exceeded, and load the picture to be uploaded;
[0160] Editing module 340, adapted to edit the picture to be uploaded;
[0161] The compression module 350 is suitable for compressing the edited picture after the editing is completed;
[0162] The upload module 360 is suitable for uploading the compressed pictures.
[0163] Preferably, the editing module includes:
[0164] The first editing module is adapted to cut the picture to ...
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