CN101551915A - An image processing method and device - Google Patents
An image processing method and device Download PDFInfo
- Publication number
- CN101551915A CN101551915A CNA2009100829220A CN200910082922A CN101551915A CN 101551915 A CN101551915 A CN 101551915A CN A2009100829220 A CNA2009100829220 A CN A2009100829220A CN 200910082922 A CN200910082922 A CN 200910082922A CN 101551915 A CN101551915 A CN 101551915A
- Authority
- CN
- China
- Prior art keywords
- image
- editing machine
- user
- image editing
- network
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Processing Or Creating Images (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of image processing method and device. The described method includes: web image editor based on the user's choice, to obtain the image selected by the user from the local computer, and present the selected image in the web image editor; process the selected image according to the user's operations; and upload the processed image to the server. The described device includes: access module, display module, processing module and uploading module. The invention directly reads the local image through the network image editor and edits the image and then uploads the confirmed image to the server which does not need to upload files to the server and download and may save network resources and server storage resources. At the same time, it can also ensure that the local computer will not be under virus attack during the process of reading the local image.
Description
Technical field
The present invention relates to image processing field, particularly a kind of image processing method and device.
Background technology
Along with the continuous development of network technology, user's network behavior is also more and more abundanter.Wherein, a kind of very popular network behavior is uploaded to network with image (comprising picture, video etc.) exactly, show oneself, friend, article, landscape or the like.When if the user need carry out the editor of image in the network image editing machine, because different (for example the network image editing machine is in " http: // " territory in residing territory between network image editing machine and the computing machine local drive, and local drive for example be in " C: " territory), and the data between the same area can't be not mutual mutually, therefore computing machine needs to treat that content edited uploads onto the server, the content that is about on the local drive becomes " http: // " territory by its residing territory, upload the content that access customer selects and be presented on the editing machine for user's content of edit from server again, by the editting function that provides in the editing machine content is edited again, during effect after the user has confirmed editor, the user will edit content uploading after the preservation again to server.
In realizing process of the present invention, the inventor finds that there is following shortcoming at least in prior art:
Need the extra image file that uploads onto the server that is written into, also need after disposing result is uploaded onto the server once more, cause the burden of network and the waste of server storage space to a certain extent.
Summary of the invention
In order to alleviate network burden and to reduce the waste in server stores space, the embodiment of the invention provides a kind of image processing method and device.Described technical scheme is as follows:
A kind of image processing method, described method comprises:
The network image editing machine obtains the image that described user selects according to user's selection from local computer, and the image that described user is selected is presented in the described network image editing machine;
According to user's operation, the image that described user selects is handled;
With the image uploading after handling to server.
Described network image editing machine obtains the image that described user selects according to user's selection from local computer, comprising:
Described network image editing machine is monitored the filesselected incident of local computer;
When the user chose image, described network image editing machine loaded the image that described user selects.
Image described and that described user is selected is presented in the described network image editing machine, comprising:
The image transitions that described network image editing machine is selected described user is the form of described network image editing machine identification, and after described converting, the image that described user is selected is presented in the described network image editing machine.
Image uploading after described will the processing comprises to server:
Utilize the picture coding after image encoder will be handled to become general document flow to upload onto the server.
A kind of network image editing machine comprises:
Acquisition module is used for the selection according to the user, obtains the image that described user selects from local computer,
Display module is used for the image that described user selects is presented on described network image editing machine;
Processing module is used for the operation according to the user, and the image that described user selects is handled;
Last transmission module is used for the image uploading after handling to server.
Described acquisition module specifically comprises:
Monitoring unit is used to monitor the filesselected incident of local computer;
Loading unit is used for when the user chooses image, and described network image editing machine loads the image that described user selects.
Described display module specifically comprises:
Converting unit, being used for the image transitions that described user selects is the form of described network image editing machine identification;
Display unit is used for after described converting, and the image that described user is selected is presented in the described network image editing machine.
The described transmission module of going up specifically comprises:
Processing unit is used to utilize the picture coding after image encoder will be handled to become general document flow;
Uploading unit is used for described general document flow is uploaded onto the server.
The beneficial effect that the technical scheme that the embodiment of the invention provides is brought is:
Again with the image uploading confirmed method, download again after not needing repeated multiple times that file is uploaded onto the server after directly editing by the network image editing machine, saved the storage resources of Internet resources and server to server from local reading images.Simultaneously, can also guarantee in reading the process of local image that local computer can not be subjected to the attack of virus.
Description of drawings
Fig. 1 is the process flow diagram of the image processing method that provides in the embodiment of the invention 1;
Fig. 2 is the process flow diagram of the image processing method that provides in the embodiment of the invention 2;
Fig. 3 (a), Fig. 3 (b) are the synoptic diagram of the network image editing machine that provides in the embodiment of the invention 2;
Fig. 4 is the structural representation of the network image editing machine that provides in the embodiment of the invention 3.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing.
Embodiment 1
Referring to Fig. 1, present embodiment provides a kind of image processing method, and this method comprises:
101: the network image editing machine obtains the image that the user selects according to user's selection from local computer, and the image that the user is selected is presented in the network image editing machine;
102:, the image that the user selects is handled according to user's operation;
For example, when user click network image editing machine offer the user function button (as amplify, dwindle, left-handed, dextrorotation, literal, senior, replacement etc.) time, the network image editing machine is according to user's operation, and the image of selecting is amplified accordingly, dwindles, left-handed, dextrorotation, interpolation literal, carries out the senior editor or the last operation etc. of resetting.
103: the image uploading after will handling is to server.
After the embodiment of the invention is directly edited from local reading images by the network image editing machine again with the image uploading confirmed method to server, do not download again after not needing repeated multiple times that file is uploaded onto the server, saved the storage resources of Internet resources and server.
Embodiment 2
The embodiment of the invention also provides another kind of image processing method, and referring to Fig. 2, this method comprises:
201: the local image that the network image editing machine is selected on local computer according to the user directly from the related data of the local image of local computer acquisition, is presented at local image in the user window of network image editing machine;
Wherein, local image can be a video image, also can be the picture of static state or dynamic dispatching form.The related data of local image can comprise the video flowing of video image, binary number strong point of static state or dynamic picture or the like.
Concrete implementation method can comprise: in order to prevent that virus is by network image editing machine invasion local computer, the network image editing machine can use up-to-date Adobe Flash Player 10 technology to be implemented in and select local image file on the network editor, and make network editor can't obtain the store path of local image file, for example use the correlation technique of flash.net.FileReference class, monitor the filesselected incident in the local computer, in case listen to the filesselected incident, then the network image editing machine knows that the user has chosen image file in this locality, and can't know the store path of the image file of choosing.
When the network image editing machine listens to the user after this locality has been chosen image file and confirmed, the network image editing machine begins loading data and incident is finished in the loading of monitoring in the home server, after local image file loading is finished, the network image editing machine converts binary local image file data to the network image editing machine can recognition data, and monitor bitmap and read the incident of converting, read the incident of converting in case listen to bitmap, the network image editing machine can use the flash.display.Loader.loadBytes () among the Adobe Flash Player 10 to read the data of the image file of user's selection, and be presented on the window of network image editing machine, edit for the user.
202:, the image that is presented in the middle of the network image editing machine is edited according to user's operation;
The function button that the user can provide according to the network image editing machine (as amplify, dwindle, left-handed, dextrorotation, literal, senior, replacement etc.) image is edited.For example the QQ space shown in Fig. 3 (a) offers user's network image editing machine, when the user selects " literal " function button, can carry out the processing relevant with text operation to image; When the user selects " senior " function button among Fig. 3 (b), can carry out more senior processing or the like to image.
Concrete implementation method can comprise: when the user clicks the function button that the network image editing machine provides, the last image data of handling of network image editing machine cleaning also gets access to the data for the treatment of edited image, the difference of the function that realizes according to each function button is treated editor's view data and is handled.For example, when user click network image editing machine offer the user function button (as amplify, dwindle, left-handed, dextrorotation, literal, senior, replacement etc.) time, the network image editing machine is according to user's operation, and the image of selecting is amplified accordingly, dwindles, left-handed, dextrorotation, interpolation literal, carries out the senior editor or the last operation etc. of resetting.
203: the user edited and confirm after image, upload onto the server.
Wherein, the image after the user can being edited and confirm uses image encoder (as JPEGEncoder, PNGEncoder etc.) to be encoded into general document flow and uploads onto the server, and server is operated accordingly to the file of uploading, and for example stores etc.
The image uploading of again user being confirmed after the embodiment of the invention is directly edited from local reading images by the network image editing machine is to the method for server, do not download again after not needing repeated multiple times that file is uploaded onto the server, saved the storage resources of Internet resources and server.Simultaneously, can also guarantee in reading the process of local image that local computer can not be subjected to the attack of virus.
Embodiment 3
The embodiment of the invention provides a kind of network image editing machine, and referring to Fig. 4, this network image editing machine comprises:
For example, when user click network image editing machine offer the user function button (as amplify, dwindle, left-handed, dextrorotation, literal, senior, replacement etc.) time, the network image editing machine is according to user's operation, and the image of selecting is amplified accordingly, dwindles, left-handed, dextrorotation, interpolation literal, carries out the senior editor or the last operation etc. of resetting.
Wherein, acquisition module 401 specifically comprises:
Monitoring unit is used to monitor the filesselected incident of local computer;
Loading unit is used for when the user chooses image, and the network image editing machine loads the image that the user selects.
Wherein, display module 402 specifically comprises:
Converting unit, the form that the image transitions that is used for that the user is selected is discerned for the network image editing machine;
Display unit is used for after converting, and the image that the user is selected is presented in the network image editing machine.
Wherein, last transmission module 404 specifically comprises:
Processing unit is used to utilize the picture coding after image encoder will be handled to become general document flow;
Uploading unit is used for general document flow is uploaded onto the server.
After the embodiment of the invention is directly edited from local reading images by the network image editing machine again with the image uploading confirmed to server, do not download again after not needing repeated multiple times that file is uploaded onto the server, saved the storage resources of Internet resources and server.Simultaneously, can also guarantee in reading the process of local image that local computer can not be subjected to the attack of virus.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (8)
1, a kind of image processing method is characterized in that, described method comprises:
The network image editing machine obtains the image that described user selects according to user's selection from local computer, and the image that described user is selected is presented in the described network image editing machine;
According to user's operation, the image that described user selects is handled;
With the image uploading after handling to server.
2, the method for claim 1 is characterized in that, described network image editing machine obtains the image that described user selects according to user's selection from local computer, comprising:
The network image editing machine is monitored the filesselected incident of local computer;
When the user chose image, described network image editing machine loaded the image that described user selects.
3, the method for claim 1 is characterized in that, the described image that described user is selected is presented in the described network image editing machine, comprising:
The image transitions that described network image editing machine is selected described user is the form of described network image editing machine identification, and after described converting, the image that described user is selected is presented in the described network image editing machine.
4, the method for claim 1 is characterized in that, the image uploading after described will the processing comprises to server:
Utilize the picture coding after image encoder will be handled to become general document flow to upload onto the server.
5, a kind of network image editing machine is characterized in that, comprising:
Acquisition module is used for the selection according to the user, obtains the image that described user selects from local computer,
Display module is used for the image that described user selects is presented on described network image editing machine;
Processing module is used for the operation according to the user, and the image that described user selects is handled;
Last transmission module is used for the image uploading after handling to server.
6, network image editing machine as claimed in claim 5 is characterized in that, described acquisition module specifically comprises:
Monitoring unit is used to monitor the filesselected incident of local computer;
Loading unit is used for when the user chooses image, and described network image editing machine loads the image that described user selects.
7, network image editing machine as claimed in claim 5 is characterized in that, described display module specifically comprises:
Converting unit, being used for the image transitions that described user selects is the form of described network image editing machine identification;
Display unit is used for after described converting, and the image that described user is selected is presented in the described network image editing machine.
8, network image editing machine as claimed in claim 5 is characterized in that, the described transmission module of going up specifically comprises:
Processing unit is used to utilize the picture coding after image encoder will be handled to become general document flow;
Uploading unit is used for described general document flow is uploaded onto the server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2009100829220A CN101551915A (en) | 2009-04-22 | 2009-04-22 | An image processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2009100829220A CN101551915A (en) | 2009-04-22 | 2009-04-22 | An image processing method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101551915A true CN101551915A (en) | 2009-10-07 |
Family
ID=41156143
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA2009100829220A Pending CN101551915A (en) | 2009-04-22 | 2009-04-22 | An image processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101551915A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102708540A (en) * | 2012-04-21 | 2012-10-03 | 上海量明科技发展有限公司 | Method and client side for zooming screen capturing areas |
CN103179302A (en) * | 2011-12-22 | 2013-06-26 | 腾讯科技(深圳)有限公司 | Picture processing method and system in open platform |
CN103677529A (en) * | 2012-03-06 | 2014-03-26 | 苹果公司 | Application for viewing images |
WO2015000417A1 (en) * | 2013-07-03 | 2015-01-08 | Tencent Technology (Shenzhen) Company Limited | Method, apparatus, application interactive platform, terminal, and system for uploading an image |
CN105654533A (en) * | 2015-12-28 | 2016-06-08 | 小米科技有限责任公司 | Picture editing method and picture editing device |
US10282055B2 (en) | 2012-03-06 | 2019-05-07 | Apple Inc. | Ordered processing of edits for a media editing application |
US10552016B2 (en) | 2012-03-06 | 2020-02-04 | Apple Inc. | User interface tools for cropping and straightening image |
US10936173B2 (en) | 2012-03-06 | 2021-03-02 | Apple Inc. | Unified slider control for modifying multiple image properties |
-
2009
- 2009-04-22 CN CNA2009100829220A patent/CN101551915A/en active Pending
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103179302B (en) * | 2011-12-22 | 2017-10-10 | 腾讯科技(深圳)有限公司 | Image processing method and system in open platform |
CN103179302A (en) * | 2011-12-22 | 2013-06-26 | 腾讯科技(深圳)有限公司 | Picture processing method and system in open platform |
US10936173B2 (en) | 2012-03-06 | 2021-03-02 | Apple Inc. | Unified slider control for modifying multiple image properties |
CN103677529A (en) * | 2012-03-06 | 2014-03-26 | 苹果公司 | Application for viewing images |
US10282055B2 (en) | 2012-03-06 | 2019-05-07 | Apple Inc. | Ordered processing of edits for a media editing application |
US10545631B2 (en) | 2012-03-06 | 2020-01-28 | Apple Inc. | Fanning user interface controls for a media editing application |
US10552016B2 (en) | 2012-03-06 | 2020-02-04 | Apple Inc. | User interface tools for cropping and straightening image |
US10942634B2 (en) | 2012-03-06 | 2021-03-09 | Apple Inc. | User interface tools for cropping and straightening image |
US11119635B2 (en) | 2012-03-06 | 2021-09-14 | Apple Inc. | Fanning user interface controls for a media editing application |
US11481097B2 (en) | 2012-03-06 | 2022-10-25 | Apple Inc. | User interface tools for cropping and straightening image |
CN102708540A (en) * | 2012-04-21 | 2012-10-03 | 上海量明科技发展有限公司 | Method and client side for zooming screen capturing areas |
WO2015000417A1 (en) * | 2013-07-03 | 2015-01-08 | Tencent Technology (Shenzhen) Company Limited | Method, apparatus, application interactive platform, terminal, and system for uploading an image |
CN105654533A (en) * | 2015-12-28 | 2016-06-08 | 小米科技有限责任公司 | Picture editing method and picture editing device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101551915A (en) | An image processing method and device | |
CN103531218B (en) | A kind of online multimedia file editing method and system | |
US20100042933A1 (en) | Region selection control for selecting browser rendered elements | |
CN102937990A (en) | Method and device for cleaning files | |
CN105760490B (en) | Resource storage method and device and electronic equipment | |
CN104424242B (en) | Multimedia file processing method and system | |
CN104615700A (en) | Method for collecting webpage objects in browser, browser client side and system | |
CN108334508A (en) | The extracting method and device of webpage information | |
CN105550207B (en) | Information popularization method and device | |
CN105550179A (en) | Webpage collection method and browser plug-in | |
CN106503169A (en) | Image processing method and device | |
CN111064971B (en) | Method for customizing broadcast notification and related equipment | |
CN110543451A (en) | Method and device for efficiently cleaning equipment files | |
CN105404537B (en) | A kind of discharging method and device of application program | |
CN104506661A (en) | Automatic production method for remotely-configured usage scenario-based power consumption | |
CN113076288A (en) | File processing method and device, electronic equipment and storage medium | |
CN106599222B (en) | Method and equipment for processing logs in streaming parallel | |
US20180197206A1 (en) | Real-time Mobile Multi-Media Content Management System for marketing, Communication and Engagement | |
US11893965B2 (en) | Embedding animation in electronic mail, text messages and websites | |
CN104462422A (en) | Object processing method and device | |
CN107729467A (en) | Web graph text mixing content store method based on PhoneGap | |
US20140293296A1 (en) | Printing frames of a video | |
CN106649354B (en) | Webpage crawling request processing method and device | |
CN108182191A (en) | A kind of hot spot data processing method and its equipment | |
CN113703998A (en) | Image conversion method, image conversion device, electronic equipment and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20091007 |