A kind of image processing method and device applied to PowerPointTechnical field
This application involves field of computer technology more particularly to a kind of image processing methods and dress applied to PowerPointIt sets.
Background technique
With the popularization and development of number office and education, PowerPoint is increasingly used in the work and of peopleIn habit.However, PowerPoint software is being utilized at present, such as the PowerPoint of Microsoft and the Keynote system of Apple Inc.When making PowerPoint, need being directed to every lantern slide one by one to be respectively that it is inserted into corresponding image.For example, user production by10 slide groups at PowerPoint when, be if desired that 5 lantern slides therein are inserted into one or more image, then must be byOne selectes and is inserted into its corresponding image for every lantern slide for needing to be inserted into image, and operating process is complicated, a production essenceThe PowerPoint of beauty usually requires to expend user's a large amount of Production Time.
Summary of the invention
In order to solve prior art problem, the embodiment of the present application provides a kind of image processing method applied to PowerPointImage can be quickly and easily inserted into corresponding lantern slide by method and device, realize the quick insertion of image, solve demonstrationThe production of manuscript the problem of time-consuming, improve the manufacturing speed of PowerPoint.
A kind of image processing method applied to PowerPoint provided by the embodiments of the present application, which comprises
Obtain image inserting instruction;Described image inserting instruction carries image to be processed;
When the quantity of the image to be processed of carrying is greater than for the moment, a newly-built at least lantern slide simultaneously will be described to be processedImage is inserted into the lantern slide.
Optionally, described image inserting instruction also carries insertion rule;A newly-built at least lantern slide simultaneously will be describedImage to be processed is inserted into the lantern slide, specifically:
According to the insertion rule, the image to be processed is simultaneously inserted into the lantern slide by a newly-built at least lantern slide.
Optionally, described to create an at least lantern slide and the image to be processed is inserted into the lantern slide, it specifically includes:
Newly-built M lantern slides;
The N images to be processed are inserted into a newly-built lantern slide;
Wherein, M and N is the integer more than or equal to 1, described image inserting instruction at least carry M × N it is described wait locateImage is managed, when described image inserting instruction carries insertion rule, the insertion rule includes M and/or N.
Optionally, the acquisition image inserting instruction, specifically includes:
It is inserted into and requests in response to image, control image is inserted into interface display, so that user is inserted into interface by described imageThe image of selection expectation insertion;
User is received in the described image insertion image that select of interface as the image to be processed, it is slotting to obtain described imageEnter instruction.
Optionally, the acquisition image inserting instruction, specifically includes:
It is inserted into and requests in response to image, control image is inserted into interface display, so that user is inserted into interface by described imageThe image and insertion rule of selection expectation insertion;
User is received in the image that selects of described image insertion interface as the image to be processed, the regular conduct of typingThe insertion rule, obtains described image inserting instruction.
Optionally, when the amount of images being inserted into is 1, the method also includes:
A lantern slide is created, and the image to be processed is inserted into the lantern slide;
Alternatively, by the lantern slide where the image insertion current operation focus to be processed.
Optionally, the image to be processed is inserted into lantern slide, specifically included:
Picture control is generated in the lantern slide;Any one in the size of the picture control, position and directionOr it is multiple adjustable;
The image to be processed is shown in the picture control.
A kind of image processing apparatus applied to PowerPoint provided by the embodiments of the present application, comprising: obtain module, judgementModule and processing module;
The acquisition module, for obtaining image inserting instruction;Described image inserting instruction carries image to be processed;
The judgment module, for judging whether the quantity of image to be processed of described image inserting instruction carrying is 1;
The quantity of the processing module, the image to be processed for carrying when judgment module judgement is greater than oneWhen, the image to be processed is simultaneously inserted into the lantern slide by a newly-built at least lantern slide.
The embodiment of the present application also provides a kind of computer program products, when it runs at the terminal, so that the endEnd executes the image processing method applied to PowerPoint as described in above-mentioned any embodiment.
The embodiment of the present application also provides a kind of terminal devices, comprising: memory, processor and system bus;
The memory is connected with the processor through the system bus;
The memory, for storing one or more programs, which includes instruction, when the instruction quiltWhen the processor executes, execute the processor at the image applied to PowerPoint as described in above-mentioned any embodimentReason method.
Compared with prior art, the application has at least the following advantages:
In the embodiment of the present application, image inserting instruction is obtained first, obtains the figure to be processed that expectation is inserted into lantern slidePicture.Then, when there is multiple images to be processed for needing to be inserted into lantern slide, in PowerPoint create lantern slide, and by theseImage to be processed is inserted into newly-built lantern slide, can batch multiple images will be inserted into PowerPoint, without being one by oneEach lantern slide is inserted into corresponding image, simplifies the production process of PowerPoint, when having saved needed for production PowerPointBetween.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show belowThere is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only thisThe some embodiments recorded in application, for those of ordinary skill in the art, without creative efforts,It can also be obtained according to these attached drawings other attached drawings.
Fig. 1 is a kind of flow diagram of the image processing method applied to PowerPoint provided by the embodiments of the present application;
Fig. 2 is a kind of structural schematic diagram of the image processing apparatus applied to PowerPoint provided by the embodiments of the present application.
Specific embodiment
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present applicationAttached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only thisApply for a part of the embodiment, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art existEvery other embodiment obtained under the premise of creative work is not made, shall fall in the protection scope of this application.
In order to make it easy to understand, introducing the concrete application scene of the embodiment of the present application first below.
Image processing method and device provided by the embodiments of the present application applied to PowerPoint, the system for PowerPointMake process.PowerPoint refers to the file that can be realized dynamic view that static file is fabricated to, and not only includes lantern slideThe suffix of composition is the file of .ppt or .pptx etc., can also include the video file being made of multiple frames.PowerPoint is multipleMiscellaneous problem becomes easy-to-understand, is allowed to more lively.The PowerPoint of complete set generally comprises: the beginning animation, PPT envelopeFace, foreword, catalogue, transition page, chart page, picture page, text page, back cover, run-out animation etc..Currently, common PowerPointSoftware for producing such as PowerPoint, Keynote and WPS etc..PowerPoint has generally comprised multiple lantern slides (slide), is regardingIt is known as frame in frequency, the objects such as text, image, link can be inserted in every lantern slide (or frame), each object can respectively haveThere is corresponding animation effect.Can also have animation transition effect between two lantern slides (or frame).The production of PowerPoint refers toBe exactly the process for making lantern slide.Below with by slide group at PowerPoint be illustrated, the realization of other scenesMode is similar, and referring specifically to following related description, which is not described herein again.
Currently, if desired the insert pictures in wherein several lantern slides, then need for every when making PowerPointLantern slide is inserted into corresponding image one by one for it.For example, it is desired on second to the 5th every lantern slide of PowerPointWhen being inserted into image, then second to the 5th lantern slide must be edited one by one, be inserted into corresponding image, operation for itProcess is cumbersome, and leading to the production of PowerPoint, time-consuming.
For this purpose, the embodiment of the present application provides a kind of image processing method applied to PowerPoint, can batch beMultiple lantern slides are inserted into corresponding image, when obtaining multiple images to be processed of expectation insertion, create multiple lantern slides and willImage to be processed is inserted into the lantern slide, directly obtains multiple lantern slides for being plugged image, the time needed for reducing image insertion, contractingThe production of short PowerPoint is time-consuming, improves working efficiency.
Based on above-mentioned thought, in order to make the above objects, features, and advantages of the present application more apparent, below with reference toAttached drawing is described in detail the specific embodiment of the application.
Referring to Fig. 1, which is a kind of stream of image processing method applied to PowerPoint provided by the embodiments of the present applicationJourney schematic diagram.
Image processing method provided by the embodiments of the present application applied to PowerPoint, includes the following steps S101-S102.
S101: image inserting instruction is obtained.
In the embodiment of the present application, image inserting instruction carries one or more image to be processed;Or image insertion refers toThe address for carrying image to be handled or mark are enabled, to obtain the image to be processed.
In some possible implementations of the embodiment of the present application, step S101 can specifically include following steps S1011-S1012。
S1011: being inserted into response to image and request, and control image is inserted into interface display, so that user is inserted into boundary by imageThe image of face selection expectation insertion.
In the embodiment of the present application, in order to facilitate user choose expectation insertion image, can will on local or cloud allImage is shown to user for its selection, all images in address can also will be specified to be shown to user for it on local or cloudSelection, image are inserted into the filename or thumbnail that can be image shown in interface, and the embodiment of the present application is not done this specificallyIt limits.
In practical application, image insertion interface may be displayed on terminal used in PowerPoint editor (such as mobile phone, computerDeng) on, it can also be shown on the display screen being connect with the terminal, such as external-connection displayer of mobile phone etc..
S1012: receiving user in the image insertion image that select of interface as image to be processed, obtains image and is inserted into and refers toIt enables.
In practical application, the modes such as user can be clicked by finger touch or mouse are inserted into choose in interface from image to be schemedPicture clicks image that determining user selects as image to be processed in response to user.In some possible designs, Ke YiRecord user is to the selecting sequence of image when receiving user's selection, can be with so as to when the subsequent image to selection is inserted intoIt is inserted into one by one according to the selecting sequence of user, the insertion sequence of image is made to be more in line with the expection of user, improved at imageThe quality of reason, production of more convenient user to PowerPoint.
In some possible implementations of the embodiment of the present application, in order to more easily be inserted into user in lantern slideImage can also be obtained ahead of time the desired inserted mode of user, such as be inserted into multiple images in a lantern slide, then image is insertedEnter and also carry the insertion rule for indicating the desired inserted mode of user in instruction, step S101 can specifically include following stepsS1013-S1014。
S1013: being inserted into response to image and request, and control image is inserted into interface display, so that user is inserted into boundary by imageThe image and insertion rule of face selection expectation insertion.
In the embodiment of the present application, image insertion interface with it is above-mentioned similar, in addition to this, user can also utilize imageIt is inserted into the insertion rule of interface selection image, such as the array format etc. for the amount of images, image being inserted into every lantern slide.InIn practical application, image insertion interface can be one or more, can be multiple and different boundaries according to different function divisionsFace, the embodiment of the present application are not specifically limited in this embodiment.
S1014: user is received in the image insertion image that select of interface as image to be processed, the rule of typing is as slottingEnter rule, obtains image inserting instruction.
Step S1014 is similar with step S1012, referring specifically to related description above, repeats no more.
S102: when multiple images to be processed that image inserting instruction carries, a newly-built at least lantern slide simultaneously will be wait locateReason image is inserted into the lantern slide.
In practical application, newly-built lantern slide can be inserted into after the page where current operation focus, it can also beNewly-built lantern slide after existing lantern slide.It, can be according to the user's choice to newly-built lantern slide in some possible designsPosition specifically set.In some possible implementations, multiple images to be processed can also be directly inserted in and be worked asIn lantern slide where preceding operation focus.
In the embodiment of the present application, can once multiple lantern slides be inserted directly into different lantern slides, the progress of batchThe edit session of user has been saved in the insertion of image.
In some possible implementations of the embodiment of the present application, when image inserting instruction carries insertion rule, stepRapid S102 can specifically include:
When multiple images to be processed that image inserting instruction carries, simultaneously according to the newly-built at least lantern slide of insertion ruleImage to be processed is inserted into the lantern slide.
In the embodiment of the present application, insertion rule may include inserting in newly-built number of slides and/or every lantern slideThe amount of images etc. entered.
In some possible designs, image to be processed is simultaneously inserted into the lantern slide by a newly-built at least lantern slide, specificallyMay include:
Newly-built M lantern slides;N images to be processed are inserted into a newly-built lantern slide;
Wherein, M and N is the integer more than or equal to 1, and image inserting instruction at least carries M × N images to be processed.
For example, when carrying 6 images to be processed in image inserting instruction in one example, 6 magic lanterns can be createdPiece is inserted into an image in every newly-built lantern slide respectively;In another example, 3 lantern slides can be created, respectivelyTwo images are inserted into every newly-built lantern slide;In another example, 2 lantern slides can also be created, respectively everyIt opens and is inserted into three images in lantern slide;And so on.When it is implemented, can be according to the actual situation to newly-built number of slidesAnd the amount of images being inserted into every lantern slide is specifically set, the embodiment of the present application is not construed as limiting this.Work as imageIt, can be according in the number of slides and every lantern slide that the specified determination of user creates when inserting instruction carries insertion ruleThe amount of images of insertion.The specified insertion rule that can be image inserting instruction in carrying of the user.
In some possible implementations of the embodiment of the present application, production in order to facilitate user to PowerPoint, willWhen image insertion lantern slide to be processed, image to be processed can be shown in picture control, the size of the picture control, positionIt is adjustable with any one or more in direction.
Then, step S102 can specifically include following steps:
Picture control is generated in lantern slide;Any one or more in the size of picture control, position and direction canIt adjusts;Image to be processed is shown in picture control.
When it is implemented, can by adjusting size, the position and direction etc. of picture control, to the image wherein shown intoEdlin makes the image shown in lantern slide be more in line with the expectation of user, simplifies the edit operation of user, shortens presentation fileProduction Time.
In some possible implementations of the embodiment of the present application, when image inserting instruction only carries a figure to be processedWhen picture, can also include: after step S101
A lantern slide is created, and the image to be processed is inserted into newly-built lantern slide;Alternatively, by the figure to be processedAs in the lantern slide where insertion current operation focus.
It is understood that the process of newly-built lantern slide and the process and above-mentioned related content of image insertion lantern slideSimilar, referring specifically to related description, which is not described herein again.
In the embodiment of the present application, image inserting instruction is obtained first, obtains the figure to be processed that expectation is inserted into lantern slidePicture.Then, when there is multiple images to be processed for needing to be inserted into lantern slide, in PowerPoint create lantern slide, and by theseImage to be processed is inserted into newly-built lantern slide, can batch multiple images will be inserted into PowerPoint, without being one by oneEach lantern slide is inserted into corresponding image, simplifies the production process of PowerPoint, when having saved needed for production PowerPointBetween.
The image processing method applied to PowerPoint provided based on the above embodiment, the embodiment of the present application also providesA kind of image processing apparatus applied to PowerPoint.
Referring to fig. 2, which is a kind of knot of image processing apparatus applied to PowerPoint provided by the embodiments of the present applicationStructure schematic diagram.
Image processing apparatus provided by the embodiments of the present application applied to PowerPoint, comprising: obtain module 100, judgementModule 200 and processing module 300;
Module 100 is obtained, for obtaining image inserting instruction;Image inserting instruction carries image to be processed;
Judgment module 200, for judging whether the quantity of image to be processed of image inserting instruction carrying is 1;
First processing module 300, the quantity of the image to be processed for carrying when the judgement of judgment module 200 are greater than for the moment,Image to be processed is simultaneously inserted into the lantern slide by a newly-built at least lantern slide.
In some possible implementations, image inserting instruction also carries insertion rule;Then, first processing module 300,It is specifically used for:
According to insertion rule, image to be processed is simultaneously inserted into the lantern slide by a newly-built at least lantern slide.
In some instances, first processing module can specifically include: newly-built submodule and insertion submodule;
Newly-built submodule, for creating M lantern slides;
It is inserted into submodule, for N images to be processed to be inserted into a newly-built lantern slide;
Wherein, M and N is the integer more than or equal to 1, and image inserting instruction at least carries M × N images to be processed,When image inserting instruction carries insertion rule, insertion rule includes N.
As an example, it is inserted into submodule, specifically can be used for:
Picture control is generated in lantern slide;Any one or more in the size of picture control, position and direction canIt adjusts;Image to be processed is shown in picture control.
In some possible implementations, module is obtained, can specifically include: display sub-module and receiving submodule;
Display sub-module is requested for being inserted into response to image, and control image is inserted into interface display, so that user passes through figureAs the image of insertion interface selection expectation insertion;
Receiving submodule is schemed for receiving user in the image that selects of image insertion interface as image to be processedAs inserting instruction.
In other possible implementations, display sub-module 101 is requested, control figure for being inserted into response to imageAs insertion interface display, so that user is inserted into the image and insertion rule of interface selection expectation insertion by image;Receive submoduleBlock 102, for receiving user in the image insertion image that select of interface as image to be processed, the rule of typing is advised as insertionThen, image inserting instruction is obtained.
In some possible implementations, the image procossing provided by the embodiments of the present application applied to PowerPoint is filledIt sets, comprising: Second processing module 400;When the quantity for the image to be processed that the judgement of judgment module 200 carries is greater than triggering for the momentFirst processing module 300 or Second processing module 400.
First processing module 300 is also used to create a lantern slide, and image to be processed is inserted into the lantern slide;
Second processing module 400, for by image to be processed be inserted into current operation focus where lantern slide.
In the embodiment of the present application, image inserting instruction is obtained first, obtains the figure to be processed that expectation is inserted into lantern slidePicture.Then, when there is multiple images to be processed for needing to be inserted into lantern slide, in PowerPoint create lantern slide, and by theseImage to be processed is inserted into newly-built lantern slide, can batch multiple images will be inserted into PowerPoint, without being one by oneEach lantern slide is inserted into corresponding image, simplifies the production process of PowerPoint, when having saved needed for production PowerPointBetween.
The image processing method and device applied to PowerPoint provided based on the above embodiment, the embodiment of the present application is alsoA kind of computer program product is provided, when it runs at the terminal, so that terminal is executed as above-mentioned any embodiment mentionsThe image processing method applied to PowerPoint supplied.
The image processing method and device applied to PowerPoint provided based on the above embodiment, the embodiment of the present application is alsoProvide a kind of terminal device, comprising: memory, processor and system bus;
Memory is connected with processor through system bus;
Memory, for storing one or more programs, which includes instruction, when the instruction is processedWhen device executes, processor is made to execute the image processing method for being applied to PowerPoint as provided by above-mentioned any embodiment.
It should be noted that each embodiment in this specification is described in a progressive manner, each embodiment emphasis is saidBright is the difference from other embodiments, and the same or similar parts in each embodiment may refer to each other.For realityFor applying device disclosed in example, since it is corresponded to the methods disclosed in the examples, so description is fairly simple, related place ginsengSee method part illustration.
It should also be noted that, herein, relational terms such as first and second and the like are used merely to oneEntity or operation are distinguished with another entity or operation, without necessarily requiring or implying between these entities or operationThere are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant are intended to containLid non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including thoseElement, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipmentIntrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded thatThere is also other identical elements in process, method, article or equipment including the element.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processorThe combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only depositReservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technologyIn any other form of storage medium well known in field.
The above is only the preferred embodiment of the application, not makes any form of restriction to the application.ThoughRight the application has been disclosed in a preferred embodiment above, however is not limited to the application.It is any to be familiar with those skilled in the artMember, in the case where not departing from technical scheme ambit, all using the methods and technical content of the disclosure above to the applicationTechnical solution makes many possible changes and modifications or equivalent example modified to equivalent change.Therefore, it is all without departing fromThe content of technical scheme, any simple modification made to the above embodiment of the technical spirit of foundation the application are equalVariation and modification, still fall within technical scheme protection in the range of.