A kind of screenshot method and system
Technical field
The present invention relates to field of computer technology, especially relate to a kind of screenshot method and system。
Background technology
Image is computer user's effective means for expressing information, document and use image can provide abundant information intuitively in software。Screenshot capture can directly record the display state of current screen, reflects rapidly application state accurately, and is able to record that some contents that cannot be provided by copied text。
But existing sectional drawing function simply simply once intercepts a pictures, when user needs sectional drawing, after calling sectional drawing instrument, select sectional drawing scope, then select whether to edit, carry out afterwards preserving sectional drawing;And when user needs the picture intercepting multiple region in same Background, then need to intercept once, preserve once, so repeatedly, then used image processing tool by oneself again, the image processing softwares such as such as photoshop load each pictures intercepted, then splicing, whole data handling procedure complex operation, inefficiency are carried out by hand, for a user, operate very inconvenient。
Summary of the invention
When the present invention provides a kind of screenshot method and system to solve in prior art, same Background to be intercepted, whole data handling procedure complex operation, the problem of inefficiency。
In order to solve the problems referred to above, the invention discloses a kind of screenshot capture system, including:
Image delimited and preserved module, be used for activating repeatedly sectional drawing pattern, delimit at least two screenshot area continuously, and keep in the image in the screenshot area delimited every time to image conservation zone in Background;
Concatenation module, after sectional drawing, carries out splicing according to user's request to each image of described image conservation zone and edits;
Preserve module, for preserving editing complete image。
Preferably, described image delimitation preservation module includes:
Zoom module, is used for image bi-directional scaling in the screenshot area that will every time delimit;
Display module, is shown to image conservation zone for being kept in by the image after convergent-divergent。
Preferably, described image delimitation preservation module includes:
Backstage memory module, for keeping in image in the screenshot area delimited every time to the image conservation zone on backstage。
Preferably, described concatenation module includes:
Second display module, is used for receiving the complete instruction of sectional drawing, and according to the complete instruction of described sectional drawing by the picture showing in image conservation zone, backstage in editing interface;
Second concatenation module, edits for each image in described editing interface being carried out splicing according to user's request。
Preferably, described concatenation module is additionally operable to:
According to the image template type that user selects, being used in each image automatic adaptation of described image conservation zone to image template is placed in the region of image。
Preferably, described image delimitation preservation module includes:
Image in the screenshot area every time delimited is edited, the image after editor is kept in image conservation zone。
Preferably, described image delimitation preservation module includes:
Background color adjusting module, after delimiting screenshot area, screenshot area is respectively indicated as the different colours being different from background colour every time。
Preferably, described image delimitation preservation module includes:
First screenshot area delimit module, for the rectangular area that the beginning and end of mouse sliding trace is constituted as diagonal coordinate is defined as screenshot area。
Preferably, described image delimitation preservation module includes:
First screenshot area delimit module, be defined as screenshot area at least three coordinate points of click is connected the scope formed。
Accordingly, the invention discloses a kind of screenshot method, including:
Activate repeatedly sectional drawing pattern, Background delimited at least two screenshot area continuously, and the image in the screenshot area every time delimited is kept in image conservation zone;
After sectional drawing, according to user's request, each image of described image conservation zone is carried out splicing and edit;
Preserve editing complete image。
Preferably, described farther include when image in the screenshot area every time delimited is kept in image conservation zone:
By image bi-directional scaling in the screenshot area delimited every time;
Image after convergent-divergent is kept in and is shown to image conservation zone。
Preferably, include when the image in the screenshot area every time delimited being kept in image conservation zone:
Image in the screenshot area every time delimited is kept in the image conservation zone on backstage。
Preferably, after described sectional drawing, according to user's request, each image of described image conservation zone is carried out splicing editor and farther includes:
Receive the complete instruction of sectional drawing, and according to the complete instruction of described sectional drawing by the picture showing in image conservation zone, backstage in editing interface;
According to user's request, each image in described editing interface is carried out splicing to edit。
Preferably, according to user's request, each image of described image conservation zone is carried out splicing editor to include:
According to the image template type that user selects, being used in each image automatic adaptation of described image conservation zone to image template is placed in each region of image。
Preferably, the image in the screenshot area every time delimited kept in include to image conservation zone:
Image in the screenshot area every time delimited is edited, the image after editor is kept in image conservation zone。
Preferably, Background delimited at least two screenshot area continuously to include:
After delimiting screenshot area, screenshot area is respectively indicated as the different colours being different from background colour every time。
Preferably, described delimitation screenshot area includes:
The rectangular area that the beginning and end of mouse sliding trace is constituted as diagonal coordinate is defined as screenshot area。
Preferably, described delimitation screenshot area includes: at least three coordinate points of click is connected the scope formed and is defined as screenshot area。
Compared with prior art, the invention have the advantages that
The present invention can once intercept plurality of pictures in same Background and preserve, then according to the demand of user, picture is carried out splicing to edit, solve and same Background repeatedly intercepts and splices the problem of complex operation, inefficiency in this whole data handling procedure, making the user that same Background has multiple sectional drawing demands, it is more convenient to operate。
Accompanying drawing explanation
Fig. 1 is the flow chart in the inventive method embodiment;
Fig. 2 adopts rectangle frame selection tool to choose the schematic diagram of screen picture in the inventive method embodiment;
Fig. 3 is the schematic diagram of continuous sectional drawing plurality of pictures in the inventive method embodiment;
Fig. 4 shows the plurality of pictures of sectional drawing and the schematic diagram of editing interface in the inventive method embodiment;
Fig. 5 is splice template example in the inventive method embodiment;
Fig. 6 is the structure chart in present system embodiment。
Detailed description of the invention
Understandable for enabling the above-mentioned purpose of the present invention, feature and advantage to become apparent from, below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation。
One of core concept of the present invention is in that, add repeatedly sectional drawing instruction, same Background can be delimited at least 2 screenshot area continuously, image in the screenshot area every time delimited is preserved to image conservation zone, then, after sectional drawing, according to user's request, each image of described image conservation zone is carried out splicing and edit。So, it is achieved that multiple images of disposable intercepting carry out the process of splicing, for a user, the process operation intercepting plurality of pictures is simple, and efficiency is high, it is not necessary to picture is carried out adopting image processing software that sectional drawing is carried out splicing by user。
It is described in detail by the examples below。
With reference to Fig. 1, it it is a kind of screenshot method flow chart described in the embodiment of the present invention。
Step 110, activates repeatedly sectional drawing pattern, delimit at least two screenshot area continuously, and keep in the image in the screenshot area delimited every time to image conservation zone in Background;
In the real-time example of the present invention, the Ctrl that can pin keyboard activates repeatedly sectional drawing pattern, until repeatedly sectional drawing is complete。Certainly, the present invention activates repeatedly sectional drawing pattern also by other mode。
After activating repeatedly sectional drawing pattern, user's cocoa is selected left mouse button repeatedly, delimits multiple screenshot area。When delimiting screenshot area, it is possible to be defined as screenshot area by mouse motion track area defined;
Preferably, described delimitation screenshot area includes:
Step o1, is defined as screenshot area using the rectangular area that the beginning and end of mouse sliding trace is constituted as diagonal coordinate。
Namely such as, top left co-ordinate is (100,100), and lower right corner coordinate is (110.90) diagonal coordinate, four drift angles of the rectangular area of its composition are (100,100), (110,100), (100,90) (110,90)。
Additionally, it is preferred that, described delimitation screenshot area may also comprise: at least three coordinate points of click is connected the scope formed and is defined as screenshot area。
User can also adopt circle, ellipse or rectangle frame selection tool choose need intercept screen picture, below just illustrate how to be defined as screenshot area by mouse motion track area defined for the most frequently used rectangle frame selection tool。Fig. 2 is the schematic diagram adopting rectangle frame selection tool to choose screen picture。When adopting rectangle frame selection tool to choose screen picture, have only to determine the position of the first anchor point 201 and the second anchor point 202 on diagonal, namely can determine that the size of rectangle 203, it is to say, namely the position that user has only to determine the first anchor point 201 and the second anchor point 202 can determine that the screen picture needing to preserve。
After user delimit screenshot area every time, the image in the screenshot area every time delimited can be kept in image conservation zone。
Preferably, include when the image in the screenshot area every time delimited being kept in image conservation zone:
Step A11, by image bi-directional scaling in the screenshot area delimited every time;
Step A12, keeps in the image after convergent-divergent and is shown to image conservation zone。
Namely one the preview window is set in certain region of display interface, by the figure bi-directional scaling of screenshot area to adapting to size, is positioned over institute's the preview window and is shown。
In embodiments of the present invention, described the preview window can move according to user's request, such as former the preview window is in the upper right corner, and its four drift angles coordinate is: (10000,10100), (10100,10100), (10000,10000), (10100,10000)。User can be moved to browse the window upper right corner, and its four drift angles coordinate is: (0,10100), (100,10100), (0,10000), (100,10000)。
For the step A12 image conservation zone being shown, i.e. above-mentioned the preview window, when user clicks left mouse button, place, described image conservation zone window can be hidden, when user's mouse up, recover place, described image conservation zone window, in order to Background can all be shown by user when sectional drawing。
Additionally, it is preferred that, include when the image in the screenshot area every time delimited is kept in image conservation zone:
Step B11, keeps in image in the screenshot area delimited every time to the image conservation zone on backstage。
Keep in the image conservation zone on backstage by image in the screenshot area delimited every time, in order to keep in the image with screenshot area when the sectional drawing action of user is not fully complete。
Preferably, the image in the screenshot area every time delimited kept in include to image conservation zone:
Step A13, edits the image in the screenshot area delimited every time, keeps in the image after editor to image conservation zone。
When being embodied as every time, it is preferred that the picture intercepted is edited or scribble after can also selecting screenshot area every time operation by method。When sectional drawing is edited, the functional similarity having with general pattern software for editing, for instance pencil, erasing rubber, straight line, straight arrows, rectangle, circle, text box, color selecting and highlighted etc.。There will be a formula bar when editor, this formula bar shows button corresponding with these functions。
Preferably, Background delimited at least two screenshot area continuously to include:
Step A14, after delimiting screenshot area, screenshot area is respectively indicated as the different colours being different from background colour every time。
For the ease of distinguishing the region of intercepting every time, it is possible to after selecting screenshot area, screenshot area is respectively indicated as the color being different from background colour every time。Such as first time screenshot area is shown as black, and second time screenshot area is shown as yellow, and third time screenshot area is shown as blueness etc.。This display could be arranged to automatically be shown as by different sectional drawings different colors, it is also possible to is that user is selected by the Edit button on formula bar。
Referring to Fig. 3, it illustrates the application and delimit the example of screenshot area。
Pin repeatedly sectional drawing instruction key (such as ctrl), pin left mouse button and delimit screenshot area, then unclamp left mouse button, obtain selecting screenshot area 31;Then pin left mouse button, draw and select other screenshot area 32 (the frame color of screenshot area 32 needs different from region 31, and can overlap between screenshot area, and after choosing screenshot area 32, scribble toolbar occurs in the lower section in region 32);By that analogy, it is possible to once intercept plurality of pictures, end user has clicked or has unclamped repeatedly sectional drawing instruction key, then preserve user this all sectional drawings and on sectional drawing scribble operation。
Step 120, after sectional drawing, carries out splicing according to user's request to each image of described image conservation zone and edits;
Such as aforementioned user have activated repeatedly sectional drawing instruction to pin Ctrl, then can arrange and then illustrate that repeatedly sectional drawing is complete when user unclamps Ctrl, then now according to user's request, each image of described image conservation zone can be carried out splicing and edit。
Preferably, after sectional drawing, according to user's request, each image of described image conservation zone is carried out splicing editor and includes:
Step C11, receive the complete instruction of sectional drawing, and according to the complete instruction of described sectional drawing by the picture showing in image conservation zone, backstage in editing interface;
Namely in previous example, such as user unclamps Ctrl, then it is believed that the action unclamping Ctrl is the complete instruction of sectional drawing that user send, then system then accepts the complete instruction of described sectional drawing, then according to the complete instruction of described sectional drawing by the picture showing in image conservation zone, backstage in editing interface。
Step C12, carries out splicing according to user's request to each image in described editing interface and edits。
With reference to Fig. 4, it illustrates a kind of editing interface of the embodiment of the present invention。
A) showing interface as shown in Figure 4, right side " sectional drawing last time " is shown as the sectional drawing content chosen last time, the conventional sectional drawing content that " history sectional drawing " shows, picture can directly use mouse drag to carry out concatenation to the editing area in left side;
B) basic edit for picture displayed above operates, and the preservation of file, duplication operation;
C) lower section can adjust background color, needs to support transparent background simultaneously。
Preferably, according to user's request, each image of described image conservation zone is carried out splicing editor to include:
Step C13, according to the image template type that user selects, by each region being used for placing image in each image automatic adaptation of described image conservation zone to image template。
In the embodiment of the present invention, user can select image template type before each figure being truncated to is spliced, and the image template type that then system selects according to user is by each region being used for placing image in each image automatic adaptation of described image conservation zone to image template。
Such as with reference to Fig. 5, when user has intercepted 3 sub-picture, can be chosen with the image template of 3 each image-regions, the isosceles triangle template in such as Fig. 5, wherein 510 is editing interface, and 511,512,513 is three regions for placing image, and it is isosceles triangle arrangement。So when user selects this template, 3 sub-pictures that user is then intercepted by system, by the size auto zoom coupling of 511,512,513, are then respectively put in three regions。Certainly, user also can, from which each image is put into certain region by main separation, select after certain each image puts into certain region user, and this image is mated by system automatically according to the size auto zoom of current region, is then placed in this region。
Step 130, preserves editing complete image。
Undertaken preserving the result that can obtain repeatedly sectional drawing by editing complete image。
In sum, through the process of above flow process, it is possible to sectional drawing plurality of pictures continuously, then preserve, the plurality of pictures intercepted can be edited or concatenation after preservation;After every section of figure, the figure intercepted can also be carried out edit operation。Such user can once complete the sectional drawing work of required plurality of pictures so that it is more convenient to operate, and promotes processing speed and the efficiency of whole sectional drawing process。
Based on foregoing, the embodiment of the present invention additionally provides corresponding system embodiment。
It is the structure chart of a kind of screenshot capture system described in the embodiment of the present invention with reference to Fig. 6, may include that image delimited and preserve module 610, for activating repeatedly sectional drawing pattern, Background delimited at least two screenshot area continuously, and the image in the screenshot area every time delimited kept in image conservation zone;
Concatenation module 620, after sectional drawing, carries out splicing according to user's request to each image of described image conservation zone and edits;
Preserve module 630, for preserving editing complete image。
Wherein, it is preferred that described image delimited preservation module and included:
Zoom module, is used for image bi-directional scaling in the screenshot area that will every time delimit;
Display module, is shown to image conservation zone for being kept in by the image after convergent-divergent。
Preferably, described image delimitation preservation module includes:
Backstage memory module, for keeping in image in the screenshot area delimited every time to the image conservation zone on backstage。
Preferably, described concatenation module includes:
Second display module, is used for receiving the complete instruction of sectional drawing, and according to the complete instruction of described sectional drawing by the picture showing in image conservation zone, backstage in editing interface;
Second concatenation module, edits for each image in described editing interface being carried out splicing according to user's request。
Preferably, described concatenation module is additionally operable to:
According to the image template type that user selects, being used in each image automatic adaptation of described image conservation zone to image template is placed in the region of image。
Preferably, described image delimitation preservation module includes:
Image in the screenshot area every time delimited is edited, the image after editor is kept in image conservation zone。
Preferably, described image delimitation preservation module includes:
Background color adjusting module, after delimiting screenshot area, screenshot area is respectively indicated as the different colours being different from background colour every time。
Preferably, described image delimitation preservation module includes:
First screenshot area delimit module, for the rectangular area that the beginning and end of mouse sliding trace is constituted as diagonal coordinate is defined as screenshot area。
Preferably, described image delimitation preservation module includes:
Second screenshot area delimit module, be defined as screenshot area at least three coordinate points of click is connected the scope formed。
Based on above-mentioned screenshot capture system, the embodiment of the present invention additionally provides a kind of instant communication client, and this instant communication client can include above-mentioned screenshot capture system, thus supporting to intercept continuously the demand of plurality of pictures。The concrete structure of described screenshot capture system can refer to shown in Fig. 6, is not described in detail in this。
Described instant communication client can be the desktop operating system terminals such as PC, notebook computer, panel computer, handwriting pad, can also be the intelligent mobile terminals such as palm PC, mobile phone, PAD, PDA, little screen mobile phone or transverse screen mobile phone, it is also possible to be each Terminal Type with multitask system。
Each embodiment in this specification all adopts the mode gone forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually referring to。For system embodiment, due to itself and embodiment of the method basic simlarity, so what describe is fairly simple, relevant part illustrates referring to the part of embodiment of the method。
Finally, it can further be stated that, in this article, the relational terms of such as first and second or the like is used merely to separate an entity or operation with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially。
Those skilled in the art are it should be appreciated that embodiments herein can be provided as method, system or computer program。Therefore, the application can adopt the form of complete hardware embodiment, complete software implementation or the embodiment in conjunction with software and hardware aspect。And, the application can adopt the form at one or more upper computer programs implemented of computer-usable storage medium (including but not limited to disk memory, CD-ROM, optical memory etc.) wherein including computer usable program code。
The application describes with reference to flow chart and/or the block diagram according to the method for the embodiment of the present application, equipment (system) and computer program。It should be understood that can by the combination of the flow process in each flow process in computer program instructions flowchart and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame。These computer program instructions can be provided to produce a machine to the processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device so that the instruction performed by the processor of computer or other programmable data processing device is produced for realizing the system of function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame。
These computer program instructions may be alternatively stored in and can guide in the computer-readable memory that computer or other programmable data processing device work in a specific way, the instruction making to be stored in this computer-readable memory produces to include the manufacture of instruction system, and this instruction system realizes the function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame。
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices provides for realizing the step of function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame。
Although having been described for the preferred embodiment of the application, but those skilled in the art are once know basic creative concept, then these embodiments can be made other change and amendment。So, claims are intended to be construed to include preferred embodiment and fall into all changes and the amendment of the application scope。
Above to a kind of screenshot method provided by the present invention and system, it is described in detail, principles of the invention and embodiment are set forth by specific case used herein, and the explanation of above example is only intended to help to understand method and the core concept thereof of the present invention;Simultaneously for one of ordinary skill in the art, according to the thought of the present invention, all will change in specific embodiments and applications, in sum, this specification content should not be construed as limitation of the present invention。