CN113888676A - Picture editing method and device and readable storage medium - Google Patents

Picture editing method and device and readable storage medium Download PDF

Info

Publication number
CN113888676A
CN113888676A CN202111214740.1A CN202111214740A CN113888676A CN 113888676 A CN113888676 A CN 113888676A CN 202111214740 A CN202111214740 A CN 202111214740A CN 113888676 A CN113888676 A CN 113888676A
Authority
CN
China
Prior art keywords
layer
layers
picture
target
editing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111214740.1A
Other languages
Chinese (zh)
Inventor
詹孟学
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bright Jupiter Private Ltd
Original Assignee
Lemei Technology 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 Lemei Technology Co ltd filed Critical Lemei Technology Co ltd
Priority to CN202111214740.1A priority Critical patent/CN113888676A/en
Publication of CN113888676A publication Critical patent/CN113888676A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour

Abstract

The embodiment of the invention provides a picture editing method, a picture editing device and a readable storage medium, which are applied to a picture processing client, wherein a plurality of layers are preset in an editing interface of the picture processing client; each layer is used for placing picture elements added by a user during picture editing; the method comprises the following steps: when receiving and detecting that a preset selected instruction operation is locked aiming at a target layer, switching a current operation layer in the editing interface to the target layer, and setting picture elements of other layers except the target layer to be in a non-editable state; determining picture elements selected by a user in the target layer as target elements; and when the editing operation aiming at the target element is detected, responding the editing operation to the target element. Therefore, by the scheme, the occurrence of false touch caused by adding more picture elements during picture creation can be effectively reduced.

Description

Picture editing method and device and readable storage medium
Technical Field
The present invention relates to the field of image processing technologies, and in particular, to an image editing method and apparatus, and a readable storage medium.
Background
At present, the performance of the mobile terminal is enough to support the user to compose complicated pictures. However, if a user adds more picture elements such as characters and decorations when creating a picture, the size of the mobile terminal is limited, different picture elements are shielded from each other, and the picture elements are densely arranged, which often causes a wrong touch, and makes it difficult for the user to create the picture.
Therefore, how to effectively reduce the false touches caused by adding more picture elements when creating pictures is an urgent problem to be solved.
Disclosure of Invention
An object of embodiments of the present invention is to provide a method and an apparatus for editing a picture, and a readable storage medium, so as to reduce the occurrence of false touches caused by adding more picture elements when creating a picture. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides a picture editing method, which is applied to a picture processing client, where an editing interface of the picture processing client is preset with a plurality of layers; each layer is used for placing picture elements added by a user during picture editing; the method comprises the following steps:
when a preset selection operation for a target layer is detected, switching a current operation layer in the editing interface to the target layer, and setting picture elements of layers except the target layer to be in a non-editable state; the target layer is any one of the plurality of layers;
determining picture elements selected by a user in the target layer as target elements;
when an editing operation for the target element is detected, responding to the editing operation for the target element.
Optionally, the setting, to a non-editable state, the picture elements in layers other than the target layer includes:
hiding all layers in other layers except the target layer;
alternatively, the first and second electrodes may be,
and hiding the appointed image layers in the other image layers, and locking the picture elements of the image layers except the appointed image layers in the other image layers.
Optionally, after performing hiding processing on all layers in other layers except the target layer or performing hiding processing on a specified layer in the other layers, the method further includes:
and when an image layer preview instruction is received, displaying the plurality of image layers in the editing interface.
Optionally, the editing interface includes a plurality of layer icons, and each layer icon corresponds to only one layer;
the predetermined selecting operation for the target layer comprises the following steps:
and selecting the layer icon of the target layer.
Optionally, the plurality of layer icons are icons in a preset carousel menu.
In a second aspect, an embodiment of the present invention provides a picture editing apparatus, which is applied to a picture processing client, where an editing interface of the picture processing client is preset with a plurality of layers; each layer is used for placing picture elements added by a user during picture editing; the device comprises:
the setting module is used for switching the current operation layer in the editing interface to the target layer and setting picture elements of other layers except the target layer to be in an uneditable state when a preset selection operation for the target layer is detected; the target layer is any one of the plurality of layers;
the determining module is used for determining the picture elements selected by the user in the target layer as target elements;
and the response module is used for responding the editing operation to the target element when the editing operation aiming at the target element is detected.
Optionally, the setting module sets the picture elements of the layers other than the target layer to be in a non-editable state, including:
hiding all layers in other layers except the target layer;
alternatively, the first and second electrodes may be,
and hiding the appointed image layers in the other image layers, and locking the picture elements of the image layers except the appointed image layers in the other image layers.
Optionally, the apparatus further comprises:
and the display module is used for displaying the plurality of layers in the editing interface when a layer preview instruction is received after all layers in other layers except the target layer are subjected to hiding processing or specified layers in the other layers are subjected to hiding processing.
Optionally, the editing interface includes a plurality of layer icons, and each layer icon corresponds to only one layer;
the predetermined selecting operation for the target layer comprises the following steps:
and selecting the layer icon of the target layer.
Optionally, the plurality of layer icons are icons in a preset carousel menu.
In a third aspect, an embodiment of the present invention provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor and the communication interface complete communication between the memory and the processor through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing the steps of the picture editing method when executing the program stored in the memory.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the above-mentioned picture editing method are implemented.
The embodiment of the invention also provides a computer program product containing instructions, which when run on a computer, enables the computer to execute the picture editing method.
The embodiment of the invention has the following beneficial effects:
the picture editing method provided by the embodiment of the invention is applied to a picture processing client, wherein a plurality of layers are preset in an editing interface of the picture processing client; each layer is used for placing picture elements added by a user during picture editing; the method comprises the following steps: when a preset selection operation for a target layer is detected, switching a current operation layer in the editing interface to the target layer, and setting picture elements of layers except the target layer to be in a non-editable state; determining picture elements selected by a user in the target layer as target elements; when an editing operation for a target element is detected, the editing operation is responded to the target element. In the scheme, the picture elements in other layers except the target layer are set to be in the non-editable state, and the layer elements in the target layer are edited, so that the number of the picture elements which are possibly touched by mistake is reduced when the picture elements are edited. Therefore, by the scheme, the occurrence of false touch caused by adding more picture elements during picture creation can be effectively reduced.
Of course, not all of the advantages described above need to be achieved at the same time in the practice of any one product or method of the invention.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other embodiments can be obtained by referring to these drawings.
Fig. 1 is a schematic flowchart of a picture editing method according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating a menu of a wheel according to an embodiment of the present invention;
FIG. 3 is a block diagram of a picture editing apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived from the embodiments given herein by one of ordinary skill in the art, are within the scope of the invention.
At present, a user can insert a plurality of picture elements into an editing interface of a picture processing client of a mobile terminal and perform editing operation on the inserted picture elements, so as to create a picture required by the user. The picture element may be a graphic, a text box, a picture, etc. carried by the picture processing client, or a graphic, a picture, etc. downloaded by the user in advance. Also, the editing operation for a picture element may be an adjustment operation for the shape, size, position, upper and lower layer relationship, picture parameters (e.g., hue, brightness, contrast, saturation), and the like of the picture element.
However, due to the size of the mobile terminal, if more picture elements are added to the editing interface of the picture processing client, the picture elements are mutually shielded and densely arranged, which often causes the occurrence of false touch and brings difficulty to the user to create the picture. For example: when a picture element needs to be edited, other adjacent picture elements which are not used for editing temporarily are touched by mistake, so that a user is difficult to edit the picture element which the user wants to edit.
In order to effectively reduce the false touches caused by adding more picture elements when creating a picture, the present invention provides a picture editing method, an apparatus, an electronic device, and a readable storage medium.
The picture editing method provided by the embodiment of the invention is applied to a picture processing client, wherein a plurality of layers are preset in an editing interface of the picture processing client; each layer is used for placing picture elements added by a user during picture editing; the method comprises the following steps:
when a preset selection operation for a target layer is detected, switching a current operation layer in the editing interface to the target layer, and setting picture elements of layers except the target layer to be in a non-editable state; the target layer is any one of the plurality of layers;
determining picture elements selected by a user in the target layer as target elements;
when an editing operation for the target element is detected, responding to the editing operation for the target element.
The image processing client can be any client running in the electronic equipment and having an image creation function. Illustratively, the electronic device may be a smartphone, a tablet computer, or the like.
The picture editing method provided by the embodiment of the invention is applied to a picture processing client, wherein a plurality of layers are preset in an editing interface of the picture processing client; each layer is used for placing picture elements added by a user during picture editing; the method comprises the following steps: when a preset selection operation for a target layer is detected, switching a current operation layer in the editing interface to the target layer, and setting picture elements of layers except the target layer to be in a non-editable state; determining picture elements selected by a user in the target layer as target elements; when an editing operation for a target element is detected, the editing operation is responded to the target element. In the scheme, the picture elements in other layers except the target layer are set to be in the non-editable state, and the layer elements in the target layer are edited, so that the number of the picture elements which are possibly touched by mistake is reduced when the picture elements are edited. Therefore, by the scheme, the occurrence of false touch caused by adding more picture elements during picture creation can be effectively reduced.
A picture editing method provided in an embodiment of the present invention is described below with reference to the accompanying drawings.
As shown in fig. 1, the picture editing method provided in the embodiment of the present invention is applied to a picture processing client, where an editing interface of the picture processing client is preset with a plurality of layers; each layer is used for placing picture elements added by a user during picture editing; the method comprises the following steps:
s101, when a preset selection operation for a target layer is detected, switching a current operation layer in the editing interface to the target layer, and setting picture elements of layers except the target layer to be in a non-editable state; the target layer is any one of the plurality of layers;
before a user creates a picture, a plurality of layers are preset in an editing interface of a picture processing client, and in addition, it can be understood that the preset number of layers can be modified according to requirements, and when the preset number of layers cannot meet the requirements of the user, the user can also add new layers at any time.
For any layer set in the editing interface, when detecting an element addition operation on the layer, the picture processing client may respond to the element addition operation to add a picture element indicated by the element addition operation in the layer. For any layer, the element adding operation may be a dragging operation for a picture element, and at this time, the picture element is added to the layer by dragging the picture element into an editing interface; of course, the element adding operation may also be a selection operation of a picture element, and at this time, the picture element is added to the layer by selecting the picture element.
In order to solve the problem of the prior art, when any picture element needs to be edited, a user can perform predetermined selection operation on a target layer; correspondingly, the picture processing client may detect a predetermined selection operation for the target layer, and then respond to the predetermined selection operation, that is, switch the currently operated picture layer in the editing interface to the target layer, and set the picture elements of the layers other than the target layer to be in a non-editable state, so as to lock the picture elements of the layers other than the target layer, thereby reducing the number of the picture elements which may be touched by mistake.
The original layers do not have any picture elements. For example, in one implementation, when starting to compose a picture, a user may insert a plurality of picture elements in an editing interface of a picture processing client, and mark different layers for each picture element while inserting the picture elements. And then, when the picture processing client detects a preset selection operation aiming at the target layer, switching the current operation layer in the editing interface to the target layer indicated by the selection operation, and setting picture elements of other layers to be in an uneditable state. When a user performs a predetermined selection operation on another target layer, setting the picture element in the layer indicated by the selection operation to be in an editable state, and setting the picture element in the previous layer to be in a non-editable state. Of course, the user can also add new picture elements at any time during the editing process.
In another implementation manner, when a picture is created, a picture processing client defaults to select or a user selects one picture layer, the user inserts one or more picture elements in the picture layer, edits the picture elements in the picture layer, and performs a predetermined selection operation for another target picture layer after the picture elements are edited; the picture processing client detects a preset selection operation aiming at the target layer, switches the current operation layer in the editing interface into the target layer indicated by the selection operation, and sets the picture element in the previous layer to be in a non-editable state; and if the user performs the predetermined selection operation on the layer which is not edited, the step of switching the layers is repeatedly executed, and if the user performs the predetermined selection operation on the layer which is already edited before, the picture processing client sets the picture element in the selected layer to be in an editable state and sets the picture element in the previous layer to be in a non-editable state, so that the user re-edits the picture element in the target layer or adds a new picture element in the target layer.
There may be a plurality of predetermined selection operations for the target layer.
Optionally, in an implementation manner, each layer may be named, and correspondingly, the predetermined selecting operation for the target layer may be: and inputting and submitting the layer name of the target layer in the specified dialog box.
Optionally, in another implementation manner, an editing interface of the picture processing client includes a plurality of layer icons, and each layer icon uniquely corresponds to one layer; correspondingly, the predetermined selecting operation for the target layer includes: and selecting the layer icon of the target layer.
In the implementation manner, each preset layer has its corresponding layer icon in the editing interface of the picture processing client, and a user can send out a predetermined selection operation for the layer by selecting the layer icon of any layer.
It should be noted that, the embodiment of the present invention is not limited to a specific form of the icons of the plurality of image layers.
For example, the plurality of layer icons may be icons in a preset carousel menu.
When the plurality of layer icons are icons in a preset turntable menu, the layer icons are placed in the turntable menu preset by the picture processing client, and a user selects a target layer through the turntable menu, so that a preset selecting operation for the target layer is sent to the picture processing client. For example, as shown in fig. 2, four layers 1 to 4 are preset in the picture processing client, a user firstly clicks a "menu" icon in an editing interface of the picture processing client, the picture processing client pops up a carousel menu, layer icons corresponding to the layers are arranged in the carousel menu, the user rotates a target layer icon into a selected frame by rotating the carousel, and if a layer 3 is selected in fig. 2, a predetermined selection operation for the layer 3 is sent.
For example, the layer icons may also be icons in a preset pull-down menu, and a user selects a target layer through the pull-down menu, so as to send a predetermined selection operation for the target layer to the image processing client.
S102, determining picture elements selected by a user in the target layer as target elements;
in an implementation manner, the picture processing client may receive a selected instruction generated by clicking a picture element in a target layer by a user, and determine that the picture element is used as the target element, so as to perform subsequent response editing operation. Since the picture elements in the other layers are set in the non-editable state, even if the user clicks the picture elements in the other layers, the picture elements cannot be selected.
S103, when the editing operation aiming at the target element is detected, responding the editing operation to the target element.
When the user issues any editing operation for the target element, the picture processing client may respond to the editing operation for the target element, that is, perform element processing indicated by the editing operation for the target element. Illustratively, if the user performs a drag operation on the target element, the response to the target element is: according to the dragging of the user, moving the position of the target element; in addition, the user changes the picture parameter, such as transparency, of the target element, and the picture processing client changes the transparency of the target element according to the value set by the user. Here, it is possible to respond to an editing operation of the shape, size, position, upper and lower layer relationship, picture parameter, and the like of the target element.
It is understood that after S101 is executed, that is, after all the picture elements of the layers other than the target layer are set to be in the non-editable state, if the user wishes to add a new picture element on the target layer, an element addition operation may be issued, for example: dragging the picture element to be added to the target layer; accordingly, when the picture processing client detects an element adding operation, the picture element indicated by the element adding operation may be added to the target layer.
In this embodiment, a plurality of layers are preset in an editing interface of the picture processing client; each layer is used for placing picture elements added by a user during picture editing; when a preset selection operation for a target layer is detected, switching a current operation layer in the editing interface to the target layer, and setting picture elements of layers except the target layer to be in a non-editable state; switching a current operation layer in an editing interface to a target layer, and setting picture elements of other layers to be in an uneditable state; determining picture elements selected by a user in the target layer as target elements; when an editing operation for a target element is detected, the editing operation is responded to the target element. In the scheme, the picture elements in other layers except the target layer are set to be in the non-editable state, and the layer elements in the target layer are edited, so that the number of the picture elements which are possibly touched by mistake is reduced when the picture elements are edited. Therefore, by the scheme, the occurrence of false touch caused by adding more picture elements during picture creation can be effectively reduced.
Optionally, in another embodiment of the present invention, the setting, to a non-editable state, the picture elements in layers other than the target layer includes:
in the first mode, all layers except the target layer are subjected to hiding processing;
alternatively, the first and second electrodes may be,
and in a second mode, hiding the specified layer in the other layers, and locking picture elements of layers except the specified layer in the other layers.
The hiding processing refers to a state that picture elements in the image layer are set to be invisible or semi-transparent and cannot be edited.
In a first mode, when a user edits a picture element in a target layer, image elements in other layers may block the picture element that the user wants to edit, so that the picture elements in all other layers can be hidden, or the picture elements in other layers are set to be in a semi-transparent state according to a preset transparency value, so that the user can concentrate on editing the picture element in the target layer.
In the second mode, it is considered that when a user edits a certain picture element in a target layer, the user may need to refer to the placement positions of picture elements in one or more other layers, so the user may further perform hiding processing on the specified layer, and reserve the layer that the user wants to refer to, where the picture element in the specified layer is hidden, and the picture elements in the layers other than the specified layer in the other layers are subjected to locking processing, that is, are set to be in a non-editable state. For the second method, the specified layer can be set by the user, for example: outputting a dialog box to indicate a user to set a specified layer; or, the picture processing client determines the picture processing client.
In this embodiment, all layers in other layers except the target layer are subjected to hiding processing; or hiding the appointed image layer in other image layers, and locking the picture elements of the image layers except the appointed image layer in the other image layers. Therefore, by the scheme, the occurrence of false touch caused by adding more picture elements during picture creation can be effectively reduced. Furthermore, all layers or part of designated layers in other layers are hidden, so that interference factors are reduced, and a user can concentrate on editing picture elements in the current picture.
Optionally, after performing hiding processing on all layers in other layers or performing hiding processing on a specified layer in other layers, the method further includes:
and when an image layer preview instruction is received, displaying the plurality of image layers in the editing interface.
Because all layers or part of layers in other layers are hidden, and a user may want to view the overall editing condition of the picture at any time in the process of creating the picture, the user can send a layer preview instruction, and when the picture processing client receives the layer preview instruction, the picture elements in all layers are displayed in an editing interface. When an image layer preview instruction is received, all displayed picture elements in all image layers may be set to be in an uneditable state, or may be set to be in an editable state. After receiving the layer preview instruction, new picture elements may also be inserted, but one layer is specified for each newly inserted picture element.
Similarly, in an implementation manner, the editing interface of the picture processing client may also include a preview icon, where the preview icon corresponds to the function of displaying the picture elements in all the layers, and the picture processing client receives a layer preview instruction generated by clicking the preview icon by a user. Alternatively, in another implementation, as shown in fig. 2, the user may open the carousel menu, rotate the preview icon into the selected frame, and issue the layer preview instruction.
In this embodiment, when the layer preview instruction is received, the plurality of layers are displayed in the editing interface, and thus, by the scheme, the occurrence of false touch caused by adding more picture elements during picture creation can be effectively reduced. Furthermore, all layers are displayed by receiving a preview instruction sent by a user, so that the user can conveniently view the overall situation of the picture at any time.
For convenience of understanding the picture editing method of the present invention, an exemplary practical use process of the picture editing method is described below.
Before the user is creating the picture, preset a plurality of picture layers, if plan the picture layer for: background layer, picture layer, decorative layer 1. At this time, no picture element exists in each layer.
When the picture is created, the picture processing client defaults to select a background layer, and in the background layer, picture elements inserted by a user can be a pure-color picture or a scene picture and the like to serve as a background for picture creation; then, the user switches to a picture layer, and picture elements such as photos and the like are inserted into the picture layer to serve as the creation theme; the user switches to the decoration layer 1, and the user can insert picture elements such as stickers and characters to enrich the picture content.
In the creation process, a picture processing client detects selection operation sent by a user and aiming at a layer icon of a target layer in a turntable menu, and sets picture elements of other layers except the target layer into a non-editable state so that the user can concentrate on editing the elements in the target layer; furthermore, the picture processing client can determine the picture element selected by the user in the target layer as the target element; when an editing operation for the target element is detected, responding to the editing operation for the target element.
For example, when the decorative layer 1 edits the picture elements, the user feels that the picture color of the background layer is too bright, and at this time, the dial menu can be rotated to switch to the background layer, so as to turn down the saturation of the picture elements in the background layer; and then, if the position of a certain picture element of the decorative layer 1 is not properly placed, switching to the decorative layer 1 to adjust the position of the picture element. When the user inserts too many picture elements into the decoration layer 1, the user may further add a new layer: and a decoration layer 2, and picture elements are inserted and edited in the decoration layer 2. And in the process of authoring, the user can hide other specified layers. When a user wants to view the overall situation of the picture, the user can rotate the dial menu to select the preview icon, so that all the layers are displayed.
Through the editing process, the false touch caused by adding more picture elements during picture creation can be effectively reduced.
The embodiment of the invention also provides a picture editing device which is applied to the picture processing client, wherein a plurality of layers are preset in an editing interface of the picture processing client; each layer is used for placing picture elements added by a user during picture editing; as shown in fig. 3, the apparatus includes:
the setting module 310 is configured to, when a predetermined selection operation for a target layer is detected, switch a current operation layer in the editing interface to the target layer, and set picture elements of layers other than the target layer to be in an uneditable state; the target layer is any one of the plurality of layers;
a determining module 320, configured to determine, as a target element, a picture element selected by a user in the target layer;
a response module 330, configured to, when an editing operation for the target element is detected, respond to the editing operation for the target element.
Optionally, the setting module 310 sets the picture elements of the layers other than the target layer to be in a non-editable state, including:
hiding all layers in other layers except the target layer;
alternatively, the first and second electrodes may be,
and hiding the appointed image layers in the other image layers, and locking the picture elements of the image layers except the appointed image layers in the other image layers.
Optionally, the apparatus further comprises:
and the display module is used for displaying the plurality of layers in the editing interface when a layer preview instruction is received after all layers in other layers except the target layer are subjected to hiding processing or specified layers in the other layers are subjected to hiding processing.
Optionally, the editing interface includes a plurality of layer icons, and each layer icon corresponds to only one layer;
the predetermined selecting operation for the target layer comprises the following steps:
and selecting the layer icon of the target layer.
Optionally, the plurality of layer icons are icons in a preset carousel menu.
An embodiment of the present invention further provides an electronic device, as shown in fig. 4, including a processor 401, a communication interface 402, a memory 403, and a communication bus 404, where the processor 401, the communication interface 402, and the memory 403 complete mutual communication through the communication bus 404,
a memory 403 for storing a computer program;
the processor 401 is configured to implement the steps of the above-described picture editing method when executing the program stored in the memory 403.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
In another embodiment provided by the present invention, a computer-readable storage medium is further provided, in which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the above-mentioned picture editing method.
In a further embodiment, the present invention also provides a computer program product containing instructions, which when run on a computer, causes the computer to execute the picture editing method in the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (10)

1. A picture editing method is characterized in that the method is applied to a picture processing client, and a plurality of layers are preset in an editing interface of the picture processing client; each layer is used for placing picture elements added by a user during picture editing; the method comprises the following steps:
when a preset selection operation for a target layer is detected, switching a current operation layer in the editing interface to the target layer, and setting picture elements of layers except the target layer to be in a non-editable state; the target layer is any one of the plurality of layers;
determining picture elements selected by a user in the target layer as target elements;
when an editing operation for the target element is detected, responding to the editing operation for the target element.
2. The method according to claim 1, wherein the setting picture elements of layers other than the target layer to a non-editable state comprises:
hiding all layers in other layers except the target layer;
alternatively, the first and second electrodes may be,
and hiding the appointed image layers in the other image layers, and locking the picture elements of the image layers except the appointed image layers in the other image layers.
3. The method according to claim 2, wherein after the hiding all layers in the other layers except the target layer or the hiding the specified layer in the other layers, the method further includes:
and when an image layer preview instruction is received, displaying the plurality of image layers in the editing interface.
4. The method according to any one of claims 1-3, wherein the editing interface comprises a plurality of layer icons, and each layer icon corresponds to only one layer;
the predetermined selecting operation for the target layer comprises the following steps:
and selecting the layer icon of the target layer.
5. The method according to claim 4, wherein the icons of the plurality of layers are icons in a preset carousel menu.
6. The picture editing device is characterized by being applied to a picture processing client, wherein a plurality of layers are preset in an editing interface of the picture processing client; each layer is used for placing picture elements added by a user during picture editing; the device comprises:
the setting module is used for switching the current operation layer in the editing interface to the target layer and setting picture elements of other layers except the target layer to be in an uneditable state when a preset selection operation for the target layer is detected; the target layer is any one of the plurality of layers;
the determining module is used for determining the picture elements selected by the user in the target layer as target elements;
and the response module is used for responding the editing operation to the target element when the editing operation aiming at the target element is detected.
7. The apparatus according to claim 6, wherein the setting module sets picture elements of layers other than the target layer to a non-editable state, including:
hiding all layers in other layers except the target layer;
alternatively, the first and second electrodes may be,
and hiding the appointed image layers in the other image layers, and locking the picture elements of the image layers except the appointed image layers in the other image layers.
8. The apparatus of claim 7, further comprising:
and the display module is used for displaying the plurality of layers in the editing interface when a layer preview instruction is received after all layers in other layers except the target layer are subjected to hiding processing or specified layers in the other layers are subjected to hiding processing.
9. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any one of claims 1 to 5 when executing a program stored in the memory.
10. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of the claims 1-5.
CN202111214740.1A 2021-10-19 2021-10-19 Picture editing method and device and readable storage medium Pending CN113888676A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111214740.1A CN113888676A (en) 2021-10-19 2021-10-19 Picture editing method and device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111214740.1A CN113888676A (en) 2021-10-19 2021-10-19 Picture editing method and device and readable storage medium

Publications (1)

Publication Number Publication Date
CN113888676A true CN113888676A (en) 2022-01-04

Family

ID=79003444

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111214740.1A Pending CN113888676A (en) 2021-10-19 2021-10-19 Picture editing method and device and readable storage medium

Country Status (1)

Country Link
CN (1) CN113888676A (en)

Similar Documents

Publication Publication Date Title
EP2871569B1 (en) Method and device for user interface management
JP6779250B2 (en) Fan-shaped output user interface control for media editing applications
US9785323B2 (en) Touch-based user interface control tiles
US8438498B2 (en) Managing user interface control panels
EP3155507B1 (en) Storage system user interface with floating file collection
EP2690588A1 (en) Function based on a cloud service
US20060085758A1 (en) Desktop alert management
TW201525776A (en) Invocation control over keyboard user interface
US10241776B2 (en) User settings across programs
US9459760B2 (en) Method and device for managing a user interface
US20100058161A1 (en) Automatic management of diagram elements
US20190012821A1 (en) Displaying images associated with apps based on app processing task progress statuses
CN105404490A (en) Information processing method and electronic device
EP4273808A1 (en) Method and apparatus for publishing video, device, and medium
CN111580712B (en) Desktop customization method, device, equipment, system and storage medium
CN114168238A (en) Method, system, and computer-readable storage medium implemented by a computing device
WO2018226989A1 (en) Displaying images associated with apps based on app processing task progress statuses
US9836469B2 (en) Techniques for processing digital assets for editing in a digital asset editing computer program
US20140245195A1 (en) Duplicating graphical widgets
US9928220B2 (en) Temporary highlighting of selected fields
US11093127B2 (en) System and method for an intelligent drag and drop designer
CN113888676A (en) Picture editing method and device and readable storage medium
US11665119B2 (en) Information replying method, apparatus, electronic device, computer storage medium, and product
EP4242812A1 (en) Picture saving method, electronic device, and storage medium
JP2023550187A (en) Video processing methods, devices, equipment and storage media

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20230818

Address after: 12 Dachenglian Road, Singapore # 04-01B (534233)

Applicant after: Bright Jupiter Private Ltd.

Address before: 120 Robinson Road # 13-01 Singapore

Applicant before: Lemei Technology Co.,Ltd.