Image editing rollback method and device

By generating and using operation instructions that include the state before and after the image editing operation, the problem of time-consuming and labor-consuming image editing back is solved, and the rapid fallback to the initial state is achieved, and the fallback efficiency is improved.

CN113920220BActive Publication Date: 2024-12-31DOUYIN VISION CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202010658004.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-09
Publication Date
2024-12-31
Estimated Expiration
2040-07-09

AI Technical Summary

Technical Problem

In the prior art, the image editing fallback operation is time-consuming and labor-intensive, especially when there are many settings, it is difficult to fall back to the state before the image editing operation.

Method used

By generating operation instructions including the first attribute state before the image editing operation and the second attribute state after the editing operation, recording these states, and using these instructions to quickly restore the image to the initial state during the fallback operation, providing an image with a kind of image The editing fallback method and device, including an instruction generation module and an interface display module, is used to present and restore the editing interface.

Benefits of technology

It realizes rapid fallback to the state before the image editing operation, improves the fallback efficiency, and reduces the time and energy consumption of the fallback process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113920220B_ABST
    Figure CN113920220B_ABST
Patent Text Reader

Abstract

The present disclosure discloses an image editing rollback method, device, electronic device and computer-readable storage medium. The method includes: in response to an editing operation on an image, generating an operation instruction corresponding to the editing operation; wherein the operation instruction includes a first attribute state of the image before performing the editing operation and a second attribute state of the image after performing the editing operation; presenting a first editing interface of the image according to the second attribute state recorded in the operation instruction; in response to a rollback operation of the editing operation, presenting a second editing interface of the image according to the first attribute state recorded in the operation instruction. The embodiment of the present disclosure can quickly return to the second editing interface of the image, thereby improving the rollback efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of image processing technology, and in particular to an image editing rollback method, device and computer-readable storage medium. Background Art

[0002] With the development of smart terminal technology, the functions of smart terminals are becoming more and more diversified. For example, users can use the camera in the terminal to shoot images (e.g., photos or videos), which has become a new mode of entertainment for people. However, simply shooting images can no longer meet the needs of users. As a result, how to edit and roll back the captured images to obtain more interesting images has become the focus of people's attention.

[0003] In the process of special effects production, many image editing operations are involved. Through image editing operations, some parameters can be set in the image. These parameters include setting special effects and special effect properties (for example, playback duration, added special effect objects, special effect triggering methods, special effect triggering operations, etc.). Each image editing operation may correspond to multiple setting parameters. When rolling back, these setting parameters will be rolled back one by one. When there are many setting parameters, rolling back to the state before the image editing operation is more time-consuming and labor-intensive. Summary of the invention

[0004] This summary is provided to introduce concepts in a brief form that will be described in detail in the detailed description below. This summary is not intended to identify key features or essential features of the claimed technical solution, nor is it intended to limit the scope of the claimed technical solution.

[0005] The technical problem solved by the present disclosure is to provide an image editing rollback method to at least partially solve the technical problem of time-consuming and labor-intensive rollback in the prior art. In addition, an image editing rollback device, an image editing rollback hardware device, a computer-readable storage medium and an image editing rollback terminal are also provided.

[0006] In order to achieve the above object, according to one aspect of the present disclosure, the following technical solution is provided:

[0007] An image editing rollback method, comprising:

[0008] In response to an editing operation on an image, generating an operation instruction corresponding to the editing operation; wherein the operation instruction includes a first attribute state of the image before the editing operation is performed and a second attribute state of the image after the editing operation is performed;

[0009] presenting a first editing interface of the image according to the second attribute state recorded in the operation instruction;

[0010] In response to a rollback operation of the editing operation, a second editing interface of the image is presented according to the first attribute state recorded in the operation instruction.

[0011] In order to achieve the above object, according to one aspect of the present disclosure, the following technical solution is provided:

[0012] An image editing rollback device, comprising:

[0013] An instruction generation module, configured to generate an operation instruction corresponding to an editing operation on an image in response to the editing operation on the image; wherein the operation instruction includes a first attribute state of the image before the editing operation is performed and a second attribute state of the image after the editing operation is performed;

[0014] A first interface display module, used for presenting a first editing interface of the image according to the second attribute state recorded in the operation instruction;

[0015] The second interface display module is used to present a second editing interface of the image in response to a rollback operation of the editing operation and according to the first attribute state recorded in the operation instruction.

[0016] In order to achieve the above object, according to one aspect of the present disclosure, the following technical solution is provided:

[0017] An electronic device, comprising:

[0018] a memory for storing non-transitory computer-readable instructions; and

[0019] A processor is used to run the computer-readable instructions so that the processor implements any of the above-mentioned image editing rollback methods when executing the instructions.

[0020] In order to achieve the above object, according to one aspect of the present disclosure, the following technical solution is provided:

[0021] A computer-readable storage medium is used to store non-transitory computer-readable instructions. When the non-transitory computer-readable instructions are executed by a computer, the computer is enabled to execute any one of the above-mentioned image editing rollback methods.

[0022] In order to achieve the above object, according to another aspect of the present disclosure, the following technical solution is also provided:

[0023] An image editing rollback terminal comprises any one of the above-mentioned image editing rollback devices.

[0024] The disclosed embodiment generates an operation instruction corresponding to an editing operation on an image in response to the editing operation; wherein the operation instruction includes a first attribute state of the image before performing the editing operation and a second attribute state of the image after performing the editing operation; a first editing interface of the image is presented according to the second attribute state recorded in the operation instruction; in response to a rollback operation of the editing operation, a second editing interface of the image is presented according to the first attribute state recorded in the operation instruction, so that the image can be quickly returned to the second editing interface of the image, thereby improving the rollback efficiency.

[0025] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the following preferred embodiments are specifically cited and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.

[0027] Figure 1 A flowchart of an image editing rollback method according to an embodiment of the present disclosure;

[0028] Figure 2 It is a schematic diagram of the process of an image editing rollback device according to an embodiment of the present disclosure;

[0029] Figure 3 The figure is a schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0030] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0031] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders or in parallel. In addition, the method embodiments may include additional steps or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0032] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0033] Embodiment 1

[0034] In order to solve the technical problem that rollback is time-consuming and labor-intensive in the prior art, the present disclosure provides an image editing rollback method. Figure 1 As shown, the image editing rollback method mainly includes the following steps S11 to S13.

[0035] Step S11: In response to an editing operation on an image, generating an operation instruction corresponding to the editing operation; wherein the operation instruction includes a first attribute state of the image before performing the editing operation and a second attribute state of the image after performing the editing operation.

[0036] The editing operation may be performed in an image editor, which may be a special effect production device, such as Effect Creator.

[0037] Among them, the image is an image that requires special effects design, the special effects are special effects added to the image, and the first attribute state is the attribute parameters of the special effects set by the user for the image before the editing operation, such as playback duration, added special effects object, special effects triggering method, special effects triggering operation, etc.

[0038] The editing operation may be adding or deleting an image, adding or deleting or changing the image special effects, setting special effect parameters, etc. The original state of the current interface is the state corresponding to the current interface before the editing operation is performed.

[0039] Specifically, a corresponding operation instruction is generated for each operation of the user on the image, and these operation instructions are independent of each other. In order to facilitate management, these operation instructions can be classified, for example, into special effect attribute operation instructions, click operation instructions, special effect level operation instructions, etc. These operation instructions correspond to a unified fallback call interface.

[0040] Step S12: presenting a first editing interface of the image according to the second attribute state recorded in the operation instruction.

[0041] The second attribute state is the attribute parameters of the special effects set by the user for the image after the editing operation, such as the playing time, the added special effects object, the special effects triggering mode, the special effects triggering operation, etc. The first editing interface is associated with the second attribute state, and the first editing interface includes an image display area and a parameter display area, and the image display area and the parameter display area both display the state of the interface after the editing operation is performed.

[0042] Step S13: In response to the rollback operation of the editing operation, presenting a second editing interface of the image according to the first attribute state recorded in the operation instruction.

[0043] The rollback operation is used to cancel the editing operation, so that the special effects of the image return from the second attribute state to the first attribute state, that is, the editing interface of the image is restored from the first editing interface to the second editing interface. The second editing interface includes an image display area and a parameter display area, and the image display area and the parameter display area both display the state of the editing interface before the editing operation is performed.

[0044] Specifically, a back button may be provided in the menu bar of the image editor, and the user generates the back operation by triggering the back button.

[0045] This embodiment generates an operation instruction corresponding to the editing operation on the current interface of the image in the image editor in response to the editing operation; wherein the operation instruction includes a first attribute state of the image before performing the editing operation and a second attribute state of the image before performing the editing operation and the original state of the current interface; the first editing interface of the image is presented according to the second attribute state recorded in the operation instruction; in response to the rollback operation of the current interface in the image editor of the editing operation, the second editing interface of the image is presented according to the first attribute state recorded in the operation instruction, so that the image can be quickly returned to the second editing interface, thereby improving the rollback efficiency.

[0046] In an optional embodiment, the second editing interface may be included in the operation instruction. Specifically, in response to the rollback operation of the editing operation, the second editing interface of the image is directly obtained from the operation instruction and presented, which can further improve the rollback efficiency.

[0047] In an optional embodiment, the first editing interface may be included in the operation instruction. Specifically, in response to an editing operation on an image, an operation instruction corresponding to the editing operation is generated, and the first editing interface of the image is directly obtained from the operation instruction when presenting, which can further improve display efficiency.

[0048] The first editing interface may be one or more. For example, when there are multiple first editing interfaces, one of the editing interfaces may be an interface that includes an image, displays the added first special effect and the second special effect, adds the first special effect, and sets the special effect properties of the first special effect, and another editing interface may be an interface that adds the second special effect and sets the special effect properties of the second special effect.

[0049] For example, if the editing operation is to delete the second special effect displayed in one of the editing interfaces, the added second special effect and the special effect properties of the second special effect set in the corresponding other editing interface will also be deleted accordingly.

[0050] In an optional embodiment, the operation instruction corresponds to one or more attributes of the image, the first attribute state and the second attribute state are both used to indicate the state of the one or more attributes, and the one or more attributes are attributes of the same level.

[0051] Specifically, in order to facilitate management and improve rollback efficiency, the attributes may be graded in advance. For example, the same or similar special effect attributes may be classified as the same level, and then the corresponding operation instructions may be graded according to the included attributes.

[0052] Those skilled in the art should understand that, based on the above-mentioned embodiments, obvious modifications (for example, superposition of the listed modes) or equivalent substitutions may be made.

[0053] In the above, although the various steps in the image editing rollback method embodiment are described in the above order, those skilled in the art should be aware that the steps in the embodiments of the present disclosure are not necessarily executed in the above order, and they may also be executed in other orders such as reverse order, parallel order, and cross order. Moreover, on the basis of the above steps, those skilled in the art may also add other steps. These obvious variations or equivalent replacement methods should also be included in the protection scope of the present disclosure and will not be repeated here.

[0054] The following is an embodiment of the device disclosed in the present invention. The embodiment of the device disclosed in the present invention can be used to execute the steps implemented by the embodiment of the method disclosed in the present invention. For the convenience of explanation, only the parts related to the embodiment of the present invention are shown. For specific technical details not disclosed, please refer to the embodiment of the method disclosed in the present invention.

[0055] Embodiment 2

[0056] In order to solve the technical problem that the rollback operation in the prior art is time-consuming and labor-intensive, the present disclosure provides an image editing rollback device. The device can execute the steps in the image editing rollback method embodiment described in the above embodiment 1. Figure 2 As shown, the device mainly includes: an instruction generation module 21, a first interface display module 22 and a second interface display module 23; wherein,

[0057] The instruction generation module 21 is used to generate an operation instruction corresponding to an editing operation on a current interface of an image in an image editor; wherein the operation instruction includes a first attribute state of the image before the editing operation is performed and a second attribute state of the image before the editing operation is performed (the original state of the current interface);

[0058] The first interface display module 22 is used for presenting a first editing interface of the image according to the second attribute state recorded in the operation instruction;

[0059] The second interface display module 23 is used to respond to the rollback operation of the current interface in the editing operation image editor and present a second editing interface of the image according to the first attribute state recorded from the operation instruction.

[0060] Furthermore, the operation instruction also includes the second editing interface.

[0061] Furthermore, the operation instruction also includes the first editing interface.

[0062] Furthermore, all the operation instructions correspond to a unified rollback calling interface.

[0063] Furthermore, the current first editing interface and the second editing interface both contain at least one item of data including an image display area and a parameter display area, special effects, and special effect attributes.

[0064] Furthermore, the operation instruction corresponds to one or more attributes of the image in a hierarchical manner, and the first attribute state and the second attribute state are both used to indicate the state of the one or more attributes, and the one or more attributes are attributes of the same level.

[0065] For detailed descriptions on the working principle, technical effects achieved, etc. of the embodiment of the image editing rollback device, please refer to the relevant descriptions in the aforementioned embodiment of the image editing rollback method, which will not be repeated here.

[0066] Embodiment 3

[0067] Reference below Figure 3 , which shows a schematic diagram of the structure of an electronic device 300 suitable for implementing the embodiment of the present disclosure. The terminal device in the embodiment of the present disclosure may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle terminals (such as vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 3The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0068] like Figure 3 As shown, the electronic device 300 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 301, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 302 or a program loaded from a storage device 308 into a random access memory (RAM) 303. In the RAM 303, various programs and data required for the operation of the electronic device 300 are also stored. The processing device 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.

[0069] Typically, the following devices may be connected to the I / O interface 305: input devices 306 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 307 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 308 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 309. The communication devices 309 may allow the electronic device 300 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 3 The electronic device 300 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0070] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 309, or installed from the storage device 308, or installed from the ROM 302. When the computer program is executed by the processing device 301, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0071] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any superposition of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any superposition of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable superposition of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable superposition of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable superposition of the above.

[0072] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0073] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0074] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: generates an operation instruction corresponding to the editing operation in response to the editing operation on the image; wherein the operation instruction includes a first attribute state of the image before performing the editing operation and a second attribute state of the image after performing the editing operation; presents a first editing interface of the image according to the second attribute state recorded in the operation instruction; and presents a second editing interface of the image according to the first attribute state recorded in the operation instruction in response to the rollback operation of the editing operation.

[0075] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or superpositions thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0076] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the superposition of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with the superposition of special hardware and computer instructions.

[0077] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware. The name of a unit does not limit the unit itself in some cases. For example, the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses".

[0078] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0079] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable superposition of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable superposition of the foregoing.

[0080] According to one or more embodiments of the present disclosure, a method for image editing rollback is provided, comprising:

[0081] In response to an editing operation on an image, generating an operation instruction corresponding to the editing operation; wherein the operation instruction includes a first attribute state of the image before the editing operation is performed and a second attribute state of the image after the editing operation is performed;

[0082] presenting a first editing interface of the image according to the second attribute state recorded in the operation instruction;

[0083] In response to a rollback operation of the editing operation, a second editing interface of the image is presented according to the first attribute state recorded in the operation instruction.

[0084] Furthermore, the operation instruction also includes the second editing interface.

[0085] Furthermore, the operation instruction also includes the first editing interface.

[0086] Furthermore, the operation instruction corresponds to a unified rollback calling interface.

[0087] Furthermore, the first editing interface and the second editing interface both include an image display area and a parameter display area.

[0088] Furthermore, the operation instruction corresponds to one or more attributes of the image, the first attribute state and the second attribute state are both used to indicate the state of the one or more attributes, and the one or more attributes are attributes of the same level.

[0089] According to one or more embodiments of the present disclosure, there is provided an image editing rollback device, comprising:

[0090] An instruction generation module, configured to generate an operation instruction corresponding to an editing operation on an image in response to the editing operation on the image; wherein the operation instruction includes a first attribute state of the image before the editing operation is performed and a second attribute state of the image after the editing operation is performed;

[0091] A first interface display module, used for presenting a first editing interface of the image according to the second attribute state recorded in the operation instruction;

[0092] The second interface display module is used to present a second editing interface of the image in response to a rollback operation of the editing operation and according to the first attribute state recorded in the operation instruction.

[0093] Furthermore, the operation instruction also includes the second editing interface.

[0094] Furthermore, the operation instruction also includes the first editing interface.

[0095] Furthermore, the operation instruction corresponds to a unified rollback calling interface.

[0096] Furthermore, the first editing interface and the second editing interface both include an image display area and a parameter display area.

[0097] Furthermore, the operation instruction corresponds to one or more attributes of the image, the first attribute state and the second attribute state are both used to indicate the state of the one or more attributes, and the one or more attributes are attributes of the same level.

[0098] According to one or more embodiments of the present disclosure, there is provided an electronic device, including:

[0099] a memory for storing non-transitory computer-readable instructions; and

[0100] A processor is used to run the computer-readable instructions so that the processor implements the above-mentioned image editing rollback method when executing.

[0101] According to one or more embodiments of the present disclosure, a computer-readable storage medium is provided for storing non-transitory computer-readable instructions. When the non-transitory computer-readable instructions are executed by a computer, the computer is caused to execute the above-mentioned image editing rollback method.

[0102] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solution formed by the specific superposition of the above-mentioned technical features, but should also cover other technical solutions formed by any superposition of the above-mentioned technical features or their equivalent features without departing from the above-mentioned disclosure concept. For example, the above-mentioned features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) to form a technical solution.

[0103] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in a superimposed manner. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-superimposed mode.

[0104] Although the subject matter has been described in language specific to structural features or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Instead, the specific features and actions described above are merely example forms of implementing the claims.

Claims

1. An image editing rollback method, characterized in that: include: In response to an editing operation on an image, an operation instruction corresponding to the editing operation is generated; wherein the operation instruction includes a first attribute state of the image before the editing operation is performed, a second attribute state of the image after the editing operation is performed, and a second editing interface corresponding to the first attribute state; presenting a first editing interface of the image according to the second attribute state recorded in the operation instruction; In response to a rollback operation of the editing operation, a second editing interface of the image is presented according to the first attribute state and the second editing interface recorded in the operation instruction.

2. The method according to claim 1, characterized in that The operation instruction also includes the first editing interface.

3. The method according to claim 1, characterized in that The operation instruction corresponds to a unified rollback calling interface.

4. The method according to any one of claims 1 to 3, characterized in that: The first editing interface and the second editing interface both include an image display area and a parameter display area.

5. The method according to any one of claims 1 to 3, characterized in that: The operation instruction corresponds to one or more attributes of the image, the first attribute state and the second attribute state are both used to indicate the state of the one or more attributes, and the one or more attributes are attributes of the same level.

6. An image editing rollback device, characterized in that: include: An instruction generation module, configured to generate an operation instruction corresponding to an editing operation on an image in response to the editing operation; wherein the operation instruction includes a first attribute state of the image before the editing operation is performed, a second attribute state of the image after the editing operation is performed, and a second editing interface corresponding to the first attribute state; A first interface display module, used for presenting a first editing interface of the image according to the second attribute state recorded in the operation instruction; The second interface display module is used to present the second editing interface of the image in response to the rollback operation of the editing operation according to the first attribute state and the second editing interface recorded in the operation instruction.

7. An electronic device comprising: a memory for storing non-transitory computer-readable instructions; as well as A processor is used to run the computer-readable instructions so that the processor implements the image editing rollback method according to any one of claims 1-5 when executing.

8. A computer-readable storage medium for storing non-transitory computer-readable instructions, which, when executed by a computer, causes the computer to execute the image editing rollback method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Document Editing Apparatus And Document Editing Method

    CN104424169A

  • Image processing method and mobile terminal

    CN107295218A

  • Display page control method and device

    CN107885571A

  • Method, apparatus and system for recovering data in file

    CN109521914A

  • Editing operation processing method and device and electronic equipment

    CN110389796A