CN108319576A - A kind of method and device generating picture materials - Google Patents
A kind of method and device generating picture materials Download PDFInfo
- Publication number
- CN108319576A CN108319576A CN201710033793.0A CN201710033793A CN108319576A CN 108319576 A CN108319576 A CN 108319576A CN 201710033793 A CN201710033793 A CN 201710033793A CN 108319576 A CN108319576 A CN 108319576A
- Authority
- CN
- China
- Prior art keywords
- picture
- target photo
- user
- interface
- editing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Processing Or Creating Images (AREA)
Abstract
An embodiment of the present invention provides a kind of method and device generating picture materials, this method includes:When receiving the request of user's operation destination document, picture region selection interface corresponding with first request is shown;The destination document is the document edited needed for user, and first request is the request that user adds picture in the editing area of the destination document;Receive the Target Photo that user is obtained by the picture region selection interface;The Target Photo is that user needs the picture added in the editing area of the destination document;When receiving user and editing the edit requests of the Target Photo, the Target Photo and stored at least one graphic template material are shown;From at least one graphic template selection of materials any picture template material the corresponding picture materials of the Target Photo are generated in the editing area.Using the embodiment of the present invention, the efficiency that user edits document can be improved.
Description
Technical field
The present invention relates to picture Processing Technique fields, more particularly to a kind of method and device generating picture materials.
Background technology
Picture materials are usually used in webpage design, poster design and all kinds of printed advertising materials etc..In general, user is in editor's net
Page, poster and the corresponding document of all kinds of printed advertising materials, for example, user edit Word (a kind of word processor application),
WPS Office (Word Processing System Office, copy editor's system), PPT (PowerPoint, demonstration text
Original text software) and when the documents such as Excel (Table edit system), need to be inserted into some picture materials in the document edited.
Currently, insert pictures material in a document, there are two types of modes:
The first, user can call camera-enabled to shoot picture in document, and be passed through obtained picture is shot
It crosses professional picture beautification tool (for example, Meitu Xiu Xiu) to modify, generates picture materials, and the picture materials are inserted into document.
Second, user, can be from third party's material database (for example, professional picture materials net, mobile phone figure when editing document
Piece material database etc.) picture materials are obtained, and acquired picture materials are inserted into the document that user is edited.
Both the above mode, can insert pictures material in a document, but user is when editing document, may be in text
It is inserted into plurality of pictures material in shelves, therefore, when above-mentioned first way generates picture materials in a document, needs multiple pictures beautiful
Change APP (Application, application program) or multiple webpages mutually switch so that is cumbersome;And the second way is in document
It after middle insert pictures material, needs to manually adjust picture materials to adapt to the size of editing area, wherein editing area is
The region that picture is inserted into the document.
As it can be seen that the prior art is due to when editing document, being required for from third party (for example, the figure in webpage, terminal device
Valut or picture beautification tool etc.) picture materials are obtained, so user is caused to edit the inefficient of document.
Invention content
The embodiment of the present invention is designed to provide a kind of method and device generating picture materials, is edited with improving user
The efficiency of document.Specific technical solution is as follows:
On the one hand, the embodiment of the invention discloses a kind of methods generating picture materials, are applied to terminal device, including:
In the first request for receiving user's operation destination document, picture region corresponding with first request is shown
Selection interface;The destination document is the document edited needed for user, and first request is user in the destination document
The request of picture is added in editing area;
Receive the Target Photo that user is obtained by the picture region selection interface;The Target Photo needs for user
The picture added in the editing area of the destination document;
When receiving user and editing the edit requests of the Target Photo, the Target Photo and stored is shown
At least one graphic template material;From at least one graphic template selection of materials any picture template material, in the volume
It collects in region, generates the corresponding picture materials of the Target Photo.
Optionally, display picture region selection interface corresponding with first request, including:
When detecting editing interface addition picture of the user in the destination document, the editing interface is switched to figure
Panel region selection interface, the editing interface are the interface of destination document where the editing area.
Optionally, the Target Photo for receiving user and being obtained by the picture region selection interface, including:
Obtain the picture region that user selects in the picture region selection interface, wherein the picture region is institute
State the picture region where Target Photo;
For the picture region of user's selection, show that the corresponding picture of the picture region obtains interface;
User is obtained into the picture that selects of interface as the Target Photo in the picture.
Optionally, the picture region for user's selection shows that the corresponding picture of the picture region obtains interface,
Including:
When detecting that user selects any picture region of the picture region selection interface, the picture region is selected
It is that picture obtains interface to select changing interface;
Wherein, picture acquisition interface is:Terminal device calls the interface that video camera is taken pictures;Alternatively, the figure
Piece obtains interface:Include the interface of an at least pictures;Alternatively, picture acquisition interface is:Preset Web page picture library,
Wherein, the Web page picture library includes an at least pictures.
Optionally, described when receiving user and editing the edit requests of the Target Photo, show the Target Photo,
And stored at least one graphic template material, including:
When detect user the picture obtain interface in, when editing the Target Photo, in the editing area
It shows the selected Target Photo of user, stored at least one graphic template material is shown in the editing interface.
Optionally, described when detecting user in the picture obtains interface, when editing the Target Photo, described
The selected Target Photo of user is shown in editing area, including:
When detect user the picture obtain interface in, when editing the Target Photo, obtain the editing area
Size attribute and the Target Photo size attribute, wherein the size attribute includes:Length attribute and width attribute;
The size attribute of the Target Photo is adjusted to the size attribute of the editing area, and in the editing area
Target Photo after middle display adjustment.
Optionally, the method further includes:
User is being received in the picture obtains interface, when the preview request of Target Photo described in preview, is obtaining institute
State the size attribute of editing area and the size attribute of the Target Photo, wherein the size attribute includes:Length attribute and
Width attribute;
The size attribute of the Target Photo is adjusted to the size attribute of the editing area, and in the editing area
Target Photo after middle display adjustment.
Optionally, described from least one graphic template selection of materials any picture template material, in the editor
In region, the corresponding picture materials of the Target Photo are generated, including:
When detecting that user selects any picture template material at least one graphic template material, by user
Selected graphic template material is merged with the Target Photo, in the editing area, generates the Target Photo
Corresponding picture materials.
Optionally, described after the Target Photo that the reception user is obtained by the picture region selection interface
Method further includes:
When receiving user and editing the edit requests of the Target Photo, in the editing area, selected according to user
The selection frequency for selecting the graphic template material will select the maximum graphic template material of frequency to merge with the Target Photo,
Generate the corresponding picture materials of the Target Photo.
On the other hand, the embodiment of the invention also discloses a kind of devices generating picture materials, are applied to terminal device, packet
It includes:
First display unit, in the first request for receiving user's operation destination document, showing and described first
Ask corresponding picture region selection interface;The destination document is the document edited needed for user, and first request is to use
The request of picture is added in the editing area of the destination document in family;
Receiving unit, the Target Photo obtained by the picture region selection interface for receiving user;The target
Picture is that user needs the picture added in the editing area of the destination document;
Second display unit, for when receiving user and editing the edit requests of the Target Photo, showing the mesh
It marks on a map piece and stored at least one graphic template material;
First generation unit is used for from least one graphic template selection of materials any picture template material, in institute
It states in editing area, generates the corresponding picture materials of the Target Photo.
Optionally, first display unit is used for,
When detecting editing interface addition picture of the user in the destination document, the editing interface is switched to figure
Panel region selection interface, the editing interface are the interface of destination document where the editing area.
Optionally, the receiving unit includes:
First acquisition subelement, the picture region selected in the picture region selection interface for obtaining user,
In, the picture region is the picture region where the Target Photo;
First display subelement shows the corresponding picture of the picture region for the picture region for user's selection
Obtain interface;
Subelement is handled, for user to be obtained the picture that selects of interface as the Target Photo in the picture.
Optionally, the first display subelement is specifically used for,
When detecting that user selects any picture region of the picture region selection interface, the picture region is selected
It is that picture obtains interface to select changing interface;
Wherein, picture acquisition interface is:Terminal device calls the interface that video camera is taken pictures;Alternatively, the figure
Piece obtains interface:Include the interface of an at least pictures;Alternatively, picture acquisition interface is:Preset Web page picture library,
Wherein, the Web page picture library includes an at least pictures.
Optionally, second display unit is specifically used for,
When detect user the picture obtain interface in, when editing the Target Photo, in the editing area
It shows the selected Target Photo of user, stored at least one graphic template material is shown in the editing interface.
Optionally, second display unit includes:
Second obtains subelement, detects that user in the picture obtains interface, edits the Target Photo for working as
When, obtain the size attribute of the editing area and the size attribute of the Target Photo, wherein the size attribute includes:
Length attribute and width attribute;
Second display subelement, the size category for the size attribute of the Target Photo to be adjusted to the editing area
Property, and the Target Photo after adjustment is shown in the editing area.
Optionally, second display unit further includes:
Third obtains subelement, for receiving user in the picture obtains interface, Target Photo described in preview
Preview request when, obtain the size attribute of the editing area and the size attribute of the Target Photo, wherein the size
Attribute includes:Length attribute and width attribute;
Third shows subelement, the size category for the size attribute of the Target Photo to be adjusted to the editing area
Property, and the Target Photo after adjustment is shown in the editing area.
Optionally, first generation unit is specifically used for,
When detecting that user selects any picture template material at least one graphic template material, by user
Selected graphic template material is merged with the Target Photo, in the editing area, generates the Target Photo
Corresponding picture materials.
Optionally, described device further includes:
Second generation unit, for when receiving user and editing the edit requests of the Target Photo, in the editor
In region, the selection frequency of the graphic template material is selected according to user, will select the maximum graphic template material of frequency with
The Target Photo merges, and generates the corresponding picture materials of the Target Photo.
A kind of method and device generating picture materials provided in an embodiment of the present invention, this method include:Receiving use
When family operates the first request of destination document, picture region selection interface corresponding with the first request is shown, receive user and pass through
The Target Photo that picture region selection interface obtains shows the mesh when receiving user and editing the edit requests of Target Photo
It marks on a map piece and stored at least one graphic template material, from least one graphic template selection of materials any picture template
Material generates the corresponding picture materials of the Target Photo in editing area.In the embodiment of the present invention, user is being received
When editing the edit requests of Target Photo, by stored graphic template material, the Target Photo is edited, ultimately generates the mesh
The corresponding picture materials of piece of marking on a map, in this way, when user edits destination document, need not be beautified by other professional pictures tools come
Editing objective picture can generate the corresponding picture materials of Target Photo in the destination document edited, reduce multiple
Switching between APP simplifies the operation of editing picture in document, to improve the efficiency that user edits document.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
Obtain other attached drawings according to these attached drawings.
A kind of a kind of flow chart of the method for generation picture materials that Fig. 1 is provided by the embodiment of the present invention;
In the method for the generation picture materials that Fig. 2 is provided by the embodiment of the present invention, editing interface schematic diagram;
In the method for the generation picture materials that Fig. 3 is provided by the embodiment of the present invention, a kind of picture region selection interface
Schematic diagram;
In the method for the generation picture materials that Fig. 4 is provided by the embodiment of the present invention, another picture region selection interface
Schematic diagram;
In the method for the generation picture materials that Fig. 5 is provided by the embodiment of the present invention, a kind of picture obtains the signal at interface
Figure;
In the method for the generation picture materials that Fig. 6 is provided by the embodiment of the present invention, the signal of graphic template material is selected
Figure;
In the method for the generation picture materials that Fig. 7 is provided by the embodiment of the present invention, the schematic diagram of the picture materials of generation;
A kind of another flow chart of the method for generation picture materials that Fig. 8 is provided by the embodiment of the present invention;
A kind of structural schematic diagram of the device for the generation picture materials that Fig. 9 is provided by the embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
In order to improve the efficiency that user edits document, an embodiment of the present invention provides it is a kind of generate picture materials method and
Device.
Be provided for the embodiments of the invention first below it is a kind of generate picture materials method be introduced.
Wherein, a kind of method for generation picture materials that the embodiment of the present invention is provided is applied to terminal device, the terminal
Equipment may include:The terminal devices such as smart mobile phone, tablet computer, laptop, this is all reasonable.
As shown in Figure 1, a kind of method for generation picture materials that the embodiment of the present invention is provided, may include walking as follows
Suddenly:
S101 shows figure corresponding with first request in the first request for receiving user's operation destination document
Panel region selection interface;
Wherein, the destination document is the document edited needed for user, and first request is user in target text
The request of picture is added in the editing area of shelves;
In order to achieve the object of the present invention, the destination document in the embodiment of the present invention may include:Word、WPS
Office, PPT and Excel etc..
It is understood that when receiving user in destination document and adding the request of picture, shown in destination document
Show the picture region selection interface corresponding to the request.The request that user adds picture in destination document can be scheduled behaviour
Make, which may include:It double-clicks, click, sliding or voice control etc., but not limited to this.
Specifically, corresponding with first request picture region selection interface of the display, including:
When detecting editing interface addition picture of the user in the destination document, editing interface is switched to picture region
Domain selection interface;
For example, as shown in Fig. 2, in the method for the generation picture materials that the embodiment of the present invention is provided, editing interface
Schematic diagram, wherein when detecting user in the editing interface of destination document, when adding picture 201, editing interface is switched
For picture region selection interface, as shown in figure 3, in the method for the generation picture materials that the embodiment of the present invention is provided, Yi Zhongtu
Panel region selection interface schematic diagram, as shown in figure 4, in the method for the generation picture materials that the embodiment of the present invention is provided, it is another
Kind picture region selection interface schematic diagram.It is understood that when detecting that user adds in the editing interface of destination document
When picture 201, editing interface shown in Fig. 2 is switched to picture region selection interface shown in Fig. 3, or will be shown in Fig. 2
Editing interface is switched to picture region selection interface shown in Fig. 4.
Wherein, the editing interface is the interface of destination document where the editing area.For example, Fig. 2 shows editors
Region 202, it is to be understood that detect that user needs to add Target Photo in editing area 202.
S102 receives the Target Photo that user is obtained by the picture region selection interface;
Wherein, the Target Photo is that user needs the picture added in the editing area of the destination document;
When user edits destination document, it usually needs add background in destination document, that is, in destination document
Target Photo is added, either Target Photo is added in the pre-determined text frame in destination document or presumptive area, then needs to select
A pictures are selected as Target Photo.It should be noted that user can add one or plurality of pictures in destination document
Destination document is edited, to increase the readability of destination document, improves the experience that user watches destination document.
Specifically, the Target Photo for receiving user and being obtained by the picture region selection interface, including:
Obtain the picture region that user selects in the picture region selection interface, wherein the picture region is institute
State the picture region where Target Photo;
For the picture region of user's selection, show that the corresponding picture of the picture region obtains interface;
User is obtained into the picture that selects of interface as the Target Photo in the picture.
For example, Fig. 3 and Fig. 4 is two kinds of picture region selection interfaces, wherein in picture region selection interface shown in Fig. 3
Including:First picture region 303 and second picture region 304, wherein the expression of the first picture region 303 can call camera
Target Photo is obtained, second picture region 304 includes a pictures, and the picture in Fig. 3 is Target Photo, in practical application
In, second picture region 304 may include an at least pictures, select a pictures as target figure in an at least pictures
Piece.
Picture region selection interface shown in Fig. 4 includes:First picture region 301, second picture region 401, third
Picture region 402, wherein when user selects the first picture region 301, the camera-enabled of terminal device can be called to obtain
Picture is taken, terminal device can be called when user selects second picture region 401 using obtained picture as Target Photo
Picture library, select a pictures as Target Photo in the picture library, can when user selects third picture region 402
With invoking web page picture library, and a pictures are obtained as Target Photo in Web page picture library.
Specifically, the picture region for user's selection, shows that the corresponding picture of the picture region obtains interface,
Including:
When detecting that user selects any picture region of the picture region selection interface, the picture region is selected
It is that picture obtains interface to select changing interface;
Wherein, picture acquisition interface is:Terminal device calls the interface that video camera is taken pictures;Alternatively, the figure
Piece obtains interface:Include the interface of an at least pictures;Alternatively, picture acquisition interface is:Preset Web page picture library,
Wherein, the Web page picture library includes an at least pictures.
By taking Fig. 4 as an example, when detect user select picture region selection interface in second picture region 401, that is,
When detecting that user selects " picture library of terminal device " and " determination " 403, picture region selection interface is switched to terminal and is set
Picture where standby picture library obtains interface, as shown in figure 5, it includes 20 pictures that the picture, which obtains interface, in practical applications,
Second picture region 401 may include the picture of any amount, when detecting that user selects the in picture region selection interface
When two picture regions 401, any pictures in terminal device can be selected as Target Photo.
S103 shows the Target Photo and has deposited when receiving user and editing the edit requests of the Target Photo
At least one graphic template material of storage;
For example, when terminal device receive user select Fig. 4 picture or Fig. 5 picture 3 after, detect user list
Hit, double-click editor 301 in either voice control Fig. 4 either editor 301 in Fig. 5 when by the boundary shown by Fig. 4 or Fig. 5
Face is switched to the editing interface of destination document, and shows the selected Target Photo of user in editing area.
Specifically, when detecting user in the picture obtains interface, when editing the Target Photo, in the editor
The selected Target Photo of user is shown in region, and stored at least one graphic template element is shown in the editing interface
Material.
For example, shown in Fig. 6, when detecting that user edits Target Photo, shows the picture of Fig. 4 in editing area, compiling
The parallel beneath of editing interface shows that stored graphic template material, Fig. 6 show that multiple graphic template materials, user can lead to
The screen for crossing sliding terminal device selects a graphic template material.Graphic template material can be shown in editor circle in many ways
In face (such as vertically displayed and parallel display etc.), but editing area cannot be covered.
Specifically, it is described when detecting user in the picture obtains interface, when editing the Target Photo, described
The selected Target Photo of user is shown in editing area, including:
When detecting user in the picture obtains interface, (for example, detecting that user compiles when editing the Target Photo
When collecting 301 Target Photo), obtain the size attribute of the editing area and the size attribute of the Target Photo, wherein described
Size attribute includes:Length attribute and width attribute;
The size attribute of the Target Photo is adjusted to the size attribute of the editing area, and in the editing area
Target Photo after middle display adjustment.
In general, the size attribute of editing area and the size attribute of Target Photo may differ, it is therefore desirable to by target
The size attribute of picture is adjusted to the size attribute of editing area, for example, the length attribute when editing area is:3 centimetres, broadband
Attribute is:2 centimetres, the length attribute of Target Photo is:4 centimetres, width attribute is 3 centimetres, then by the length category of Target Photo
Property 4 centimetres and 3 centimetres of width attribute adjust separately as 2 centimetres of 3 centimetres of length attribute and width attribute.This way it is not necessary to user
The size of adjustment Target Photo is gone to adapt to the size of editing area manually so as to add target figure in editing area
When piece, Target Photo can be automatically adjusted to the required editing area being inserted into.
In addition, receiving user in the picture obtains interface, when the preview request of Target Photo described in preview, obtain
Take the size attribute of the editing area and the size attribute of the Target Photo, wherein the size attribute includes:Length category
Property and width attribute;
The size attribute of the Target Photo is adjusted to the size attribute of the editing area, and in the editing area
Target Photo after middle display adjustment.
For example, being obtained in interface to picture shown in fig. 5 when receive user, (for example, connecing when the preview request of picture 3
When receiving user and selecting preview 302), obtain the size attribute of the size attribute and picture 3 of editing area, and by the ruler of picture 3
Very little Attribute tuning is the size attribute of editing area.
S104, from least one graphic template selection of materials any picture template material, in the editing area,
Generate the corresponding picture materials of the Target Photo.
In general, graphic template material is pre-stored in the graphic template material database of terminal device, user is being detected
When editing Target Photo, it is that be pre-stored within destination document corresponding to call graphic template material database or graphic template material
In application program, when detecting that user edits Target Photo, the graphic template element in the application program of the destination document is called
Material library, and show graphic template material.
Specifically, when detecting that user selects any picture template material at least one graphic template material
When, the selected graphic template material of user is merged with the Target Photo, in the editing area, described in generation
The corresponding picture materials of Target Photo.
For example, shown in Fig. 6, when detecting that user selects " replacing sky animation wind " 603 in all graphic template materials
When corresponding graphic template material, that is, the graphic template material merged with the Target Photo in editing area, is somebody's turn to do
The corresponding picture materials of Target Photo.
In addition, when detecting that user cancels 602 selected graphic template material, picture materials will return to Fig. 3 or figure
5, when detecting when user determines 601 selected graphic template, the corresponding picture element of Target Photo will be generated in editing area
Material, and Fig. 6 is switched to editing interface shown in Fig. 7.
In the embodiment of the present invention, when receiving user and editing the edit requests of Target Photo, pass through stored picture
Template material edits the Target Photo, ultimately generates the corresponding picture materials of the Target Photo, in this way, user edits target text
When shelves, tool need not be beautified come editing objective picture, in the destination document edited by other professional pictures
The corresponding picture materials of Target Photo are generated, reduces the switching between multiple APP, simplifies the behaviour of editing picture in document
Make, to improve the efficiency that user edits document.
In addition, as shown in figure 8, a kind of method generating picture materials provided in an embodiment of the present invention, sets applied to terminal
Standby, this method may include steps of:
S801 shows picture region corresponding with first request when receiving the request of user's operation destination document
Domain selection interface;
S802 receives the Target Photo that user is obtained by the picture region selection interface;
Wherein, S801~S802 is similar to above-mentioned S101~S102, and therefore not to repeat here.
S803, when receiving user and editing the edit requests of the Target Photo, in the editing area, according to
Family selects the selection frequency of the graphic template material, and the maximum graphic template material of frequency will be selected to be closed with the Target Photo
And generate the corresponding picture materials of the Target Photo.
In general, when generating picture materials in destination document, user may frequently select one in graphic template material
A or several graphic template materials are as common graphic template material.Wherein, select probability is each graphic template material
The ratio of selected number and the total degree for selecting all graphic template materials.
It here, can be by the maximum picture mould of select probability when receiving user and editing the edit requests of Target Photo
Graphic template material of the laminin material as acquiescence, and the graphic template material of the selection maximum probability is merged with Target Photo,
Generate the picture materials corresponding to Target Photo.
In the embodiment of the present invention, when receiving user and editing the edit requests of Target Photo, pass through stored picture
Template material edits the Target Photo, ultimately generates the corresponding picture materials of the Target Photo, in this way, user edits target text
When shelves, tool need not be beautified come editing objective picture, in the destination document edited by other professional pictures
The corresponding picture materials of Target Photo are generated, reduces the switching between multiple APP, simplifies the behaviour of editing picture in document
Make, to improve the efficiency that user edits document.
Corresponding to above method embodiment, the embodiment of the present invention additionally provides a kind of device 900 generating picture materials, such as
Shown in Fig. 9, may include:
First display unit 910, in the first request for receiving user's operation destination document, display and described the
The corresponding picture region selection interface of one request;The destination document is the document edited needed for user, and first request is
User adds the request of picture in the editing area of the destination document;
Receiving unit 920, the Target Photo obtained by the picture region selection interface for receiving user;The mesh
Piece of marking on a map is that user needs the picture added in the editing area of the destination document;
Second display unit 930, for when receiving user and editing the edit requests of the Target Photo, described in display
Target Photo and stored at least one graphic template material;
First generation unit 940, for from least one graphic template selection of materials any picture template material,
In the editing area, the corresponding picture materials of the Target Photo are generated.
Optionally, first display unit is used for,
When detecting editing interface addition picture of the user in the destination document, editing interface is switched to picture region
Domain selection interface, the editing interface are the interface of destination document where the editing area.
Optionally, the receiving unit 920 includes:
First acquisition subelement 921, the picture region selected in the picture region selection interface for obtaining user,
Wherein, the picture region is the picture region where the Target Photo;
First display subelement 922 shows the corresponding figure of the picture region for the picture region for user's selection
Piece obtains interface;
Subelement 923 is handled, for user to be obtained the picture that selects of interface as the Target Photo in the picture.
Optionally, the first display subelement is specifically used for,
When detecting that user selects any picture region of the picture region selection interface, the picture region is selected
It is that picture obtains interface to select changing interface;
Wherein, picture acquisition interface is:Terminal device calls the interface that video camera is taken pictures;Alternatively, the figure
Piece obtains interface:Include the interface of an at least pictures;Alternatively, picture acquisition interface is:Preset Web page picture library,
Wherein, the Web page picture library includes an at least pictures.
Optionally, second display unit is specifically used for,
When detect user the picture obtain interface in, when editing the Target Photo, in the editing area
It shows the selected Target Photo of user, stored at least one graphic template material is shown in the editing interface.
Optionally, second display unit 930 includes:
Second obtains subelement 931, detects that user in the picture obtains interface, edits the target figure for working as
When piece, the size attribute of the editing area and the size attribute of the Target Photo are obtained, wherein the size attribute packet
It includes:Length attribute and width attribute;
Second display subelement 932, the ruler for the size attribute of the Target Photo to be adjusted to the editing area
Very little attribute, and the Target Photo after adjustment is shown in the editing area.
Optionally, second display unit further includes:
Third obtains subelement 933, for receiving user in the picture obtains interface, target figure described in preview
When the preview request of piece, the size attribute of the editing area and the size attribute of the Target Photo are obtained, wherein the ruler
Very little attribute includes:Length attribute and width attribute;
Third shows subelement 934, the ruler for the size attribute of the Target Photo to be adjusted to the editing area
Very little attribute, and the Target Photo after adjustment is shown in the editing area.
Optionally, first generation unit is specifically used for,
When detecting that user selects any picture template material at least one graphic template material, by user
Selected graphic template material is merged with the Target Photo, in the editing area, generates the Target Photo
Corresponding picture materials.
Optionally, described device can also include:
Second generation unit, for when receiving user and editing the edit requests of the Target Photo, in the editor
In region, the selection frequency of the graphic template material is selected according to user, will select the maximum graphic template material of frequency with
The Target Photo merges, and generates the corresponding picture materials of the Target Photo.
In the embodiment of the present invention, when receiving user and editing the edit requests of Target Photo, pass through stored picture
Template material edits the Target Photo, ultimately generates the corresponding picture materials of the Target Photo, in this way, user edits target text
When shelves, tool need not be beautified come editing objective picture, in the destination document edited by other professional pictures
The corresponding picture materials of Target Photo are generated, reduces the switching between multiple APP, simplifies the behaviour of editing picture in document
Make, to improve the efficiency that user edits document.
For device embodiments, since it is substantially similar to the method embodiment, so fairly simple, the correlation of description
Place illustrates referring to the part of embodiment of the method.
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to
Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also include other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, identical similar portion between each embodiment
Point just to refer each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality
For applying example, since it is substantially similar to the method embodiment, so description is fairly simple, related place is referring to embodiment of the method
Part explanation.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all
Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention
It is interior.
Claims (18)
1. a kind of method generating picture materials, which is characterized in that it is applied to terminal device, including:
In the first request for receiving user's operation destination document, picture region selection corresponding with first request is shown
Interface;The destination document is the document edited needed for user, and first request is editor of the user in the destination document
The request of picture is added in region;
Receive the Target Photo that user is obtained by the picture region selection interface;The Target Photo needs for user in institute
State the picture added in the editing area of destination document;
When receiving user and editing the edit requests of the Target Photo, show the Target Photo and it is stored at least
One graphic template material;
From at least one graphic template selection of materials any picture template material, in the editing area, described in generation
The corresponding picture materials of Target Photo.
2. according to the method described in claim 1, it is characterized in that, display picture region corresponding with first request
Selection interface, including:
When detecting editing interface addition picture of the user in the destination document, the editing interface is switched to picture region
Domain selection interface, the editing interface are the interface of destination document where the editing area.
3. according to the method described in claim 1, it is characterized in that, the reception user passes through the picture region selection interface
The Target Photo of acquisition, including:
Obtain the picture region that user selects in the picture region selection interface, wherein the picture region is the mesh
The picture region marked on a map where piece;
For the picture region of user's selection, show that the corresponding picture of the picture region obtains interface;
User is obtained into the picture that selects of interface as the Target Photo in the picture.
4. according to the method described in claim 3, it is characterized in that, the picture region for user's selection, described in display
The corresponding picture of picture region obtains interface, including:
When detecting that user selects any picture region of the picture region selection interface, the picture region is selected into boundary
Face is switched to picture and obtains interface;
Wherein, picture acquisition interface is:Terminal device calls the interface that video camera is taken pictures;Alternatively, the picture obtains
The interface is taken to be:Include the interface of an at least pictures;Alternatively, picture acquisition interface is:Preset Web page picture library,
In, the Web page picture library includes an at least pictures.
5. according to the method described in claim 4, it is characterized in that, described in the volume for receiving user and editing the Target Photo
When collecting request, the Target Photo and stored at least one graphic template material are shown, including:
When detect user the picture obtain interface in, when editing the Target Photo, shown in the editing area
The selected Target Photo of user shows stored at least one graphic template material in the editing interface.
6. according to the method described in claim 5, it is characterized in that, described ought detect that user obtains interface in the picture
In, when editing the Target Photo, the selected Target Photo of user is shown in the editing area, including:
When detect user the picture obtain interface in, when editing the Target Photo, obtain the ruler of the editing area
The size attribute of very little attribute and the Target Photo, wherein the size attribute includes:Length attribute and width attribute;
The size attribute of the Target Photo is adjusted to the size attribute of the editing area, and is shown in the editing area
Show the Target Photo after adjustment.
7. according to the method described in claim 5, it is characterized in that, the method further includes:
User is being received in the picture obtains interface, when the preview request of Target Photo described in preview, is obtaining the volume
The size attribute in volume region and the size attribute of the Target Photo, wherein the size attribute includes:Length attribute and width
Attribute;
The size attribute of the Target Photo is adjusted to the size attribute of the editing area, and is shown in the editing area
Show the Target Photo after adjustment.
8. according to the method described in claim 1, it is characterized in that, described appoint from least one graphic template selection of materials
One graphic template material generates the corresponding picture materials of the Target Photo in the editing area, including:
When detecting that user selects any picture template material at least one graphic template material, selected by user
The graphic template material selected is merged with the Target Photo, in the editing area, is generated the Target Photo and is corresponded to
Picture materials.
9. according to the method described in claim 1, it is characterized in that, selecting boundary by the picture region in the reception user
After the Target Photo that face obtains, the method further includes:
When receiving user and editing the edit requests of the Target Photo, in the editing area, institute is selected according to user
The selection frequency for stating graphic template material will select the maximum graphic template material of frequency to merge with the Target Photo, generate
The corresponding picture materials of the Target Photo.
10. a kind of device generating picture materials, which is characterized in that it is applied to terminal device, including:
First display unit, in the first request for receiving user's operation destination document, display to be asked with described first
Corresponding picture region selection interface;The destination document is the document edited needed for user, and first request is that user exists
The request of picture is added in the editing area of the destination document;
Receiving unit, the Target Photo obtained by the picture region selection interface for receiving user;The Target Photo
The picture for needing to add in the editing area of the destination document for user;
Second display unit, for when receiving user and editing the edit requests of the Target Photo, showing the target figure
Piece and stored at least one graphic template material;
First generation unit is used for from least one graphic template selection of materials any picture template material, in the volume
It collects in region, generates the corresponding picture materials of the Target Photo.
11. device according to claim 10, which is characterized in that first display unit is used for,
When detecting editing interface addition picture of the user in the destination document, the editing interface is switched to picture region
Domain selection interface, the editing interface are the interface of destination document where the editing area.
12. device according to claim 10, which is characterized in that the receiving unit includes:
First obtains subelement, the picture region selected in the picture region selection interface for obtaining user, wherein institute
It is the picture region where the Target Photo to state picture region;
First display subelement shows that the corresponding picture of the picture region obtains for the picture region for user's selection
Interface;
Subelement is handled, for user to be obtained the picture that selects of interface as the Target Photo in the picture.
13. device according to claim 12, which is characterized in that the first display subelement is specifically used for,
When detecting that user selects any picture region of the picture region selection interface, the picture region is selected into boundary
Face is switched to picture and obtains interface;
Wherein, picture acquisition interface is:Terminal device calls the interface that video camera is taken pictures;Alternatively, the picture obtains
The interface is taken to be:Include the interface of an at least pictures;Alternatively, picture acquisition interface is:Preset Web page picture library,
In, the Web page picture library includes an at least pictures.
14. device according to claim 13, which is characterized in that second display unit is specifically used for,
When detect user the picture obtain interface in, when editing the Target Photo, shown in the editing area
The selected Target Photo of user shows stored at least one graphic template material in the editing interface.
15. device according to claim 14, which is characterized in that second display unit includes:
Second obtains subelement, detects that user in the picture obtains interface, when editing the Target Photo, obtains for working as
Take the size attribute of the editing area and the size attribute of the Target Photo, wherein the size attribute includes:Length category
Property and width attribute;
Second display subelement, the size attribute for the size attribute of the Target Photo to be adjusted to the editing area,
And the Target Photo after adjustment is shown in the editing area.
16. device according to claim 14, which is characterized in that second display unit further includes:
Third obtain subelement, for receiving user the picture obtain interface in, Target Photo described in preview it is pre-
Look at request when, obtain the size attribute of the editing area and the size attribute of the Target Photo, wherein the size attribute
Including:Length attribute and width attribute;
Third display subelement, the size attribute for the size attribute of the Target Photo to be adjusted to the editing area,
And the Target Photo after adjustment is shown in the editing area.
17. device according to claim 10, which is characterized in that first generation unit is specifically used for,
When detecting that user selects any picture template material at least one graphic template material, selected by user
The template material selected is merged with the Target Photo, in the editing area, generates the corresponding figure of the Target Photo
Piece material.
18. device according to claim 10, which is characterized in that described device further includes:
Second generation unit, for when receiving user and editing the edit requests of the Target Photo, in the editing area
In, the selection frequency of the graphic template material is selected according to user, will select the maximum graphic template material of frequency with it is described
Target Photo merges, and generates the corresponding picture materials of the Target Photo.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710033793.0A CN108319576A (en) | 2017-01-18 | 2017-01-18 | A kind of method and device generating picture materials |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710033793.0A CN108319576A (en) | 2017-01-18 | 2017-01-18 | A kind of method and device generating picture materials |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108319576A true CN108319576A (en) | 2018-07-24 |
Family
ID=62892834
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710033793.0A Pending CN108319576A (en) | 2017-01-18 | 2017-01-18 | A kind of method and device generating picture materials |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108319576A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109597976A (en) * | 2018-10-11 | 2019-04-09 | 阿里巴巴集团控股有限公司 | A kind of document edit method and device |
CN112905286A (en) * | 2021-03-03 | 2021-06-04 | 北京读我网络技术有限公司 | Visual poster generation method and device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103337086A (en) * | 2013-06-17 | 2013-10-02 | 北京金山安全软件有限公司 | Picture editing method and device for mobile terminal and mobile terminal |
US20140136965A1 (en) * | 2011-06-23 | 2014-05-15 | Young Wan Byun | System for composing document using image and method for composing document |
CN104168417A (en) * | 2014-05-20 | 2014-11-26 | 腾讯科技(深圳)有限公司 | Picture processing method and device |
CN104933094A (en) * | 2015-05-19 | 2015-09-23 | 深圳市松特高新实业有限公司 | PPT document construction method and system |
CN105096363A (en) * | 2015-06-30 | 2015-11-25 | 北京金山安全软件有限公司 | Picture editing method and picture editing device |
CN106066757A (en) * | 2016-06-20 | 2016-11-02 | 深圳前海首席科技网络有限公司 | A kind of method and system of mobile terminal APP picture and text mixing |
CN106168874A (en) * | 2016-07-07 | 2016-11-30 | 深圳艾派网络科技股份有限公司 | A kind of multimedia message editing method based on webpage and device |
-
2017
- 2017-01-18 CN CN201710033793.0A patent/CN108319576A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140136965A1 (en) * | 2011-06-23 | 2014-05-15 | Young Wan Byun | System for composing document using image and method for composing document |
CN103337086A (en) * | 2013-06-17 | 2013-10-02 | 北京金山安全软件有限公司 | Picture editing method and device for mobile terminal and mobile terminal |
CN104168417A (en) * | 2014-05-20 | 2014-11-26 | 腾讯科技(深圳)有限公司 | Picture processing method and device |
CN104933094A (en) * | 2015-05-19 | 2015-09-23 | 深圳市松特高新实业有限公司 | PPT document construction method and system |
CN105096363A (en) * | 2015-06-30 | 2015-11-25 | 北京金山安全软件有限公司 | Picture editing method and picture editing device |
CN106066757A (en) * | 2016-06-20 | 2016-11-02 | 深圳前海首席科技网络有限公司 | A kind of method and system of mobile terminal APP picture and text mixing |
CN106168874A (en) * | 2016-07-07 | 2016-11-30 | 深圳艾派网络科技股份有限公司 | A kind of multimedia message editing method based on webpage and device |
Non-Patent Citations (2)
Title |
---|
VIPIEBOOK: "新浪微博手机版如何上传照片", 《HTTPS://JINGYAN.BAIDU.COM/ARTICLE/F00622280628DCFBD3F0C8EB.HTML》 * |
聪电宝: "手机微博怎么发微博文字说说?", 《HTTPS://JINGYAN.BAIDU.COM/ARTICLE/54B6B9C0FA47092D583B478A.HTML》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109597976A (en) * | 2018-10-11 | 2019-04-09 | 阿里巴巴集团控股有限公司 | A kind of document edit method and device |
CN112905286A (en) * | 2021-03-03 | 2021-06-04 | 北京读我网络技术有限公司 | Visual poster generation method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
AU2018204001B2 (en) | Method and device for generating captured image for display windows | |
DE112008000144B4 (en) | Scroll lists and move, scale and rotate documents on a touch screen display | |
US9003283B2 (en) | Copying text using parameters displayed on a clipboard | |
US20180210634A1 (en) | Method and device for generating captured image for display windows | |
CN109189532B (en) | Control bar display method, device, equipment and storage medium of electronic whiteboard | |
DE202016005219U1 (en) | User interface for navigating and playing content | |
US20090013250A1 (en) | Selection and Display of User-Created Documents | |
CN106951140A (en) | The icon replacing options and electronic equipment of application program | |
CN104571877A (en) | Display processing method and device for pages | |
CN101359274B (en) | Method and apparatus for rapidly positioning objects | |
CN102999752A (en) | Method and device for quickly identifying local characters in picture and terminal | |
KR20090105748A (en) | Method and apparatus for processing widget in multi ticker | |
EP2874054A1 (en) | Application text adjusting method, device, and terminal | |
CN104965914A (en) | Page display method and apparatus | |
CN106610826A (en) | Making method and device for online scenario application | |
US20110126087A1 (en) | Graphical user interface for non mouse-based activation of links | |
CN106020645A (en) | Application starting method and apparatus | |
CN103294748A (en) | Method for excerpting and editing Internet contents | |
CN110347459A (en) | A kind of window minimizes method, apparatus, storage medium and interactive intelligent tablet computer | |
CN106648349B (en) | Information display method and device | |
CN111324398B (en) | Method, device, terminal and storage medium for processing latest content | |
CN108319576A (en) | A kind of method and device generating picture materials | |
CN102063193B (en) | The method of display input results and device | |
CN105577518A (en) | Method and electronic device for displaying website corresponding information in instant messaging | |
CN107133204B (en) | Terminal shortcut input method |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180724 |