CN105320509B - Picture processing method and picture processing device - Google Patents

Picture processing method and picture processing device Download PDF

Info

Publication number
CN105320509B
CN105320509B CN201410356153.XA CN201410356153A CN105320509B CN 105320509 B CN105320509 B CN 105320509B CN 201410356153 A CN201410356153 A CN 201410356153A CN 105320509 B CN105320509 B CN 105320509B
Authority
CN
China
Prior art keywords
picture
editing
template
storage
pictures
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.)
Active
Application number
CN201410356153.XA
Other languages
Chinese (zh)
Other versions
CN105320509A (en
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410356153.XA priority Critical patent/CN105320509B/en
Publication of CN105320509A publication Critical patent/CN105320509A/en
Application granted granted Critical
Publication of CN105320509B publication Critical patent/CN105320509B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a picture processing method and a picture processing device, wherein the picture processing method comprises the following steps: receiving a template selection instruction, and acquiring a picture editing template according to the template selection instruction; receiving a picture selection instruction, and acquiring a plurality of pictures according to the picture selection instruction; generating a picture display interface according to the picture editing template and the plurality of pictures; receiving a picture editing instruction, and performing picture editing operation on a picture in a picture display interface according to the picture editing instruction; and receiving a picture saving instruction, and storing the storage position of the picture after the picture editing operation and the sequence of the picture according to the picture saving instruction to generate a picture storage file. The invention also provides a picture processing device, and the picture processing method and the picture processing device realize efficient and rapid picture display by storing the sequence of the pictures.

Description

Picture processing method and picture processing device
Technical Field
The present invention relates to the field of picture processing, and in particular, to a picture processing method and a picture processing apparatus.
Background
With the rapid development of social software, more and more users use various instant social software for information interaction, such as issuing texts or photos. In order to enhance the diversity of information interaction, a user can process an interactive picture, for example, the interactive picture can be published after editing the picture on line, the interactive picture can be published after editing a corresponding comment on the picture, or the interactive picture can be published after synthesizing a plurality of pictures.
When a user issues a combination of a plurality of pictures, the issued user can edit the combination of the plurality of pictures, so that the combination of the plurality of pictures forms an integral pattern; when other users want to browse a certain picture in the multiple pictures, the other users can also browse the certain picture in the multiple pictures independently; therefore, the browsing requirements of various types of users can be met.
However, when the user browses the combination of multiple pictures, the picture display mode of the instant messaging software may be different from the picture display mode when the publishing user edits multiple pictures. The combination of multiple pictures displayed by the instant social software cannot form a better overall pattern, so that the arrangement sequence of the pictures needs to be adjusted by a user, and the efficiency of editing and processing the pictures by the user is reduced.
Disclosure of Invention
The embodiment of the invention provides a picture processing method capable of realizing efficient and quick picture display, and aims to solve the technical problem that the picture editing processing efficiency of a user is reduced because the picture display cannot be efficiently and quickly carried out by the conventional picture processing method.
The embodiment of the invention also provides a picture processing device capable of realizing efficient and quick picture display, so as to solve the technical problem that the conventional picture processing device cannot efficiently and quickly display pictures, so that the picture editing processing efficiency of a user is reduced.
In order to solve the above problems, the technical scheme provided by the invention is as follows:
the embodiment of the invention provides a picture processing method, which comprises the following steps:
receiving a template selection instruction, and acquiring a picture editing template according to the template selection instruction;
receiving a picture selection instruction, and acquiring a plurality of pictures according to the picture selection instruction;
generating a picture display interface according to the picture editing template and the plurality of pictures; simultaneously recording the sequence of the pictures; the picture display interface is a composite interface of a plurality of pictures on the picture editing template;
receiving a picture editing instruction, and performing picture editing operation on the picture in the picture display interface according to the picture editing instruction; and
receiving a picture saving instruction, and performing storage operation on the storage position of the picture after the picture editing operation and the sequence of the picture according to the picture saving instruction to generate a picture storage file; the sequence of the pictures is the display sequence of the pictures in the picture display interface; the picture storage file is used for carrying out single picture display operation or multi-picture display operation on a plurality of pictures in the picture display interface.
An embodiment of the present invention further provides an image processing apparatus, which includes:
the template acquisition module is used for receiving a template selection instruction and acquiring a picture editing template according to the template selection instruction;
the image acquisition module is used for receiving an image selection instruction and acquiring a plurality of images according to the image selection instruction;
the display interface generating module is used for generating a picture display interface according to the picture editing template and the pictures; simultaneously recording the sequence of the pictures; the picture display interface is a composite interface of a plurality of pictures on the picture editing template;
the editing module is used for receiving a picture editing instruction and carrying out picture editing operation on the picture in the picture display interface according to the picture editing instruction; and
the storage file generation module is used for receiving a picture storage instruction and performing storage operation on the storage position of the picture after the picture editing operation and the sequence of the picture according to the picture storage instruction so as to generate a picture storage file; the sequence of the pictures is the display sequence of the pictures in the picture display interface; the picture storage file is used for carrying out single picture display operation or multi-picture display operation on a plurality of pictures in the picture display interface.
Compared with the picture processing method and the picture processing device in the prior art, the picture processing method and the picture processing device realize efficient and rapid picture display by storing the sequence of the pictures; the technical problem that the efficiency of editing and processing the pictures by a user is reduced because the existing picture processing method and the picture processing device can not efficiently and quickly display the pictures is solved.
Drawings
FIG. 1 is a schematic diagram of a working environment structure of an electronic device in which an image processing method and an image processing apparatus according to the present invention are located;
FIG. 2 is a flow chart of a first preferred embodiment of the picture processing method of the present invention;
FIG. 3 is a flow chart of a second preferred embodiment of the picture processing method of the present invention;
FIG. 4 is a flowchart of a third preferred embodiment of the image processing method of the present invention;
FIG. 5 is a schematic structural diagram of a first preferred embodiment of a picture processing apparatus according to the present invention;
FIG. 6 is a schematic structural diagram of a second preferred embodiment of a picture processing apparatus according to the present invention;
FIG. 7 is a schematic structural diagram of a third preferred embodiment of a picture processing apparatus according to the present invention;
FIG. 8 is a flowchart illustrating an embodiment of a method for processing pictures according to the present invention;
FIGS. 9A-9D are second schematic flowcharts illustrating a picture processing method according to another embodiment of the present invention;
FIG. 10 is a third flowchart illustrating a picture processing method according to a third embodiment of the present invention;
FIG. 11 is a fourth flowchart illustrating a picture processing method according to an embodiment of the present invention;
FIG. 12 is a fifth flowchart illustrating a picture processing method according to an embodiment of the present invention.
Detailed Description
Referring to the drawings, wherein like reference numbers refer to like elements, the principles of the present invention are illustrated as being implemented in a suitable computing environment. The following description is based on illustrated embodiments of the invention and should not be taken as limiting the invention with regard to other embodiments that are not detailed herein.
In the description that follows, embodiments of the invention are described with reference to steps and symbols of operations performed by one or more computers, unless otherwise indicated. It will thus be appreciated that those steps and operations, which are referred to herein several times as being computer-executed, include being manipulated by a computer processing unit in the form of electronic signals representing data in a structured form. This manipulation transforms the data or maintains it at locations in the computer's memory system, which may reconfigure or otherwise alter the computer's operation in a manner well known to those skilled in the art. The data maintains a data structure that is a physical location of the memory that has particular characteristics defined by the data format. However, while the principles of the invention have been described in language specific to above, it is not intended to be limited to the specific details shown, since one skilled in the art will recognize that various steps and operations described below may be implemented in hardware.
As used herein, the terms "component," "module," "system," "interface," "process," and the like are generally intended to refer to a computer-related entity: hardware, a combination of hardware and software, or software in execution. For example, a component may be, but is not limited to being, a process running on a processor, an object, an executable, a thread of execution, a program, and/or a computer. By way of illustration, both an application running on a controller and the controller can be a component. One or more components can reside within a process and/or thread of execution and a component may be localized on one computer and/or distributed between two or more computers.
Furthermore, the claimed subject matter may be implemented as a method, apparatus, or article of manufacture using standard programming and/or engineering techniques to produce software, firmware, hardware, or any combination thereof to control a computer to implement the disclosed subject matter. The term "article of manufacture" as used herein is intended to encompass a computer program accessible from any computer-readable device, carrier, or media. Of course, those skilled in the art will recognize many modifications may be made to this configuration without departing from the scope or spirit of the claimed subject matter.
FIG. 1 and the following discussion provide a brief, general description of an operating environment of an electronic device in which a picture processing apparatus according to the present invention may be implemented. The operating environment of FIG. 1 is only one example of a suitable operating environment and is not intended to suggest any limitation as to the scope of use or functionality of the operating environment. Example electronic devices 112 include, but are not limited to, personal computers, server computers, hand-held or laptop devices, mobile devices (such as mobile phones, Personal Digital Assistants (PDAs), media players, and the like), multiprocessor systems, consumer electronics, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
Although not required, embodiments are described in the general context of "computer readable instructions" being executed by one or more electronic devices. Computer readable instructions may be distributed via computer readable media (discussed below). Computer readable instructions may be implemented as program modules, such as functions, objects, Application Programming Interfaces (APIs), data structures, etc. that perform particular tasks or implement particular abstract data types. Typically, the functionality of the computer readable instructions may be combined or distributed as desired in various environments.
FIG. 1 illustrates an example of an electronic device 112 that includes one or more embodiments of the picture processing apparatus of the present invention. In one configuration, electronic device 112 includes at least one processing unit 116 and memory 118. Depending on the exact configuration and type of electronic device, memory 118 may be volatile (such as RAM), non-volatile (such as ROM, flash memory, etc.) or some combination of the two. This configuration is illustrated in fig. 1 by dashed line 114.
In other embodiments, electronic device 112 may include additional features and/or functionality. For example, device 112 may also include additional storage (e.g., removable and/or non-removable) including, but not limited to, magnetic storage, optical storage, and the like. Such additional storage is illustrated in FIG. 1 by storage 120. In one embodiment, computer readable instructions to implement one or more embodiments provided herein may be in storage 120. Storage 120 may also store other computer readable instructions to implement an operating system, an application program, and the like. Computer readable instructions may be loaded in memory 118 for execution by processing unit 116, for example.
The term "computer readable media" as used herein includes computer storage media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions or other data. Memory 118 and storage 120 are examples of computer storage media. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by electronic device 112. Any such computer storage media may be part of electronic device 112.
Electronic device 112 may also include communication connection(s) 126 that allow electronic device 112 to communicate with other devices. Communication connection 126 may include, but is not limited to, a modem, a Network Interface Card (NIC), an integrated network interface, a radio frequency transmitter/receiver, an infrared port, a USB connection, or other interfaces for connecting electronic device 112 to other electronic devices. The communication connection 126 may comprise a wired connection or a wireless connection. Communication connection 126 may transmit and/or receive communication media.
The term "computer readable media" may include communication media. Communication media typically embodies computer readable instructions or other data in a "modulated data signal" such as a carrier wave or other transport mechanism and includes any information delivery media. The term "modulated data signal" may include signals that: one or more of the signal characteristics may be set or changed in such a manner as to encode information in the signal.
Electronic device 112 may include input device(s) 124 such as keyboard, mouse, pen, voice input device, touch input device, infrared camera, video input device, and/or any other input device. Output device(s) 122 such as one or more displays, speakers, printers, and/or any other output device may also be included in device 112. The input device 124 and the output device 122 may be connected to the electronic device 112 via a wired connection, a wireless connection, or any combination thereof. In one embodiment, an input device or an output device from another electronic device may be used as the input device 124 or the output device 122 of the electronic device 112.
The components of electronic device 112 may be connected by various interconnects, such as a bus. Such interconnects may include Peripheral Component Interconnect (PCI), such as PCI express, Universal Serial Bus (USB), firewire (IEEE1394), optical bus structures, and the like. In another embodiment, components of electronic device 112 may be interconnected by a network. For example, memory 118 may be comprised of multiple physical memory units located in different physical locations interconnected by a network.
Those skilled in the art will realize that storage devices utilized to store computer readable instructions may be distributed across a network. For example, an electronic device 130 accessible via network 128 may store computer readable instructions to implement one or more embodiments provided by the present invention. Electronic device 112 may access electronic device 130 and download a part or all of the computer readable instructions for execution. Alternatively, electronic device 112 may download pieces of the computer readable instructions, as needed, or some instructions may be executed at electronic device 112 and some at electronic device 130.
Various operations of embodiments are provided herein. In one embodiment, the one or more operations may constitute computer readable instructions stored on one or more computer readable media, which when executed by an electronic device, will cause the computing device to perform the operations. The order in which some or all of the operations are described should not be construed as to imply that these operations are necessarily order dependent. Those skilled in the art will appreciate alternative orderings having the benefit of this description. Moreover, it should be understood that not all operations are necessarily present in each embodiment provided herein.
Also, as used herein, the word "preferred" is intended to serve as an example, instance, or illustration. Any aspect or design described herein as "preferred" is not necessarily to be construed as advantageous over other aspects or designs. Rather, use of the word "preferred" is intended to present concepts in a concrete fashion. The term "or" as used in this application is intended to mean an inclusive "or" rather than an exclusive "or". That is, unless specified otherwise or clear from context, "X employs A or B" is intended to include either of the permutations as a matter of course. That is, if X employs A; b is used as X; or X employs both A and B, then "X employs A or B" is satisfied in any of the foregoing examples.
Also, although the disclosure has been shown and described with respect to one or more implementations, equivalent alterations and modifications will occur to others skilled in the art based upon a reading and understanding of this specification and the annexed drawings. The present disclosure includes all such modifications and alterations, and is limited only by the scope of the appended claims. In particular regard to the various functions performed by the above described components (e.g., elements, resources, etc.), the terms used to describe such components are intended to correspond, unless otherwise indicated, to any component which performs the specified function of the described component (e.g., that is functionally equivalent), even though not structurally equivalent to the disclosed structure which performs the function in the herein illustrated exemplary implementations of the disclosure. In addition, while a particular feature of the disclosure may have been disclosed with respect to only one of several implementations, such feature may be combined with one or more other features of the other implementations as may be desired and advantageous for a given or particular application. Furthermore, to the extent that the terms "includes," has, "" contains, "or variants thereof are used in either the detailed description or the claims, such terms are intended to be inclusive in a manner similar to the term" comprising.
Referring to fig. 2, fig. 2 is a flowchart illustrating a picture processing method according to a first preferred embodiment of the present invention. The image processing method of the preferred embodiment can be implemented by using the above-mentioned electronic device 112, and includes:
step S201, receiving a template selection instruction, and acquiring a picture editing template according to the template selection instruction;
step S202, receiving a picture selection instruction, and acquiring a plurality of pictures according to the picture selection instruction;
step S203, generating a picture display interface according to the picture editing template and the plurality of pictures; simultaneously, recording the sequence of the pictures; the picture display interface is a composite interface of a plurality of pictures on the picture editing template;
step S204, receiving a picture editing instruction, and performing picture editing operation on the picture in the picture display interface according to the picture editing instruction;
step S205, receiving a picture saving instruction, and performing a storage operation on the storage location of the picture after the picture editing operation and the sequence of the picture according to the picture saving instruction, so as to generate a picture storage file.
The following describes in detail the specific flow of each step of the image processing method according to the preferred embodiment.
In step S201, the user opens the image processing apparatus on the client, and then receives a template selection instruction of the user, where the template selection instruction is an instruction of an image editing template (e.g., a 2 × 2 image editing template, etc.) of multiple images selected by the user, and the image editing template includes an image typesetting template, an image effect template, etc., that is, the multiple images can be directly synthesized by the image editing template, and a corresponding image effect is added to the synthesized image (e.g., an increase of a love mark, etc.). Thus, the picture processing device can obtain a corresponding picture editing template according to the template selection instruction; subsequently, the process goes to step S202.
In step S202, a picture selection instruction of the user is received, where the picture selection instruction is an instruction for selecting a plurality of pictures by the user. Therefore, the picture processing device can acquire a plurality of pictures according to the picture selection instruction; subsequently, the process goes to step S203.
In step S203, the picture editing template acquired in step S201 and the plurality of pictures acquired in step S202 are combined to generate a picture display interface. The picture display interface is the composition of a plurality of pictures on the picture editing template, and simultaneously, the display sequence (namely the sequence of the pictures) of the pictures on the picture editing template is recorded in the step; subsequently, the process goes to step S204.
In step S204, a picture editing instruction of the user is received, where the picture editing instruction is an instruction for the user to edit a picture on the picture display interface. Such as modifying the text on the picture or adding picture effect. Of course, the picture display interface may not be edited here, and the synthesis result in step S203 may be directly received. Therefore, the picture processing device can carry out picture editing operation on the pictures in the picture display interface according to the picture editing instruction; subsequently, it goes to step S205.
In step S205, a picture saving instruction of the user is received, where the picture saving instruction is an instruction for the user to save the picture display interface after the picture editing (or the picture on the picture display interface after the picture editing). Therefore, the picture processing device can perform storage operation on the storage position of the picture after the picture editing operation and the sequence of the picture according to the picture storage instruction so as to generate a picture storage file, wherein the sequence of the picture is the display sequence of the picture in the picture display interface. The picture storage file is used for carrying out single picture display operation or multi-picture display operation on a plurality of pictures in the picture display interface.
Thus, the picture storing process of the picture processing method of the preferred embodiment is completed.
Because the picture storage file comprises the storage positions of the pictures and the sequence of the pictures, when the plurality of pictures are read and displayed, the pictures can be displayed according to the sequence of the pictures, so that the high-efficiency and quick display of the pictures is ensured, and the efficiency of editing and processing the pictures by a user is improved.
Referring to fig. 3, fig. 3 is a flowchart illustrating a picture processing method according to a second preferred embodiment of the present invention. The image processing method of the preferred embodiment can be implemented by using the electronic device 112, which includes:
step S301, receiving a template selection instruction, and acquiring a picture editing template according to the template selection instruction;
step S302, receiving a picture selection instruction, and acquiring a plurality of pictures according to the picture selection instruction;
step S303, generating a picture display interface according to the picture editing template and the plurality of pictures; simultaneously, recording the sequence of the pictures; the picture display interface is a composite interface of a plurality of pictures on the picture editing template;
step S304, receiving a picture editing instruction, and performing picture editing operation on the picture in the picture display interface according to the picture editing instruction;
step S305, receiving a picture saving instruction, and performing a storage operation on the storage location of the picture after the picture editing operation, the sequence of the picture, and the picture editing template according to the picture saving instruction, so as to generate a picture storage file.
The specific work flow of steps S301 to S304 of the image processing method of the present preferred embodiment is the same as the specific work flow of steps S201 to S204 of the first preferred embodiment of the image processing method, please refer to the related description in the first preferred embodiment of the image processing method.
In step S305, a picture saving instruction of the user is received, where the picture saving instruction is an instruction for the user to save the picture display interface after the picture editing (or the picture on the picture display interface after the picture editing). Therefore, the picture processing device can perform storage operation on the storage position of the edited picture, the sequence of the picture and the picture editing template according to the picture saving instruction so as to generate a picture storage file.
Thus, the picture storing process of the picture processing method of the preferred embodiment is completed.
Preferably, in step 305, the picture processing apparatus may further obtain a custom comment, and perform a storage operation on the custom comment, a storage location of the picture after the picture editing operation, and a sequence of the picture to generate a picture storage file.
In the preferred embodiment, since the picture storage file stores the picture editing template corresponding to the saved picture, when the picture storage file is displayed, the correctness of the typesetting (such as the typesetting of 2 × 3 or 3 × 2) of a plurality of pictures can be ensured, and the efficiency of the picture editing operation and the picture displaying operation is further improved.
Referring to fig. 4, fig. 4 is a flowchart illustrating a picture processing method according to a third preferred embodiment of the present invention. The image processing method of the preferred embodiment can be implemented by using the electronic device 112, which includes:
step S401, receiving a template selection instruction, and acquiring a picture editing template according to the template selection instruction;
step S402, receiving a picture selection instruction, and acquiring a plurality of pictures according to the picture selection instruction;
step S403, generating a picture display interface according to the picture editing template and the plurality of pictures; simultaneously, recording the sequence of the pictures; the picture display interface is a composite interface of a plurality of pictures on the picture editing template;
step S404, receiving a picture editing instruction, and performing picture editing operation on the picture in the picture display interface according to the picture editing instruction;
step S405, receiving a picture storage instruction, and performing template editing operation on a picture editing template according to a picture display interface after the picture editing operation;
step S406, storing the picture editing template after the template editing operation, the storage position of the picture before the picture editing operation and the sequence of the picture before the picture editing operation to generate a picture storage file;
step S407, judging whether the display operation of the picture storage file is a single picture display operation, and if the display operation of the picture storage file is the single picture display operation, turning to step S408; if the display operation of the picture storage file is a multi-picture display operation, turning to step S409;
step S408, reading and displaying the picture before the picture editing operation;
step S409, synthesizing the picture before the picture editing operation and the picture editing template after the template editing operation according to the sequence of the picture before the picture editing operation, and displaying the synthesized picture.
The following describes in detail the specific flow of each step of the image processing method according to the preferred embodiment.
The specific work flow of steps S401 to S404 of the image processing method of the present preferred embodiment is the same as the specific work flow of steps S201 to S204 of the first preferred embodiment of the image processing method, please refer to the related description in the first preferred embodiment of the image processing method.
In step S405, a picture saving instruction of the user is received, where the picture saving instruction is an instruction for the user to save the picture display interface after the picture editing (or the picture on the picture display interface after the picture editing). Therefore, the picture processing device can carry out template editing operation on the picture editing template according to the picture display interface (or the picture on the picture display interface) after the picture editing operation. Recording all the picture editing operations performed in the step S404 on the picture editing template; subsequently, the process goes to step S406.
In step S406, a storage operation is performed on the picture editing template after the template editing operation, the storage location of the picture before the picture editing, and the order of the picture before the picture editing to generate a picture storage file. Subsequently, it goes to step S407.
In step S407, the picture processing apparatus receives a display operation instruction of a picture storage file of another user, and determines whether the display operation of the picture storage file is a single picture display operation. The single picture display operation herein refers to an operation in which a user views a single picture; if the display operation is a single picture display operation, go to step S408; if the display operation is a multi-picture display operation, the process proceeds to step S409.
In step S408, if the display operation is a single-picture display operation, it indicates that the user wants to view a single picture, and since the effect of the previous picture editing operation or template editing operation (which is set to meet the display requirement of multiple pictures) cannot represent a single picture well, the picture before the picture editing operation is used for displaying, so that the user can view a single picture better.
In step S409, if the display operation is a multi-picture display operation, the display operation is an operation of viewing a plurality of pictures simultaneously. At this time, the picture processing device synthesizes the picture before the picture editing operation and the picture editing template after the template editing operation according to the sequence of the picture before the picture editing operation, and displays the synthesized picture, so that a user can view a plurality of pictures better at the same time.
Thus, the picture storage and display process of the picture processing method of the preferred embodiment is completed.
Preferably, in step S406, the picture editing template after the template editing operation may not be saved, and the storage location of the picture after the picture editing operation, the storage location of the picture before the picture editing operation, and the order of the pictures may be directly saved to generate the picture storage file. In this way, the viewing requirements of the user for single pictures and multiple pictures can be satisfied in steps S408 and S409.
Preferably, the image processing method of the present preferred embodiment may further include the steps of: and acquiring a user-defined comment of the user, wherein the user-defined comment can be the evaluation of the user on the picture or the time and place information of the picture shooting, and the like. The user can share the picture storage file containing the custom comment to the application such as a friend circle and the like for other friends to check.
The picture processing method of the preferred embodiment stores the picture before editing and the template after editing separately on the basis of the first preferred embodiment, so that the user can view a plurality of edited pictures and a single picture before editing, and the requirements of the user on displaying and viewing different pictures are further met.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a picture processing device according to a first preferred embodiment of the present invention. The image processing apparatus 50 of the present preferred embodiment can be implemented using the first preferred embodiment of the image processing method described above. The picture processing apparatus 50 of the present preferred embodiment includes a template acquisition module 51, a picture acquisition module 52, a display interface generation module 53, an editing module 54, and a storage file generation module 55.
The template obtaining module 51 receives a template selection instruction, and obtains a picture editing template according to the template selection instruction; the picture obtaining module 52 is configured to receive a picture selection instruction, and obtain a plurality of pictures according to the picture selection instruction; the display interface generating module 53 is configured to generate a picture display interface according to the picture editing template and the multiple pictures, where the picture display interface includes a sequence of the pictures; the editing module 54 is configured to receive a picture editing instruction, and perform a picture editing operation on a picture in the picture display interface according to the picture editing instruction; the storage file generating module 55 is configured to receive a picture saving instruction, and perform a storage operation on the storage location of the picture after the picture editing operation and the sequence of the picture according to the picture saving instruction, so as to generate a picture storage file.
When the image processing apparatus 50 of the preferred embodiment is used, firstly, a user opens the image processing apparatus on a client, the template obtaining module 51 receives a template selection instruction of the user, the template selection instruction is an instruction of an image editing template (such as a 2 × 2 image editing template) of a plurality of images selected by the user, the image editing template includes an image typesetting template, an image effect template and the like, that is, the plurality of images can be directly synthesized through the image editing template, and a corresponding image effect (such as an increase of a love mark and the like) is added to the synthesized image. The template obtaining module 51 can obtain the corresponding picture editing template according to the template selection instruction.
The picture obtaining module 52 then receives a picture selection instruction of the user, where the picture selection instruction is an instruction for the user to select multiple pictures. Thus, the image capturing module 52 can capture a plurality of images according to the image selecting instruction.
Then, the display interface generating module 53 synthesizes the picture editing template acquired by the template acquiring module 51 and the plurality of pictures acquired by the picture acquiring module 52, and generates a picture display interface. The picture display interface is a composition of a plurality of pictures on the picture editing template, and the display interface generating module 53 records a display sequence (i.e. a sequence of pictures) of the pictures on the picture editing template.
The editing module 54 then receives a picture editing instruction of the user, where the picture editing instruction is an instruction for the user to edit a picture on the picture display interface. Such as modifying the text on the picture or adding picture effect. Of course, the picture display interface may not be edited here, and the synthesis result in step S203 may be directly received. In this way, the editing module 54 can perform a picture editing operation on the picture in the picture display interface according to the picture editing instruction.
Finally, the storage file generating module 55 receives a picture saving instruction of the user, where the picture saving instruction is an instruction for the user to save the picture display interface after the picture editing (or the picture on the picture display interface after the picture editing). In this way, the storage file generating module 55 may perform a storage operation on the storage location of the picture after the picture editing operation and the sequence of the picture according to the picture saving instruction, so as to generate a picture storage file, where the sequence of the picture is a display sequence of the picture in the picture display interface. The picture storage file is used for carrying out single picture display operation or multi-picture display operation on a plurality of pictures in the picture display interface.
This completes the picture storing process of the picture processing apparatus 50 of the present preferred embodiment.
Because the picture storage file comprises the storage positions of the pictures and the sequence of the pictures, when the plurality of pictures are read and displayed, the pictures can be displayed according to the sequence of the pictures, so that the high-efficiency and quick display of the pictures is ensured, and the efficiency of editing and processing the pictures by a user is improved.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a picture processing apparatus according to a second preferred embodiment of the invention. The image processing apparatus of the present preferred embodiment can be implemented using the second preferred embodiment of the image processing method described above. The picture processing apparatus 60 of the present preferred embodiment includes a template acquisition module 61, a picture acquisition module 62, a display interface generation module 63, an editing module 64, and a storage file generation module 65.
The picture processing apparatus 60 of the present preferred embodiment is different from the picture processing apparatus 50 of the first preferred embodiment in that a storage file generation module 65 is used to perform a storage operation on a storage location of a picture after a picture editing operation, an order of pictures, and a picture editing template.
Therefore, when the image processing apparatus 60 according to the preferred embodiment is used, the stored file generating module 65 receives a picture saving instruction of the user, where the picture saving instruction is an instruction for the user to save the picture display interface after the picture editing (or the picture on the picture display interface after the picture editing). In this way, the storage file generating module 65 may perform a storage operation on the storage location of the edited pictures, the sequence of the pictures, and the picture editing template according to the picture saving instruction, so as to generate a picture storage file.
Preferably, the storage file generating module 65 may further obtain the custom comment, and perform a storage operation on the custom comment, a storage location of the picture after the picture editing operation, and a sequence of the picture to generate the picture storage file.
In the preferred embodiment, since the picture storage file stores the picture editing template corresponding to the saved picture, when the picture storage file is displayed, the correctness of the typesetting (such as the typesetting of 2 × 3 or 3 × 2) of a plurality of pictures can be ensured, and the efficiency of the picture editing operation and the picture displaying operation is further improved.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a picture processing apparatus according to a third preferred embodiment of the invention. The image processing apparatus of the present preferred embodiment can be implemented using the third preferred embodiment of the image processing method described above. The image processing apparatus 70 of the preferred embodiment includes a template acquisition module 71, an image acquisition module 72, a display interface generation module 73, an editing module 74, a storage file generation module 75, a display operation judgment module 76, a first display module 77, and a second display module 78.
The template obtaining module 71 receives a template selection instruction, and obtains a picture editing template according to the template selection instruction; the picture acquisition module 72 is configured to receive a picture selection instruction, and acquire a plurality of pictures according to the picture selection instruction; the display interface generating module 73 is configured to generate a picture display interface according to the picture editing template and the plurality of pictures, where the picture display interface includes a sequence of pictures; the editing module 74 is configured to receive a picture editing instruction, and perform a picture editing operation on a picture in the picture display interface according to the picture editing instruction; the storage file generating module 75 is configured to receive a picture saving instruction, and perform a storage operation on a storage location of a picture after the picture editing operation and a sequence of the picture according to the picture saving instruction, so as to generate a picture storage file; the display operation judgment module 76 is used for judging whether the display operation of the picture storage file is a single picture display operation; the first display module 77 is configured to read and display a picture before picture editing; the second display module 78 is configured to combine the picture before the picture editing operation with the picture editing template after the template editing operation according to the sequence of the picture before the picture editing operation, and display the combined picture.
Wherein the stored file generating module 75 includes a template editing unit 751 and a stored file generating unit 752. The template editing unit 751 is used for performing template editing operation on the picture editing template according to the picture display interface after picture editing; the storage file generating unit 752 is configured to perform a storage operation on the picture editing template after the template editing operation, the storage position of the picture before the picture editing operation, and the order of the pictures before the picture editing operation to generate a picture storage file.
When the image processing apparatus 70 of the preferred embodiment is used, the template obtaining module 71 first receives a template selection instruction of a user, so that the template obtaining module 71 can obtain a corresponding image editing template according to the template selection instruction. The image obtaining module 72 receives a picture selection instruction of the user, so that the image obtaining module 72 can obtain a plurality of pictures according to the picture selection instruction. The display interface generating module 73 synthesizes the picture editing template acquired by the template acquiring module 71 and the plurality of pictures acquired by the picture acquiring module 72 to generate a picture display interface, and the display interface generating module 73 records the setting sequence of the pictures on the picture editing template (i.e. the sequence of the pictures). The editing module 74 receives a picture editing instruction of a user, so that the editing module 74 can perform a picture editing operation on a picture in the picture display interface according to the picture editing instruction.
The template editing unit 751 of the stored file generating module 75 then receives a user's picture saving instruction, which is an instruction for the user to save the picture display interface after the picture editing (or the picture on the picture display interface after the picture editing). The template editing unit 751 can thus perform a template editing operation on the picture editing template according to the picture display interface (or the picture on the picture display interface) after the picture editing operation. Namely, all the picture editing operations performed by the editing module are recorded on the picture editing template.
The stored file generating unit 752 of the stored file generating module 75 then performs a storing operation on the picture editing template after the template editing operation, the storage position of the picture before the picture editing, and the order of the pictures before the picture editing to generate a picture stored file.
Finally, the display operation determining module 76 receives the display operation instruction of the picture storage file of another user, and determines whether the display operation of the picture storage file is a single picture display operation. The single picture display operation herein refers to an operation in which the user views a single picture.
If the display operation is a single-picture display operation, it indicates that the user wants to view a single picture, and since the effect of the previous picture editing operation or template editing operation (set to meet the display requirement of multiple pictures) cannot represent a single picture well, the first display module 77 uses the picture before the picture editing operation to display, so that the user can view a single picture better.
If the display operation is a multi-picture display operation, the display operation is an operation of viewing a plurality of pictures simultaneously. At this time, the second display module 78 synthesizes the picture before the picture editing operation with the picture editing template after the template editing operation according to the sequence of the picture before the picture editing operation, and performs a display operation on the synthesized picture, so that the user can view a plurality of pictures better at the same time.
This completes the picture storing and displaying process of the picture processing apparatus 70 of the present preferred embodiment.
Preferably, the storage file generating unit 752 of the storage file generating module 75 may also directly save the storage location of the picture after the picture editing operation, the storage location of the picture before the picture editing operation, and the order of the pictures to generate the picture storage file. Thus, the first display module 77 and the second display module 78 can also meet the viewing requirements of the user for single pictures and multiple pictures.
Preferably, the storage file generating module 75 may further obtain a custom comment of the user, where the custom comment may be an evaluation of the picture by the user or time and place information of the picture taken by the user. The user can share the picture storage file containing the custom comment to the application such as a friend circle and the like for other friends to check.
The picture processing device of the preferred embodiment stores the picture before editing and the template after editing separately on the basis of the first preferred embodiment, so that the user can view a plurality of edited pictures and a single picture before editing, and the requirements of the user on displaying and viewing different pictures are further met.
The following describes a specific working principle of the image processing method according to the present invention by using a specific embodiment.
First, a picture editing template is selected, in this embodiment, a 2 × 2 picture editing template is selected, as shown in fig. 8.
And secondly, selecting 4 pictures as shown in FIGS. 9A-9D.
And thirdly, synthesizing the selected picture with the picture editing template to generate a picture display interface, as shown in fig. 10.
And fourthly, performing picture editing operation on the picture display interface, and changing the watermark, the overall effect and the like of the picture, wherein in the specific embodiment, the daily and astronomical chart is modified to be happy birthday, as shown in fig. 11.
And fifthly, storing the edited pictures, and storing the storage position of each picture and the sequence of the pictures by the picture processing device to generate a picture storage file.
Sharing the picture storage file in a friend circle interface in a specific mode by a publishing user, filling a corresponding custom comment, and publishing the picture storage file by a friend circle application; the overall effect of the picture storage file that the other users finally see in the circle of friends is the same as that of fig. 11. And the user can also view a single picture by clicking on the picture, and the display effect of the single picture is as shown in fig. 12.
The following describes a specific operation principle of the image processing method according to another embodiment.
First, a picture editing template is selected, in this embodiment, a 2 × 2 picture editing template is selected, as shown in fig. 8.
And secondly, selecting 4 pictures as shown in FIGS. 9A-9D.
And thirdly, synthesizing the selected picture with the picture editing template to generate a picture display interface, as shown in fig. 10.
And fourthly, performing picture editing operation on the picture display interface, and changing the watermark, the overall effect and the like of the picture, wherein in the specific embodiment, the daily and astronomical chart is modified to be happy birthday, as shown in fig. 11.
And fifthly, storing the edited picture display interface through a picture editing template, and storing the storage position of each picture before editing, the sequence of the pictures and the edited picture editing template by the picture processing device to generate a picture storage file.
Sharing the picture storage file in a friend circle interface in a specific mode by a publishing user, filling a corresponding custom comment, and publishing the picture storage file by a friend circle application; the overall effect of the picture storage file that the other users finally see in the circle of friends is the same as that of fig. 11. And the user can also view a single picture by clicking on the picture, and the display effect of the single picture is as shown in fig. 9A.
The picture processing method and the picture processing device realize efficient and rapid display of the pictures by storing the sequence of the pictures; the technical problem that the efficiency of editing and processing the pictures by a user is reduced because the existing picture processing method and the picture processing device can not efficiently and quickly display the pictures is solved.
Each functional unit in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium. The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Each apparatus or system described above may perform the method in the corresponding method embodiment.
In summary, although the present invention has been described with reference to the preferred embodiments, the above-described preferred embodiments are not intended to limit the present invention, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention, therefore, the scope of the present invention shall be determined by the appended claims.

Claims (9)

1. An image processing method, comprising:
receiving a template selection instruction, and acquiring a picture editing template according to the template selection instruction;
receiving a picture selection instruction, and acquiring a plurality of pictures according to the picture selection instruction;
generating a picture display interface according to the picture editing template and the plurality of pictures;
receiving a picture editing instruction, and performing picture editing operation on the picture in the picture display interface according to the picture editing instruction; and
receiving a picture saving instruction, and performing storage operation on the storage position of the picture after the picture editing operation, the sequence of the picture and the picture editing template according to the picture saving instruction to generate a picture storage file; the sequence of the pictures is the display sequence of the pictures in the picture display interface;
if the user views a single picture through the picture storage file, displaying the single picture by using the picture after the picture editing operation; and if the user views the whole picture through the picture storage file, synthesizing the picture after the picture editing operation with the picture editing template according to the sequence of the picture after the picture editing operation, and displaying the synthesized picture.
2. The method according to claim 1, wherein the storing the storage location of the picture and the sequence of the picture after the picture editing operation comprises:
performing template editing operation on the picture editing template according to the picture display interface after the picture editing operation; and
and storing the picture editing template after the template editing operation, the storage position of the picture before the picture editing operation and the sequence of the picture before the picture editing operation to generate a picture storage file.
3. The method of claim 2, wherein the step of storing further comprises, after the step of:
judging whether the display operation of the picture storage file is a single picture display operation or not;
if the display operation of the picture storage file is a single picture display operation, reading and displaying the picture before the picture editing operation; and
if the reading operation of the picture storage file is not a single picture display operation, synthesizing the picture before the picture editing operation and the picture editing template after the template editing operation according to the sequence of the picture before the picture editing operation, and displaying the synthesized picture.
4. The picture processing method according to claim 1, wherein the step of generating a picture storage file further comprises:
and obtaining a custom comment, and storing the custom comment, the storage position of the picture after the picture editing operation and the sequence of the picture to generate a picture storage file.
5. A picture processing apparatus, comprising:
the template acquisition module is used for receiving a template selection instruction and acquiring a picture editing template according to the template selection instruction;
the image acquisition module is used for receiving an image selection instruction and acquiring a plurality of images according to the image selection instruction;
the display interface generating module is used for generating a picture display interface according to the picture editing template and the pictures;
the editing module is used for receiving a picture editing instruction and carrying out picture editing operation on the picture in the picture display interface according to the picture editing instruction; and
the storage file generation module is used for receiving a picture storage instruction and performing storage operation on the storage position of the picture after the picture editing operation, the sequence of the picture and the picture editing template according to the picture storage instruction so as to generate a picture storage file; the sequence of the pictures is the display sequence of the pictures in the picture display interface;
if the user views a single picture through the picture storage file, displaying the single picture by using the picture after the picture editing operation; and if the user views the whole picture through the picture storage file, synthesizing the picture after the picture editing operation with the picture editing template according to the sequence of the picture after the picture editing operation, and displaying the synthesized picture.
6. The image processing apparatus according to claim 5, wherein the storage file generation module includes:
the template editing unit is used for carrying out template editing operation on the picture editing template according to the picture display interface after the picture is edited; and
and the storage file generation unit is used for performing storage operation on the picture editing template after the template editing operation, the storage position of the picture before the picture editing operation and the sequence of the picture before the picture editing operation so as to generate a picture storage file.
7. The picture processing device according to claim 6, further comprising:
the display operation judging module is used for judging whether the display operation of the picture storage file is a single picture display operation;
the first display module is used for reading and displaying the picture before the picture editing operation; and
and the second display module is used for synthesizing the picture before the picture editing operation and the picture editing template after the template editing operation according to the sequence of the picture before the picture editing operation and displaying the synthesized picture.
8. The image processing apparatus according to claim 5, wherein the storage file generation module is configured to obtain a custom comment, and perform a storage operation on the custom comment, a storage location of the image after the image editing operation, and an order of the image to generate an image storage file.
9. A storage medium having stored therein processor-executable instructions, the instructions being loaded by one or more processors to perform the picture processing method of any one of claims 1 to 4.
CN201410356153.XA 2014-07-24 2014-07-24 Picture processing method and picture processing device Active CN105320509B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410356153.XA CN105320509B (en) 2014-07-24 2014-07-24 Picture processing method and picture processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410356153.XA CN105320509B (en) 2014-07-24 2014-07-24 Picture processing method and picture processing device

Publications (2)

Publication Number Publication Date
CN105320509A CN105320509A (en) 2016-02-10
CN105320509B true CN105320509B (en) 2020-03-17

Family

ID=55247942

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410356153.XA Active CN105320509B (en) 2014-07-24 2014-07-24 Picture processing method and picture processing device

Country Status (1)

Country Link
CN (1) CN105320509B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US12008226B2 (en) 2020-03-18 2024-06-11 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Image editing method, storage medium, and terminal device

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105825534B (en) * 2016-03-15 2021-06-04 北京金山安全软件有限公司 Picture processing method and device
CN105988665B (en) * 2016-03-17 2017-06-16 广州阿里巴巴文学信息技术有限公司 Information dubbing system, information duplicating method and electronic equipment
CN106302790A (en) * 2016-08-30 2017-01-04 广西德高仕安全技术有限公司 A kind of safe community activity delivery system based on wechat public service platform
CN106407365A (en) * 2016-09-08 2017-02-15 北京小米移动软件有限公司 Picture sharing method and apparatus
CN107798655A (en) * 2017-10-19 2018-03-13 佛山市章扬科技有限公司 A kind of image processing method
CN107958477A (en) * 2017-11-15 2018-04-24 维沃移动通信有限公司 A kind of image processing method, mobile terminal
CN110209310B (en) * 2019-04-19 2021-04-27 维沃软件技术有限公司 Picture processing method and terminal equipment
CN110490808B (en) * 2019-08-27 2023-07-07 腾讯科技(深圳)有限公司 Picture splicing method, device, terminal and storage medium
CN111243632B (en) * 2020-01-02 2022-06-24 北京达佳互联信息技术有限公司 Multimedia resource generation method, device, equipment and storage medium
CN111340916A (en) * 2020-03-18 2020-06-26 Oppo广东移动通信有限公司 Picture editing method and device, storage medium and terminal

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103475572A (en) * 2013-04-27 2013-12-25 腾讯科技(深圳)有限公司 Method, device and system for sending multiple pictures in instant messaging application
CN103634650A (en) * 2013-11-06 2014-03-12 康佳集团股份有限公司 Intelligent television platform-based picture processing method and intelligent television platform-based picture processing system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101510312B (en) * 2009-03-16 2013-09-11 广州市有福数码科技有限公司 Method, device and system for making electronic photo album
CN102930522B (en) * 2012-11-12 2015-11-25 北京奇虎科技有限公司 A kind of apparatus and method realizing picture splicing
CN103337086B (en) * 2013-06-17 2015-11-25 北京金山安全软件有限公司 picture editing method and device for mobile terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103475572A (en) * 2013-04-27 2013-12-25 腾讯科技(深圳)有限公司 Method, device and system for sending multiple pictures in instant messaging application
CN103634650A (en) * 2013-11-06 2014-03-12 康佳集团股份有限公司 Intelligent television platform-based picture processing method and intelligent television platform-based picture processing system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US12008226B2 (en) 2020-03-18 2024-06-11 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Image editing method, storage medium, and terminal device

Also Published As

Publication number Publication date
CN105320509A (en) 2016-02-10

Similar Documents

Publication Publication Date Title
CN105320509B (en) Picture processing method and picture processing device
US9560414B1 (en) Method, apparatus and system for dynamic content
US9881222B2 (en) Optimizing a visual perspective of media
US10163173B1 (en) Methods for generating a cover photo with user provided pictures
US20160253298A1 (en) Photo and Document Integration
EP2793170A2 (en) Objects in screen images
US9420172B2 (en) Electronic device for editing dual image and method thereof
CN106537371B (en) Visualization suggestions
KR20150107817A (en) Integration for applications and containers
CN108369595B (en) Extensibility of collectible data structures
KR102310654B1 (en) Resizing technique for display content
WO2014015083A1 (en) Transforming data to create layouts
WO2019047508A1 (en) Method for processing e-book comment information, electronic device and storage medium
CN105512187B (en) Information display method and information display device based on display picture
US11314408B2 (en) Computationally efficient human-computer interface for collaborative modification of content
US20130036196A1 (en) Method and system for publishing template-based content
CN111970571B (en) Video production method, device, equipment and storage medium
US11526322B2 (en) Enhanced techniques for merging content from separate computing devices
US20190129929A1 (en) Coordination of storyline content composed in multiple productivity applications
US20200250869A1 (en) Annotating an image with a texture fill
US20140157147A1 (en) Feedback system, feedback method and recording media thereof
US9990694B2 (en) Methods and devices for outputting a zoom sequence
TWI514319B (en) Methods and systems for editing data using virtual objects, and related computer program products
CN114584704A (en) Shooting method and device and electronic equipment
CN114564921A (en) Document editing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant