CN107748636A - Picture batch cut-out method, device and terminal - Google Patents

Picture batch cut-out method, device and terminal Download PDF

Info

Publication number
CN107748636A
CN107748636A CN201711142200.0A CN201711142200A CN107748636A CN 107748636 A CN107748636 A CN 107748636A CN 201711142200 A CN201711142200 A CN 201711142200A CN 107748636 A CN107748636 A CN 107748636A
Authority
CN
China
Prior art keywords
cut out
picture
cut
module
scaling
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
Application number
CN201711142200.0A
Other languages
Chinese (zh)
Inventor
唐泽宏
胡晓波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Spring Sports Management Co Ltd
Original Assignee
Shenzhen Spring Sports Management Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Spring Sports Management Co Ltd filed Critical Shenzhen Spring Sports Management Co Ltd
Priority to CN201711142200.0A priority Critical patent/CN107748636A/en
Publication of CN107748636A publication Critical patent/CN107748636A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04806Zoom, i.e. interaction techniques or interactors for controlling the zooming operation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a kind of picture batch cut-out method, this method includes:Load multiple pictures to be cut out, according to presetting rule, by multiple, the size scaling of the picture to be cut out is to match the size for cutting out frame, and the scope of frame is cut out according to this, multiple pictures to be cut out after scaling are cut out successively, when having cut out last picture to be cut out, return to the page for calling and cutting out picture, the invention discloses a kind of picture batch cutting device, by the cutting successively that plurality of pictures is completed in the same page, plurality of pictures is cut into the picture for meeting preset requirement, raising cuts out efficiency and cuts out quality, makes user experience good.

Description

Picture batch cut-out method, device and terminal
Technical field
The present invention relates to field of terminal technology, more particularly to a kind of picture batch cut-out method, device and terminal.
Background technology
With the rapid development of application software in the terminals such as mobile phone, often there is business to need user's offer figure in application software Piece, while the dimension of picture provided in some cases user requires, and e.g., sets user's head portrait, but the picture of user comes Source can not ensure requirement of the satisfaction to size, and now application program need to provide crop tool and adjust picture for user.
Wherein, the crop tool and third party library instrument that most of applications provide can not be cut in batches, and user can not be In the case of page jump not occurring, once submit plurality of pictures to complete all pictures and cut, it is low to cause to cut out efficiency, and applies Sense is isolated in generation, influences Consumer's Experience.
The content of the invention
The main purpose of the embodiment of the present invention is to provide a kind of picture batch cut-out method, device and terminal, it is intended to solves Certainly user can not be in the technical problem that same page completion plurality of pictures is disposably cut in the prior art.
To achieve the above object, first aspect of the embodiment of the present invention provides a kind of picture batch cut-out method, including:
Load multiple pictures to be cut out;
It is the size that frame is cut out described in matching by the size scaling of picture to be cut out described in multiple according to presetting rule, and according to The scope for cutting out frame, and multiple described pictures to be cut out after scaling are cut out successively;
When having cut out last picture to be cut out, the page for calling and cutting out picture is returned.
Second aspect of the embodiment of the present invention provides a kind of picture batch cutting device, including:
Load-on module, for loading multiple pictures to be cut out;
Module is cut out, for being to cut out frame described in matching by the size scaling of picture to be cut out described in multiple according to presetting rule Size, and according to the scope for cutting out frame, cut out multiple described pictures to be cut out after scaling successively;
Module is returned to, for when having cut out last picture to be cut out, returning to the page for calling and cutting out picture.
The third aspect of the embodiment of the present invention provides a kind of terminal, including:Memory, processor and storage are on a memory simultaneously The computer program that can be run on a processor, realize during the computing device described program such as aforementioned first aspect offer The method that picture batch is cut out.
In the embodiment of the present invention, according to presetting rule, the size scaling of multiple pictures to be cut out of loading is cut for matching The size of frame is cut out, and according to the scope for cutting out frame, cuts out multiple pictures to be cut out after scaling successively, when having cut out last Picture to be cut out, the page for calling and cutting out picture is returned to, thus, the batch that plurality of pictures is completed in the same page is cut, and It is not that after single picture is cut out into completion return, cutting out for next pictures could be carried out, improve the efficiency cut out, and lead to Cross setting and cut out frame, plurality of pictures is cut into the picture for meeting preset requirement, further improve and cut out efficiency and cut out matter Amount.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those skilled in the art, on the premise of not paying creative work, can also basis These accompanying drawings obtain other accompanying drawings.
Fig. 1 is the schematic flow sheet for the picture batch cut-out method that first embodiment of the invention provides;
Fig. 2 is the schematic flow sheet for the picture batch cut-out method that second embodiment of the invention provides;
Fig. 3 is the structural representation for the picture batch cutting device that third embodiment of the invention provides;
Fig. 4 is the structural representation for the picture batch cutting device that fourth embodiment of the invention provides;
Fig. 5 is the hardware architecture diagram of terminal of the present invention.
Embodiment
To enable goal of the invention, feature, the advantage of the present invention more obvious and understandable, below in conjunction with the present invention Accompanying drawing in embodiment, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described reality It is only part of the embodiment of the present invention to apply example, and not all embodiments.Based on the embodiment in the present invention, people in the art The every other embodiment that member is obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Referring to Fig. 1, Fig. 1 is the schematic flow sheet for the picture batch cut-out method that first embodiment of the invention provides, should Picture batch cut-out method can be applicable in terminal, and the terminal includes the PC with touch screen(personal computer), Mobile phone, tablet personal computer etc..This method includes:
S101, load multiple pictures to be cut out;
Multiple pictures to be cut out of user's selection, or multiple pictures to be cut out that loading obtains according to preset rules are loaded, its In, the source of the picture to be cut out can be network picture, can also local picture.
S102, according to presetting rule, the size scaling of multiple pictures to be cut out is cut out into the size of frame to match this, and press The scope of frame is cut out according to this, cuts out multiple pictures to be cut out after scaling successively;
The loading sequence of the picture to be cut out according to multiple, by the size of picture itself according to default scaling speed, wait than contracting It is put into the most short side matching crop box side corresponding with the most short side of the size of matching crop box, wherein picture.
Further, when detect cut out instruction when, then cut out the picture to be cut out successively according to the scope for cutting out frame.
S103, when having cut out last picture to be cut out, return to the page for calling and cutting out picture.
In tailoring process, there is provided option is performed, the concrete form of the execution option can be quick botton, such as:" upper one ", when user selects to click on the quick botton, load a upper picture to be cut out for caching;" next ", when user selects When clicking on the quick botton, the picture to be cut out of current operation is preserved, and loads next picture to be cut out;" it is determined that ", when with When the quick botton is clicked in family selection, the picture to be cut out of all cachings is submitted;" cancellation ", when user selects click, this is fast pressed During button, operation is terminated.
When having cut out needed cutout piece, all pictures to be cut out cached are submitted to give upper level invoking page, Return to the page for calling and cutting out picture.
It is that frame is cut out in matching by the size scaling of multiple pictures to be cut out of loading according to presetting rule in the present embodiment Size, and according to the scope for cutting out frame, cut out multiple pictures to be cut out after scaling successively, wait to cut when having cut out last Picture is cut out, returns to the page for calling and cutting out picture, thus, the batch that plurality of pictures is completed in the same page is cut, rather than After single picture is cut out into completion return, cutting out for next pictures could be carried out, improves the efficiency cut out, and by setting Put and cut out frame, plurality of pictures is cut into the picture for meeting preset requirement, further improve and cut out efficiency and cut out quality.
Referring to Fig. 2, Fig. 2 is the schematic flow sheet for the picture batch cut-out method that second embodiment of the invention provides,
S201, the source for judging picture to be cut out to be loaded, and load multiple pictures to be cut out;
Load when picture is cut out, the source of picture to be cut out to be loaded is analyzed, if this to be loaded treats cutout Piece is local picture, then loads the picture to be cut out to be loaded, defeated if the picture to be cut out to be loaded is network picture Go out and load prompt message, and load the picture to be cut out to be loaded.
S202, according to presetting rule, by multiple, the size scaling of the picture to be cut out is matches the size that this cuts out frame, and The scope of frame is cut out according to this, cuts out multiple pictures to be cut out after scaling successively;
Order of the loading multiple this when picture is cut out is selected according to user, by the size uniform zoom of picture itself to matching sanction The size of frame is cut, rule matches side corresponding to crop box for the most short side of picture, to ensure that it is black that the picture after cutting will not produce Bar or informal voucher.
Specifically, the most short side of the current picture to be cut out of identification, and the length of side of most short side is obtained, by default scaling multiple K, the length value and width value of current picture to be cut out are scaled, so that the length of side of the current most short side of picture to be cut out is cut with this The length of side for cutting out frame is equal.
Wherein, scaling multiple K=this cut out the frame length of side/current picture to be cut out most short side the length of side, this cuts out frame The Aspect Ratio that length with identical, that is, can cut out frame with width is 1:1.
Further, in tailoring process, when detecting that user carries out gesture operation to the picture to be cut out, then according to The gesture operation at family, according to presetting rule, the picture to be cut out is adjusted, the gesture operation zooms in or out figure including double-click Piece, double fingers can be scaled arbitrarily, rotating image, singly referred to and pulled picture etc., meanwhile, keep the most short side of picture to be cut out to match and cut out Side corresponding to frame.
Specifically, in tailoring process, when detecting that two fingers perform in the predeterminated position of the picture to be cut out respectively During preset amplifying gesture, the picture to be cut out is amplified according to the preset scaling gesture;
In tailoring process, when detect finger this wait cut out picture predeterminated position perform preset drag gesture when, by this Picture to be cut out is moved to the target location of dragging finger instruction.
In tailoring process, when detecting that two fingers perform preset diminution in the predeterminated position of the picture to be cut out respectively During gesture, the picture to be cut out is reduced according to the preset scaling gesture;
In tailoring process, when detecting finger at this wait the preset rotation gesture of the predeterminated position execution for cutting out picture, by this Picture to be cut out rotates to the target location of pivoting finger instruction.
During image cropping, show that the related of image cropping performs option in display interface.
Specifically, when the execution option for detecting triggering is designated as returning upper one, load caching upper one treats Picture is cut out, according to the size for cutting out frame, scales the picture to be cut out, and cut out this again according to the size for cutting out frame and wait to cut Cut out picture.
The upper picture after cutting out and being cut out corresponding to picture once cut out cached in CACHE DIRECTORY is deleted, this is slow Deposit catalogue and be used for the picture to be cut out after preservation is handled.
When the execution option for detecting triggering is designated as returning next, then the size that frame is cut out according to this cuts out this Picture to be cut out, the picture to be cut out after preservation processing show next picture to be cut out to CACHE DIRECTORY, and wait is cut Cut out.
When the execution option for detecting triggering, which is designated as returning, to be determined, the processing all in the CACHE DIRECTORY is sent The picture to be cut out afterwards gives upper level invoking page.
When the execution option for detecting triggering, which is designated as returning, to be cancelled, this method is terminated.
S203, when having cut out last picture to be cut out, return to the page for calling and cutting out picture.
When having cut out needed cutout piece, the page for calling and cutting out picture is returned to, submission is all to be buffered in caching mesh Picture to be cut out in record gives upper level invoking page.
It is that frame is cut out in matching by the size scaling of multiple pictures to be cut out of loading according to presetting rule in the present embodiment Size, and according to the scope for cutting out frame, cut out multiple pictures to be cut out after scaling successively, wait to cut when having cut out last Picture is cut out, returns to the page for calling and cutting out picture, thus, the batch that plurality of pictures is completed in the same page is cut, rather than After single picture is cut out into completion return, cutting out for next pictures could be carried out, improves the efficiency cut out, and by setting Put and cut out frame, plurality of pictures is cut into the picture for meeting preset requirement, further improve and cut out efficiency and cut out quality.
Referring to Fig. 3, Fig. 3 is the structural representation for the picture batch cutting device that third embodiment of the invention provides, should Figure batch cutting device can be built in terminal, and the device is included with lower module:
Load-on module 301, cut out module 302 and return to module 303;
Load-on module 301, for loading multiple pictures to be cut out;
Module 302 is cut out, for according to presetting rule, the size scaling of the picture to be cut out to cut out frame to match this by multiple Size, and scope of frame is cut out according to this, multiple pictures to be cut out are cut out successively;
Module 303 is returned to, for when having cut out last picture to be cut out, returning to the page for calling and cutting out picture.
Load-on module 301 responds the loading instruction of user, and loading, which is called, cuts out the page of picture, according to the selection of user, Multiple pictures to be cut out are loaded, wherein, the type of the picture to be cut out includes network picture and local picture.
Module 302 is cut out according to according to presetting rule, the size scaling of multiple pictures to be cut out is cut out into frame for matching Size, and according to the scope for cutting out frame, multiple pictures to be cut out after scaling are cut out successively.
In tailoring process, there is provided option is performed, the concrete form of the execution option can be quick botton, such as:" upper one ", when user selects to click on the quick botton, load a upper picture to be cut out for caching;" next ", when user selects When clicking on the quick botton, the picture to be cut out of current operation is preserved, and loads next picture to be cut out;" it is determined that ", when with When the quick botton is clicked in family selection, the picture to be cut out of all cachings is submitted;" cancellation ", when user selects click, this is fast pressed During button, operation is terminated.
Further, return module 303 when having cut out needed cutout piece, submit it is all cached treat cutout Piece gives upper level invoking page, returns to the page for calling and cutting out picture.
The present embodiment does not describe to the greatest extent details, referring to earlier figures 1 and Fig. 2 description.
It is that frame is cut out in matching by the size scaling of multiple pictures to be cut out of loading according to presetting rule in the present embodiment Size, and according to the scope for cutting out frame, cut out multiple pictures to be cut out after scaling successively, wait to cut when having cut out last Picture is cut out, returns to the page for calling and cutting out picture, thus, the batch that plurality of pictures is completed in the same page is cut, rather than After single picture is cut out into completion return, cutting out for next pictures could be carried out, improves the efficiency cut out, and by setting Put and cut out frame, plurality of pictures is cut into the picture for meeting preset requirement, further improve and cut out efficiency and cut out quality.
Referring to Fig. 4, Fig. 4 is the structural representation for the picture batch cutting device that fourth embodiment of the invention provides, should Figure batch cutting device can be built in terminal, for performing the batch of the picture in the above-mentioned Fig. 1 and embodiment illustrated in fig. 2 side of cutting out Method, the difference of the picture batch cutting device and the device shown in Fig. 3 essentially consist in:
When showing that image cropping is related in display interface and performing option, load-on module 301, being additionally operable to should when detect triggering When execution option is designated as returning one, a upper picture to be cut out for caching is loaded;
Module 302 is cut out, is additionally operable to cut out the size of frame according to this, scales a picture to be cut out on this, and cut out this again Picture to be cut out;
The device still further comprises:
Removing module 401, the picture after cutting out and being cut out corresponding to picture that the last time for deleting caching cuts out.
Further, cutting out module 302 includes:
Acquisition submodule 3021 is identified, for identifying the most short side of current picture to be cut out, and obtains the length of side of most short side;
Submodule 3022 is scaled, for by default scaling multiple, the length value and width of the current picture to be cut out of uniform zoom Value, so that the length of side of the current most short side of picture to be cut out is equal with the length of side that this cuts out frame.
Wherein, the scaling multiple cuts out the ratio of the frame length of side and the currently length of side of the most short side of picture to be cut out for this.
Further, the device also includes:
Judge module 402, for judging the source of the picture to be cut out to be loaded;
Further, load-on module 301, if it is local picture to be additionally operable to the picture to be cut out to be loaded, it is to be added to load this The picture to be cut out carried.
The device can further include:
Output module 403, if the to be cut out picture to be loaded for this is network picture, output loading prompt message;
Further, load-on module 301, it is additionally operable to, when the output module exports loading prompt message, it is to be loaded to load this Picture to be cut out.
The device can further include:
Adjusting module 404, in tailoring process, when detecting two fingers respectively in the predeterminated position of the picture to be cut out When performing preset scaling gesture, the picture to be cut out is zoomed in and out according to the preset scaling gesture.
Further, adjusting module 403, it is additionally operable in tailoring process, when detecting finger in the picture to be cut out When predeterminated position performs preset drag gesture, the picture to be cut out is moved to the target location of dragging finger instruction.
The present embodiment does not describe to the greatest extent details, referring to earlier figures 1, Fig. 2 and Fig. 3 description.
It is that frame is cut out in matching by the size scaling of multiple pictures to be cut out of loading according to presetting rule in the present embodiment Size, and according to the scope for cutting out frame, cut out multiple pictures to be cut out after scaling successively, wait to cut when having cut out last Picture is cut out, returns to the page for calling and cutting out picture, thus, the batch that plurality of pictures is completed in the same page is cut, rather than After single picture is cut out into completion return, cutting out for next pictures could be carried out, improves the efficiency cut out, and by setting Put and cut out frame, plurality of pictures is cut into the picture for meeting preset requirement, further improve and cut out efficiency and cut out quality.
Referring to Fig. 5, Fig. 5 is the hardware architecture diagram of terminal of the present invention.
Terminal described in the present embodiment, including:
Memory 51, processor 52 and it is stored in the computer program that can be run on memory 51 and on a processor, processor The picture batch cut-out method described in 1 ~ embodiment illustrated in fig. 2 of earlier figures is realized when performing the program.
Further, the terminal also includes:
At least one input equipment 53;At least one output equipment 54.
Above-mentioned memory 51, the input equipment 53 of processor 52 and output equipment 54 are connected by bus 55.
Wherein, input equipment 53 concretely camera, contact panel, physical button or mouse etc..Output equipment 54 concretely display screens.
Memory 51 can be high random access memory body(RAM, Random Access Memory)Memory, also may be used For non-labile memory(non-volatile memory), such as magnetic disk storage.Memory 51 is used for one group of storage can Configuration processor code, processor 52 couple with memory 51.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, it can be passed through Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the module, only Only a kind of division of logic function, there can be other dividing mode when actually realizing, such as multiple module or components can be tied Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or discussed Mutual coupling or direct-coupling or communication connection can be the INDIRECT COUPLINGs or logical by some interfaces, device or module Letter connection, can be electrical, mechanical or other forms.
The module illustrated as separating component can be or may not be physically separate, show as module The part shown can be or may not be physical module, you can with positioned at a place, or can also be distributed to multiple On mixed-media network modules mixed-media.Some or all of module therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional module in each embodiment of the present invention can be integrated in a processing module, can also That modules are individually physically present, can also two or more modules be integrated in a module.Above-mentioned integrated mould Block can both be realized in the form of hardware, can also be realized in the form of software function module.
It should be noted that for foregoing each method embodiment, in order to which simplicity describes, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because According to the present invention, some steps can use other orders or carry out simultaneously.Secondly, those skilled in the art should also know Know, embodiment described in this description belongs to preferred embodiment, and involved action and module might not all be this hairs Necessary to bright.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiments.
It is above the description to a kind of picture batch cut-out method provided by the present invention, device and terminal, for ability The technical staff in domain, according to the thought of the embodiment of the present invention, there will be changes in specific embodiments and applications, To sum up, this specification content should not be construed as limiting the invention.

Claims (10)

1. a kind of method that picture batch is cut out, it is characterised in that methods described includes:
Load multiple pictures to be cut out;
It is the size that frame is cut out described in matching by the size scaling of picture to be cut out described in multiple according to presetting rule, and according to The scope for cutting out frame, multiple described pictures to be cut out after scaling are cut out successively;
When having cut out last picture to be cut out, the page for calling and cutting out picture is returned.
2. the method as described in claim 1, it is characterised in that show that image cropping is related in display interface and perform option, then Methods described also includes:
When the execution option for detecting triggering is designated as returning upper one, a upper picture to be cut out for caching is loaded;
It is the size that frame is cut out described in matching by the size scaling of a upper picture to be cut out according to the presetting rule, And the picture to be cut out is cut out again;
The picture after cutting out and being cut out corresponding to picture that the last time of deletion caching cuts out.
3. method as claimed in claim 2, it is characterised in that it is described according to presetting rule, by picture to be cut out described in multiple Size scaling include to cut out the size of frame described in matching:
The most short side of every picture to be cut out is identified, and obtains the length of side of most short side;
By default scaling multiple, the length value and width value of the picture to be cut out of uniform zoom every, so that every is treated cutout The length of side of the most short side of piece is equal with the length of side for cutting out frame;
Wherein, the scaling multiple is the ratio for cutting out the frame length of side and the length of side of the most short side of every picture to be cut out.
4. the method as described in any one of claims 1 to 3, it is characterised in that it is described load picture to be cut out before, including:
Judge the source of the picture to be cut out to be loaded;
If the picture to be cut out to be loaded is local picture, the picture to be cut out to be loaded is loaded;
If the picture to be cut out to be loaded is network picture, output loading prompt message, and load described to be loaded Picture to be cut out.
5. method as claimed in claim 4, it is characterised in that methods described also includes:
In tailoring process, when detecting that two fingers perform preset scaling hand in the predeterminated position of the picture to be cut out respectively During gesture, the picture to be cut out is zoomed in and out according to the preset scaling gesture;
In tailoring process, when detect finger it is described wait cut out picture predeterminated position perform preset drag gesture when, will The picture to be cut out is moved to the target location of the dragging finger instruction.
A kind of 6. picture batch cutting device, it is characterised in that including:
Load-on module, for loading multiple pictures to be cut out;
Module is cut out, for being to cut out frame described in matching by the size scaling of picture to be cut out described in multiple according to presetting rule Size, and according to the scope for cutting out frame, cut out multiple described pictures to be cut out after scaling successively;
Module is returned to, for when having cut out last picture to be cut out, returning to the page for calling and cutting out picture.
7. device as claimed in claim 6, it is characterised in that show that image cropping is related in display interface and perform option;
The load-on module, it is additionally operable to when the execution option for detecting triggering is designated as returning upper one, loading caching A upper picture to be cut out;
It is described to cut out module, it is additionally operable to cut out the size of frame according to, scales a upper picture to be cut out, and cut again Picture to be cut out described in sanction;
Removing module, the last time for deleting caching cut out described in picture after cutting out and being cut out corresponding to picture.
8. device as claimed in claim 7, it is characterised in that the module of cutting out includes:
Acquisition submodule is identified, for identifying the most short side of current picture to be cut out, and obtains the length of side of most short side;
Submodule is scaled, for by default scaling multiple, the length value and width value of the current picture to be cut out of uniform zoom, with Make the length of side of the most short side of the current picture to be cut out equal with the length of side for cutting out frame;
Wherein, the scaling multiple is the ratio for cutting out the frame length of side and the currently length of side of the most short side of picture to be cut out.
9. device as claimed in claim 8, it is characterised in that
Described device also includes:
Judge module, for judge it is to be loaded described in picture to be cut out source;
The load-on module, if it is local picture to be additionally operable to the picture to be cut out to be loaded, load described to be loaded Picture to be cut out;
Described device also includes:
Output module, if being network picture for the picture to be cut out to be loaded, output loading prompt message;
The load-on module, it is additionally operable to when the output module exports loading prompt message, loading is described to be loaded to wait to cut Cut out picture;
Described device also includes:
Adjusting module, in tailoring process, when detecting two fingers respectively in the predeterminated position of the picture to be cut out When performing preset scaling gesture, the picture to be cut out is zoomed in and out according to the preset scaling gesture;
The adjusting module, is additionally operable in tailoring process, when detecting that predeterminated position of the finger in the picture to be cut out hold During the preset drag gesture of row, the picture to be cut out is moved to the target location of the dragging finger instruction.
10. a kind of terminal, including:Memory, processor and storage are on a memory and the computer that can run on a processor Program, it is characterised in that the picture batch described in any one of claim 1 to 5 is realized during the computing device described program Cut-out method.
CN201711142200.0A 2017-11-17 2017-11-17 Picture batch cut-out method, device and terminal Pending CN107748636A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711142200.0A CN107748636A (en) 2017-11-17 2017-11-17 Picture batch cut-out method, device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711142200.0A CN107748636A (en) 2017-11-17 2017-11-17 Picture batch cut-out method, device and terminal

Publications (1)

Publication Number Publication Date
CN107748636A true CN107748636A (en) 2018-03-02

Family

ID=61252315

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711142200.0A Pending CN107748636A (en) 2017-11-17 2017-11-17 Picture batch cut-out method, device and terminal

Country Status (1)

Country Link
CN (1) CN107748636A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111273835A (en) * 2020-01-07 2020-06-12 珠海格力电器股份有限公司 Picture processing method and device, storage medium and mobile terminal
CN111309233A (en) * 2020-02-25 2020-06-19 西安闻泰电子科技有限公司 Picture processing method, device, equipment and storage medium
CN111311617A (en) * 2020-03-26 2020-06-19 北京奇艺世纪科技有限公司 Method, device and equipment for cutting dynamic graph and storage medium
CN113656626A (en) * 2021-08-05 2021-11-16 广州创乐出海科技有限公司 Image data storage method and device, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102520865A (en) * 2011-12-19 2012-06-27 深圳桑菲消费通信有限公司 Method for realizing self-adaption image cropping of mobile phone
CN104952027A (en) * 2014-10-11 2015-09-30 腾讯科技(北京)有限公司 Face-information-contained picture cutting method and apparatus
CN106919318A (en) * 2017-03-07 2017-07-04 维沃移动通信有限公司 The method and terminal of a kind of picture processing
CN107092428A (en) * 2016-03-24 2017-08-25 口碑控股有限公司 A kind of picture amending method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102520865A (en) * 2011-12-19 2012-06-27 深圳桑菲消费通信有限公司 Method for realizing self-adaption image cropping of mobile phone
CN104952027A (en) * 2014-10-11 2015-09-30 腾讯科技(北京)有限公司 Face-information-contained picture cutting method and apparatus
CN107092428A (en) * 2016-03-24 2017-08-25 口碑控股有限公司 A kind of picture amending method and device
CN106919318A (en) * 2017-03-07 2017-07-04 维沃移动通信有限公司 The method and terminal of a kind of picture processing

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111273835A (en) * 2020-01-07 2020-06-12 珠海格力电器股份有限公司 Picture processing method and device, storage medium and mobile terminal
CN111309233A (en) * 2020-02-25 2020-06-19 西安闻泰电子科技有限公司 Picture processing method, device, equipment and storage medium
CN111311617A (en) * 2020-03-26 2020-06-19 北京奇艺世纪科技有限公司 Method, device and equipment for cutting dynamic graph and storage medium
CN113656626A (en) * 2021-08-05 2021-11-16 广州创乐出海科技有限公司 Image data storage method and device, computer equipment and storage medium
CN113656626B (en) * 2021-08-05 2023-10-10 广州市创乐信息技术有限公司 Image data storage method, device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109144647B (en) Form design method and device, terminal equipment and storage medium
CN107748636A (en) Picture batch cut-out method, device and terminal
CN111061473A (en) Visual component editing method and device for quickly building page
CN107391914B (en) Parameter display method, device and equipment
CN110020371B (en) Method and device for page layout linkage based on react-native
CN114116098B (en) Application icon management method and device, electronic equipment and storage medium
CN111638839A (en) Screen capturing method and device and electronic equipment
CN115357158A (en) Message processing method and device, electronic equipment and storage medium
CN111597009B (en) Application program display method and device and terminal equipment
CN106294832A (en) Browser page method for caching and processing and device
CN114415886A (en) Application icon management method and electronic equipment
CN104182533B (en) Browser label switching method and device and terminal
CN103744573A (en) Data quick viewing and analyzing system based on graphic device interface
CN110619116A (en) Data processing method, device, terminal and storage medium
CN112306336A (en) Document content display method and device
CN115729412A (en) Interface display method and device
CN108280231A (en) A kind of method and system of current scale that realizing information article details page picture
CN111966259B (en) Screenshot method and device and electronic equipment
CN114518821A (en) Application icon management method and device and electronic equipment
CN112486366A (en) Control display method and device and electronic equipment
CN113190158A (en) Repeated screenshot method and device
CN112882624A (en) Process management method and device, electronic equipment and storage medium
CN111752428A (en) Icon arrangement method and device, electronic equipment and medium
CN115878010B (en) Operation interaction method, device, electronic equipment and computer readable storage medium
CN103164211A (en) Processing device and method enabling archive selection to be convenient

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20180302

WD01 Invention patent application deemed withdrawn after publication