Image processing method and apparatus, electronic device, storage medium, and program product
Patent Information
- Application Number
- PCT/CN2026/079548
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2025-02-21
- Filing Date
- 2026-02-14
- Publication Date
- 2026-08-27
Smart Images

Figure CN2026079548_27082026_PF_FP_ABST
Abstract
Description
Image processing methods, apparatuses, electronic devices, storage media, and program products
[0001] Cross-reference to related applications
[0002] This application claims priority to Chinese Patent Application No. 202510200225.X, filed on February 21, 2025, entitled "Image Processing Method, Apparatus, Electronic Device, Storage Medium and Program Product", the entire contents of which are incorporated herein by reference. Technical Field
[0003] This disclosure relates to the field of computer technology, and more particularly to an image processing method, apparatus, electronic device, storage medium, and program product. Background Technology
[0004] In some applications, users can edit the image content within an image content editing interface. Summary of the Invention
[0005] This disclosure provides an image processing method, apparatus, electronic device, storage medium, and program product.
[0006] In a first aspect, embodiments of this disclosure provide an image processing method, including:
[0007] The first image content is displayed in the image content area of the editing interface;
[0008] In response to a first editing operation on the content of the first image, the content of the first image is processed based on a preset image effect, wherein the preset image effect corresponds to the first editing operation;
[0009] In response to a first triggering operation within the editing interface, an event corresponding to the first triggering operation is executed, and the processing of the first image content continues.
[0010] Secondly, embodiments of this disclosure also provide an image processing apparatus, comprising:
[0011] The first image display module is used to display the first image content in the image content area of the editing interface;
[0012] An image processing module is configured to process the first image content based on a preset image effect in response to a first editing operation on the first image content, wherein the preset image effect corresponds to the first editing operation;
[0013] The event execution module is used to respond to a first trigger operation that acts within the editing interface, execute the event corresponding to the first trigger operation, and continue to process the first image content.
[0014] Thirdly, embodiments of this disclosure also provide an electronic device, including:
[0015] One or more processors;
[0016] Memory, used to store one or more programs.
[0017] When the one or more programs are executed by the one or more processors, the one or more processors implement the image processing method as described in the embodiments of this disclosure.
[0018] Fourthly, embodiments of this disclosure also provide a computer-readable storage medium having a computer program stored thereon that, when executed by a processor, implements the image processing method as described in embodiments of this disclosure.
[0019] Fifthly, embodiments of this disclosure also provide a computer program product that, when executed by a computer, causes the computer to implement the image processing method as described in embodiments of this disclosure. Attached Figure Description
[0020] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote 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.
[0021] Figure 1 is a schematic flowchart of an image processing method provided in an embodiment of this disclosure;
[0022] Figure 2 is a schematic diagram of the display of a first image content provided in an embodiment of this disclosure;
[0023] Figure 3a is a schematic diagram of an editing interface provided in an embodiment of this disclosure;
[0024] Figure 3b is a schematic diagram showing another editing interface provided in the disclosed embodiment;
[0025] Figure 4 is a schematic diagram of a processing completion prompt message provided in an embodiment of this disclosure;
[0026] Figure 5 is a schematic diagram of the display of a second image content provided in an embodiment of this disclosure;
[0027] Figure 6 is a schematic diagram of a second interface provided in an embodiment of this disclosure;
[0028] Figure 7 is a schematic flowchart of another image processing method provided in an embodiment of this disclosure;
[0029] Figure 8 is a schematic diagram of the display of third image content provided in an embodiment of this disclosure;
[0030] Figure 9 is a schematic diagram of a media content publishing interface provided in an embodiment of this disclosure;
[0031] Figure 10 is a structural block diagram of an image processing apparatus provided in an embodiment of the present disclosure;
[0032] Figure 11 is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure. Detailed Implementation
[0033] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.
[0034] It should be understood that the steps described in the method embodiments of this disclosure may be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of this disclosure is not limited in this respect.
[0035] The term "comprising" and its variations as used herein are open-ended inclusions, meaning "including but not limited to". The term "based on" means "at least partially based 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". Definitions of other terms will be given in the description below.
[0036] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are used only to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependencies.
[0037] It should be noted that the terms "a" and "a plurality of" used in this disclosure are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".
[0038] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
[0039] It is understood that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and related provisions.
[0040] In related technologies, the efficiency of image content editing is relatively low.
[0041] Figure 1 is a flowchart illustrating an image processing method according to an embodiment of this disclosure. This method can be executed by an image processing device, which can be implemented by software and / or hardware and can be configured in an electronic device, typically a computer, mobile phone, or tablet computer. The image processing method provided in this embodiment is applicable to scenarios where image content is edited, such as processing image content using image effects that meet preset conditions. As shown in Figure 1, the image processing method provided in this embodiment may include:
[0042] S101. Display the first image content in the image content area of the editing interface.
[0043] The editing interface is a space used for editing image content. It can contain one or more image contents that can be edited within the interface. The editing interface may include an image content area, which displays the image content the user currently wants to view or edit. Additionally, the editing interface may include an image identifier area, which displays the image identifiers of the image content within the editing interface. These identifiers may include, but are not limited to, image covers and / or thumbnails. The first image content can be understood as the image content currently to be edited within the editing interface.
[0044] Specifically, the first image content can be displayed in the image content area 20 of the editing interface, as shown in Figure 2. For example, when an editing interface display operation is received for one or more image contents, the editing interface can be displayed, and one of the image contents (i.e., the first image content) can be displayed in the image content area 20 of the editing interface; or, when a display operation for a certain image content in the editing interface is detected, the image content currently displayed in the image content area 20 of the editing interface can be switched to this image content (i.e., the first image content) so that the user can view or edit this first image content.
[0045] S102. In response to a first editing operation on the first image content, the first image content is processed based on a preset image effect, wherein the preset image effect corresponds to the first editing operation.
[0046] The first editing operation can be an operation used to instruct the editing of the content of a first image based on a certain image effect. The execution method of the first editing operation is not limited. For example, the first editing operation may include an operation to trigger an image effect in the editing interface, an operation to trigger an editing control after selecting an image effect in the editing interface, or an operation to perform an editing gesture corresponding to an image effect in the editing interface, etc.
[0047] The preset image effect can be understood as the image effect corresponding to the first editing operation, that is, the image effect indicated by the first editing operation. The preset image effect can be any image effect in the editing interface; it can also be an image effect in the editing interface that meets preset conditions, which is not limited in this embodiment. Optionally, the preset image effect is an image effect that meets preset conditions, including processing time conditions or effect type conditions. For example, the preset image effect can be a processing effect that meets a pre-set processing time condition, such as a processing effect where the processing time is greater than or equal to a preset time threshold; or, an image effect that meets a pre-set effect type condition, such as a processing effect of a set type. For example, the preset image effect can be a generation effect related to Artificial Intelligence (AI) capabilities, such as a static image being converted into an animated image. For processing effects that meet preset conditions, the user can continue to execute other events during the processing of this effect, such as continuing to edit other image content, or switching to other interfaces, which can reduce the user's waiting time and improve event execution efficiency; for image effects that do not meet preset conditions, the user can execute other events after the processing of this image effect is completed, ensuring the continuity of the executed events. Here, the processing time of image effects on image content can be pre-calculated or predicted, and the aforementioned preset time threshold or setting type can be flexibly set as needed.
[0048] For example, upon receiving a first editing operation on the first image content displayed in the image content area 20, the first image content can be processed based on a preset image effect corresponding to this first editing operation. For instance, as shown in FIG2, one or more image effects can be displayed in the editing interface. Upon receiving a trigger operation on a certain image effect displayed in the editing interface, it can be determined that a first editing operation on the first image content has been received, this image effect can be used as a preset image effect, and the first image content can be processed based on this preset image effect.
[0049] In this embodiment, when processing the first image content, processing prompts for the first image content can also be displayed, such as displaying processing prompt information for the first image content (e.g., processing progress information), or adjusting the display style of the first image content or the image identifier of the first image content in the editing interface, so as to prompt the user that the first image content is currently being processed.
[0050] In some embodiments, the image processing method may further include: in response to a first triggering operation acting within the editing interface, displaying an image identifier of the first image content in the image identifier area of the editing interface, and displaying processing progress information of the first image content at an associated position of the image identifier of the first image content.
[0051] The associated position of the image identifier can be understood as the position associated with the display position of the image identifier. This associated position can be located near the display position of the image identifier, such as at least partially overlapping the display position of the image identifier, or located above, below, to the left, or to the right of the display position of the image identifier, etc. The processing progress information can be understood as information used to indicate the processing progress, and the display format of this processing progress information is not limited.
[0052] Specifically, upon receiving a first editing operation on the content of the first image, in addition to processing the content of the first image based on a preset image effect, the processing progress information of the first image content can also be displayed at the associated position of the image identifier of the first image content.
[0053] For example, when a first editing operation is received for the first image content, the image identifier of the first image content can be displayed in the image identifier area 21 of the editing interface, and the processing progress information 22 of the first image content can be displayed at the associated position of the first image identifier of the first image content, as shown in Figure 3a (the first image content is the image content corresponding to the image identifier 1 in the figure).
[0054] For example, in the case where the image identifier area of the editing interface displays the image identifier of the first image content when the first editing operation is received, the processing progress information of the first image content can be added to the associated position of the image identifier of the first image content in response to the first editing operation.
[0055] In response to the situation where the image identifier area of the editing interface does not display the image identifier of the first image content when the first editing operation is received, such as when the image identifier area does not currently display the image identifier of the first image content due to the user switching the currently displayed image identifier in the image identifier area, the image identifier of the first image content can be moved into the image identifier area for display in response to the first editing operation, and the processing progress information of the first image content can be displayed at the associated position of the image identifier of the first image content; or, when the user adjusts the image identifier of the first image content to be displayed in the image identifier area, the processing progress information of the first image content can be displayed at the associated position of the image identifier of the first image content.
[0056] In the above embodiments, if there are unprocessed image contents in the editing interface when the first editing operation is received, the first image contents and the unprocessed image contents in the editing interface can be processed in parallel. For cases where there are multiple image contents being processed in the editing interface, it is possible to display the processing progress information of each image content at the associated position of its image identifier, so that the user can view the processing progress of each image content.
[0057] Optionally, displaying the processing progress information of the first image content at the associated position of the image identifier of the first image content includes: in response to the existence of one or more fourth image contents that have not yet been processed in the editing interface, displaying the processing progress information of the first image content at the associated position of the image identifier of the first image content, and maintaining the display of the processing progress information of the fourth image content at the associated position of the image identifier of the fourth image content.
[0058] For example, if one or more unprocessed fourth image contents exist in the editing interface when the first editing operation is received, the processing progress information 22 of the first image content can be displayed at the associated position of the image identifier of the first image content in response to the first editing operation, and its own processing progress information 30 can be displayed at the associated position of the image identifier of the one or more currently being processed fourth image contents, as shown in Figure 3b (the fourth image content in the figure is the image content corresponding to image identifier 3 as an example). Here, the fourth image content can be understood as image content processed in parallel with the first image content in the editing interface, such as image content that has not yet been processed in the editing interface when the first editing operation is received. The number of fourth image contents can be one or more.
[0059] When displaying processing progress information at the associated location of an image identifier, the display style of the processing progress information is not limited. For example, text, images, or other forms can be used to display the processing progress information of the corresponding image content at the associated location of the image identifier. Optionally, the processing progress information is displayed in the form of a mask, and the processing progress value indicated by the processing progress information is related to the display size of the mask. For example, a processing progress mask of the image content corresponding to the image identifier can be displayed on the layer above the layer where the image identifier is located, and the current processing progress value of the image content corresponding to the image identifier can be indicated by the display size of this processing progress mask. For example, the display size of the processing progress mask can be positively or negatively correlated with the current processing progress value of the image content, so that as the image content is processed, the display size of the processing progress mask displayed at the associated location of the image identifier of this image content can gradually increase or gradually decrease.
[0060] In the above embodiments, during the processing of the first image content, the processing progress information of the first image content can be displayed in association with the image identifier of the first image content. Thus, even if the user continues to edit other image content in the editing interface during the processing of the first image content, they can still understand the processing progress information of the first image content in real time without affecting the editing of other image content. This can further enrich the display method of image content processing progress information and simplify the operations required to view the image content processing progress information.
[0061] Furthermore, once the image content being processed is completed, the processing progress information displayed at the associated position of its image identifier can be canceled; alternatively, the processing progress information can remain displayed at the associated position of its image identifier until the conditions for canceling the display of the processing progress information are met. This embodiment does not limit this.
[0062] In some implementations, when a first editing operation is received on the first image content, the display style of the first image content can also be adjusted to indicate that the first image content is being processed, thereby further enriching the prompting methods for image processing.
[0063] Optionally, the image processing method may further include: adjusting the display style of the first image content in the editing interface in response to a first editing operation on the first image content, wherein the display style includes at least one of display size and display brightness.
[0064] For example, in response to a first editing operation, the display size or brightness of the first image content in the image content area can be adjusted, such as increasing or decreasing the display size of the first image content, or increasing or decreasing the display brightness of the first image content, etc.
[0065] In some examples, as shown in Figures 3a and 3b, in response to a first editing operation, the display size of the first image content within the image content area 20 can be reduced, and a display mask can be added above the layer where the first image content is located, thereby reducing the display brightness of the first image content in the image content area 20.
[0066] In some embodiments, upon receiving a first editing operation on the first image content, processing prompts for the first image content can also be displayed in a preset area of the editing interface, such as displaying a second processing prompt 23 for the first image content, as shown in Figures 3a and 3b. This second processing prompt 23 indicates that processing of the first image content is in progress, further enriching the prompting methods for image processing. Optionally, in this case, the image processing method may further include: in response to a first editing operation on the first image content, displaying the second processing prompt 23 for the first image content in a preset area of the editing interface. The second processing prompt 23 can be understood as the processing prompts for the first image content displayed in the preset area of the editing interface. The content included in the second processing prompt 23 is not limited.
[0067] S103. In response to a first trigger operation acting within the editing interface, execute an event corresponding to the first trigger operation and continue processing the first image content.
[0068] The first triggering operation can be a triggering operation performed within the editing interface during the processing of the first image content. The first triggering operation can be used to instruct the execution of a corresponding interaction during the processing of the first image content. The specific operation of the first triggering operation is not limited; for example, the first trigger may include an interface switching operation, such as instructing the switching of the currently displayed interface from the editing interface to another interface, or an operation targeting one or more image contents other than the first image content within the editing interface. Optionally, the first triggering operation acting within the editing interface includes an operation acting on third image content within the editing interface, such as viewing or editing third image content within the editing interface, or adding third image content to the editing interface. This third image content can be different from the first image content.
[0069] For example, upon receiving a first trigger operation within the editing interface, the system can respond to this first trigger operation by executing an event corresponding to the first trigger operation and continue processing the first image content until the processing of the first image content is complete.
[0070] In some embodiments, after the first image content processing is completed, a second image content obtained by processing the first image content can be acquired to meet the user's needs for viewing, editing, storing, or publishing the processed second image content. Optionally, in this case, the image processing method may further include: in response to the completion of the first image content processing, acquiring the second image content obtained by processing the first image content. The second image content can be understood as the image content obtained by processing the first image content, such as the first image content processed using preset image effects.
[0071] In some implementations, the step of obtaining the second image content obtained by processing the first image content in response to the completion of the first image content processing includes: displaying the second image content obtained by processing the first image content in response to the completion of the first image content processing; or, displaying a prompt message indicating that the processing of the first image content has been completed in response to the completion of the first image content processing. For example, after the first image content processing is completed, the second image content obtained by processing the first image content can be displayed, such as displaying the processed second image content in the image content area of the editing interface, or displaying the first image content in other interfaces besides the editing interface. This implementation method simplifies the operations required for the user to view the processed second image content. Alternatively, a prompt message indicating that the processing of the first image content has been completed can also be displayed to inform the user that the first image content has been processed. This implementation method allows the user to know in a timely manner that the processing of the first image content has been completed and avoids interrupting the event currently being performed by the user.
[0072] In some examples, after the processing of the first image content is completed, a processing completion prompt message 40 can be displayed, as shown in Figure 4 (the figure shows the processing completion prompt message 40 displayed in the editing interface as an example). This processing completion prompt message 40 prompts the user.
[0073] Furthermore, this processing completion prompt can also be used to trigger the display of the second image content obtained by processing the first image content, thereby further enriching the display methods of the second image content and simplifying the operations required to view the second image content. Optionally, the image processing method may further include: displaying the second image content obtained by processing the first image content in response to a second trigger operation for the processing completion prompt. For example, when a second trigger operation for this processing completion prompt is detected, the processed second image content can be displayed, such as displaying the processed second image content in the image content area of the editing interface, as shown in Figure 5, or displaying the first image content in an interface other than the editing interface. The second trigger operation can be an operation to indicate the display of the processed second image content, such as triggering the displayed processing completion prompt of the first image content, or triggering the operation of the viewing controls displayed in the processing completion prompt of the first image content, etc.
[0074] The image processing method provided in this embodiment displays first image content in the image content area of the editing interface; in response to a first editing operation on the first image content, processes the first image content based on a preset image effect corresponding to the first editing operation; in response to a first triggering operation acting within the editing interface, executes an event corresponding to the first triggering operation, and continues processing the first image content. This embodiment, utilizing the above-described technical method, allows users to continue interacting while processing the image content within the editing interface, such as continuing to edit other image content in the editing interface, or switching to other interfaces, without waiting for the currently processed image content to complete or interrupting the processing, thus reducing user waiting time and improving the efficiency of image content editing.
[0075] In some embodiments, the image processing method may further include: in response to an interface display operation on a second interface, displaying the second interface and displaying preset image content information of the current account on the second interface, wherein the preset image content corresponding to the preset image content information is obtained by image effect processing that satisfies the preset conditions, and the preset image content includes the second image content.
[0076] The second interface can be understood as the display interface for the preset image content of the current account. The second interface can be used to display image content information of at least a portion of the preset image content of the current account. This at least a portion of the preset image content may include, but is not limited to, preset image content that is being processed or has been processed, or may further include preset image content that has failed to be processed, etc. This preset image content can be image content obtained by the current account using image effects that meet preset conditions, such as image content obtained by the current account processing original image content (such as the first image content) using image effects that meet the conditions. The image content information of the preset image content may include, for example, the image identifier of the preset image content, processing time, or remaining processing time, etc., which can be flexibly set as needed. The current account can be understood as the account logged into by the current application executing the image processing method provided in this embodiment.
[0077] The interface display operation for the second interface can be understood as a trigger operation used to indicate the display of the second interface. The execution method of this interface display operation is not limited; for example, it may include triggering a control or performing a swipe gesture. Optionally, the interface display operation includes a trigger operation for a first processing prompt message for the content of the first image. For example, the user can be supported in performing the interface display operation for the second interface by triggering the first processing prompt message for the content of the first image displayed on the first interface.
[0078] Specifically, upon receiving an interface display operation for the second interface, the system can respond to this operation by displaying the second interface and showing the image content information of the current account based on the preset image effect processing that meets the preset conditions, as shown in Figure 6.
[0079] In this embodiment, the image content information displayed in the preset interface that has been processed and obtained preset image content may be the same as or different from the image content information of the preset image content that is being processed but has not yet been obtained.
[0080] In some embodiments, displaying image content information of a preset image on the second interface includes: in response to the preset image content not yet being processed, displaying first image content information of the preset image content on the second interface, wherein the first image content information is configured to trigger the display of a processing prompt interface for the preset image content; or, in response to the preset image content being processed, displaying second image content information of the preset image content on the second interface, wherein the second image content information is configured to trigger editing of the preset image content.
[0081] The first image content information can be understood as the image content information of the preset image content that has already been processed. The second image content information can be understood as the image content information of the preset image content that is being processed but has not yet been processed. The first image content information and the second image content information may contain different content or have different display styles. The processing prompt interface can be understood as an interface that indicates that the preset image content is being processed.
[0082] For example, for a preset image content that the current account is processing but has not yet processed, the first image content information of this preset image content can be displayed in the second interface, such as displaying the image identifier of the original image content before the preset image content is processed, displaying a mask on the layer above the layer where the image identifier is located, and further displaying a processing identifier in this mask; and displaying the processing time information or remaining processing time information of this preset image content, as shown in the first two image content information in Figure 6 (the processing identifier of the preset image is not shown in the figure).
[0083] For the preset image content that has been processed by the current account, the second image content information of this preset image content can be displayed on the second interface, such as the image identifier of this preset image content and the processing time information of this image content, as shown in the third and fourth image content information in Figure 6.
[0084] In some examples, the first image content information displayed in the second interface can support the user to trigger a processing prompt interface for the corresponding preset image content. For example, when it is detected that the user triggers a certain first image content information displayed in the second interface, a processing prompt interface for the preset image content corresponding to this first image content information can be displayed to prompt the user that the preset image content is being processed.
[0085] In some examples, the second image content information displayed in the second interface can support the user to trigger the editing of the corresponding preset image content. For example, when the user triggers a certain second image content information displayed in the second interface, the editing interface of the preset image content corresponding to this second image content information can be displayed so that the current user can edit, save or publish the processed preset image content.
[0086] Furthermore, if there are preset image contents that failed to be processed, a third image content information for this preset image content can also be displayed on the second interface. For example, the image identifier of this preset image content can be displayed as a mask, and the processing time information or processing failure prompt information of this preset image content can be displayed, as shown in the fifth image content information in Figure 6. In addition, a regeneration control corresponding to this preset image content can be further displayed, and the preset image content can be regenerated when a trigger operation for this regeneration control is received.
[0087] In this embodiment, by distinguishing between the image content information of unprocessed and processed preset image content within the second interface, the display style of image content information can be enriched, and the time spent distinguishing between unprocessed and processed preset image content can be reduced. Furthermore, different image content information can support triggering different operations, simplifying the process prompts for viewing the currently being processed preset image content and the operations required to edit the processed preset image content.
[0088] Figure 7 is a schematic flowchart of another image processing method provided in an embodiment of this disclosure. The solution in this embodiment can be combined with one or more optional solutions in the above embodiments. Optionally, the step of executing an event corresponding to the first triggering operation in response to a first triggering operation within the editing interface includes: displaying the third image content in the image content area in response to an image display operation for the third image content within the editing interface; and editing the third image content in response to a second editing operation for the third image content.
[0089] Optionally, the step of executing an event corresponding to the first triggering operation in response to a first triggering operation within the editing interface includes: switching the currently displayed interface from the editing interface to a first interface corresponding to the interface switching operation in response to an interface switching operation within the editing interface.
[0090] Accordingly, as shown in Figure 7, the image processing method provided in this embodiment may include:
[0091] S201. Display the first image content in the image content area of the editing interface.
[0092] S202. In response to the first editing operation on the first image content, process the first image content based on a preset image effect, and execute S203 or S205, wherein the preset image effect corresponds to the first editing operation.
[0093] S203. In response to an image display operation on the third image content within the editing interface, the third image content is displayed in the image content area, and the processing of the first image content continues.
[0094] The image display operation for the third image content can be understood as a trigger operation used to instruct the display of the third image content in the editing interface. The execution method of this image display operation is not limited. For example, this image display operation may include an operation that triggers the image identifier of the third image content displayed in the editing interface, or a setting sliding operation within the editing interface, etc.
[0095] For example, during the processing of the first image content, when an image display operation for the third image content in the editing interface is received, such as when the user triggers the image identifier of the third image content displayed in the image identifier area 21, the third image content can be displayed in the image content area 20 of the editing interface, and the first image content can continue to be processed, as shown in Figure 8, so that the user can view or edit the third image content.
[0096] S204. In response to the second editing operation on the third image content, the third image content is edited, and the first image content is processed.
[0097] The second editing operation can be understood as an operation that instructs the editing of the content of the third image. The execution method of the second editing operation is not limited.
[0098] Specifically, upon receiving a second editing operation on the content of the third image, the content of the third image can be edited based on this second editing operation, such as applying a certain image effect to the content of the third image, cropping the content of the third image, adding text, stickers or filters to the content of the third image, etc.; and if the content of the first image has not been processed when the second editing operation is received, the processing of the content of the first image can continue.
[0099] In this embodiment, during the processing of the first image content, the user can view other image content in the editing interface, or edit other image content in the editing interface, without waiting for the first image content to be processed.
[0100] S205. In response to an interface switching operation performed within the editing interface, the currently displayed interface is switched from the editing interface to a first interface corresponding to the interface switching operation, and the processing of the first image content continues.
[0101] The interface switching operation can be a trigger operation used to indicate switching the currently displayed interface from the editing interface to an interface other than the editing interface. The execution method of this interface switching operation is not limited; for example, this interface switching operation may include, but is not limited to, triggering operations such as the return control, next step control, image content addition control, or other controls used to indicate interface switching in the editing interface.
[0102] The first interface can be understood as the interface to which the interface switching operation indicates switching, and it is a different interface from the currently displayed editing interface. For example, the first interface can be an image content acquisition interface, a media content display interface, a message interface, or a media content publishing interface, etc. Optionally, the first interface includes a media content publishing interface. This media content publishing interface can be an interface used for publishing media content.
[0103] Specifically, upon receiving an interface switching operation within the editing interface, the currently displayed interface can be switched from the editing interface to the first interface corresponding to this interface switching operation; furthermore, if the first image content has not yet been processed when the interface switching operation is received, the processing of the first image content can continue.
[0104] For example, as shown in Figures 3a and 3b, during the processing of the first image content, in response to a trigger operation based on the return control 24 in the editing interface, the user can return to the previous interface of the editing interface, such as a media content acquisition interface, a media content display interface, or other interfaces; in response to a trigger operation based on the next control 25 in the editing interface, the user can display the next interface of the editing interface, such as a media content publishing interface or a saving interface; in response to a trigger operation based on the image content adding control 26 in the editing interface, the user can display an image content acquisition interface to acquire image content and add it to the editing interface. The image content acquisition interface can be an interface used to acquire image content, such as a shooting interface or an image collection interface.
[0105] In some implementations, users can switch to the media content publishing interface to publish media content generated based on at least a portion of the image content in the editing interface while processing one or more image contents in the editing interface, without having to wait for all image contents in the editing interface to be processed before switching to the publishing interface, thereby reducing user waiting time.
[0106] Optionally, the first interface includes a media content publishing interface, and the image processing method may further include: publishing media content in response to a media content publishing operation performed on the first interface, wherein the media content is generated based on at least a portion of the image content within the editing interface.
[0107] The media content publishing operation can be an action used to instruct the publishing of media content. The execution method of the media content publishing operation is not limited; for example, it can include actions that trigger publishing controls displayed in the media content publishing interface or preset publishing gestures applied within the media content publishing interface.
[0108] The published media content can be generated based on at least a portion of the image content within the editing interface. For example, it can be generated based on other image content in the editing interface besides the image content being processed and not yet completed (such as the first image content); or it can be generated based on some or all of the image content in the editing interface, including the image content being processed and not yet completed, and so on. Regarding the case of generating media content based on some or all of the image content in the editing interface, including the image content being processed and not yet completed, taking the first image content as an example, media content can be generated based on this first image content (i.e., the image content before processing with preset image effects), without waiting for the first image content to complete processing, thereby improving the speed of media content publication; alternatively, media content can be generated based on the second image content obtained by processing the first image content with preset image effects, thereby improving the publication effect of the media content. In this case, optionally, the at least a portion of the image content includes the first image content or the second image content obtained by processing the first image content.
[0109] Specifically, upon receiving an instruction to switch to the media content publishing interface, for example, upon detecting that a user has triggered a publishing interface display control (such as the next step control 25) in the editing interface, the currently displayed interface can be switched from the editing interface to the media content publishing interface, as shown in Figure 9. Furthermore, upon receiving a media content publishing operation performed within the media content publishing interface, such as upon detecting that a user has triggered the publishing control 90 in the media content publishing interface, media content generated based on at least a portion of the image content in the editing interface can be published.
[0110] In some implementations, taking the image content that has not yet been processed in the editing interface when the interface switching operation is received as the first image content as an example, optionally, the step of publishing media content in response to the media content publishing operation acting on the first interface includes: publishing first media content including the first image content in response to the first media content publishing operation before the first image content is processed; or publishing second media content including the second image content after the first image content is processed; or publishing second media content including the second image content in response to the second media content publishing operation after the first image content is processed.
[0111] The first media content publishing operation can be understood as a media content publishing operation received before the first image content processing is completed. The second media content publishing operation can be understood as a media content publishing operation received after the first image content processing is completed. The first media content can be understood as media content generated based on at least one image content, including the first image content. The second media content can be understood as media content generated based on at least one image content, including the second image content obtained by processing the first image content.
[0112] For example, if a media content publishing operation is received within the media content publishing interface before the first image content has been processed, the first media content including the first image content can be published in response to this operation without waiting for the first image content to be processed. Alternatively, the first image content can be waited for to be processed before publishing the second media content including the second image content obtained by processing the first image content. Or, if a media content publishing operation is received within the media content publishing interface before the first image content has been processed, the second media content including the second image content obtained by processing the first image content can be published in response to this operation.
[0113] It should be noted that, in the case where the first image content has not been processed when the media content publishing operation is received, if the first media content is published in response to this media content publishing operation, the processing of the first image content can continue until the processing of the first image content is completed. If the second media content is published in response to this media content publishing operation, the user can exit the media content publishing interface or exit the current application as needed after performing this media content publishing operation, without the user needing to stay in the media content publishing interface waiting for the first image content to be processed.
[0114] In addition, please continue to refer to Figure 9. The media content publishing interface can also display a save control 91. When a save operation is received based on this save control 91, the image content in the editing interface can be saved as a media content editing draft in response to this save operation.
[0115] In some implementations, for the case of publishing first media content, after the first image content processing is completed, it is also possible to replace the first image content in the published first media content with second image content obtained by processing the first image content, so as to further enrich the media content publishing methods and meet the different media content publishing needs of users. In this case, optionally, the image processing method may further include: in response to the completion of the first image content processing, replacing the first image content in the first media content with the second image content; or, in response to the completion of the first image content processing, displaying editing prompt information of the first media content, the editing prompt information being used to prompt the replacement of the first image content in the first media content with the second image content.
[0116] Specifically, after the first image content is processed, the first image content in the published first media content can be automatically replaced with the second image content obtained by processing the first image content; alternatively, an editing prompt message for the first media content can be displayed, prompting the user to replace the first image content in the first media content with the second image content obtained by processing the first image content. Furthermore, upon receiving a user's replacement operation, such as when receiving a user's replacement operation based on this editing prompt message, the first image content in the published first media content can be replaced with the second image content obtained by processing the first image content.
[0117] In some implementations, as shown in FIG9, after switching the currently displayed interface from the editing interface to the first interface in response to an interface switching operation, a first processing prompt message 92 for the first image content can also be displayed on the first interface. This first processing prompt message 92 prompts the user that the first image content is being processed, or indicates one or more viewing paths for the first image content being processed or the processed second image content. Optionally, in this case, the image processing method may further include: displaying the first processing prompt message 92 for the first image content on the first interface in response to an interface switching operation performed within the editing interface. The first processing prompt message 92 can be understood as processing prompt information for the first image content displayed on other interfaces besides the editing interface (such as the first interface).
[0118] The image processing method provided in this embodiment allows users to switch the currently displayed image content in the editing interface, continue editing other image content in the editing interface, or switch the currently displayed interface during the image content processing process in the editing interface, without waiting for the image content in the editing interface to be processed, which can reduce the user's waiting time and improve the efficiency of image content editing.
[0119] Figure 10 is a structural block diagram of an image processing device provided in an embodiment of this disclosure. This device can be implemented by software or hardware and can be configured in an electronic device, typically in a computer, mobile phone, or tablet computer. It can be used to edit image content by executing image processing methods, such as processing the image content with image effects that meet preset conditions. As shown in Figure 10, the image processing device provided in this embodiment may include: a first image display module 1001, an image processing module 1002, and an event execution module 1003, wherein...
[0120] The first image display module 1001 is used to display the first image content in the image content area of the editing interface;
[0121] Image processing module 1002 is configured to process the first image content based on a preset image effect in response to a first editing operation on the first image content, wherein the preset image effect corresponds to the first editing operation;
[0122] The event execution module 1003 is used to respond to a first trigger operation that acts within the editing interface, execute an event corresponding to the first trigger operation, and continue to process the first image content.
[0123] The image processing apparatus provided in this embodiment displays first image content in the image content area of the editing interface through a first image display module; the image processing module responds to a first editing operation on the first image content and processes the first image content based on a preset image effect corresponding to the first editing operation; the event execution module responds to a first trigger operation acting within the editing interface, executes an event corresponding to the first trigger operation, and continues processing the first image content. This embodiment, utilizing the above-described technical method, allows users to continue interacting while processing the image content within the editing interface, such as continuing to edit other image content in the editing interface or switching to other interfaces, without waiting for the currently processed image content to complete or interrupting the processing, thus reducing user waiting time and improving the efficiency of image content editing.
[0124] Optionally, the first triggering operation acting within the editing interface includes an operation acting on the third image content within the editing interface.
[0125] Optionally, the event execution module 1003 may be specifically used to: display the third image content in the image content area in response to an image display operation for the third image content in the editing interface; and edit the third image content in response to a second editing operation for the third image content.
[0126] Furthermore, the image processing device may further include: a progress display module, configured to, in response to a first trigger operation acting within the editing interface, display an image identifier of the first image content in the image identifier area of the editing interface, and display processing progress information of the first image content at an associated position of the image identifier of the first image content.
[0127] Optionally, the progress display module may be specifically used to: in response to the existence of one or more unprocessed fourth image contents in the editing interface, display the processing progress information of the first image contents at the associated position of the image identifier of the first image contents, and maintain the display of the processing progress information of the fourth image contents at the associated position of the image identifier of the fourth image contents.
[0128] Optionally, the processing progress information is displayed in the form of a mask, and the processing progress value indicated by the processing progress information is associated with the display size of the mask.
[0129] Furthermore, the image processing apparatus may further include: an image acquisition module, configured to: in response to the completion of the first image content processing, acquire a second image content obtained by processing the first image content.
[0130] Optionally, the image acquisition module may be specifically used to: display the second image content obtained by processing the first image content in response to the completion of the first image content processing; or, display a prompt message indicating the completion of the first image content processing in response to the completion of the first image content processing.
[0131] Furthermore, the image processing device may further include: a second image display module, configured to display second image content obtained by processing the first image content in response to a second trigger operation for the processing completion prompt information.
[0132] Optionally, the event execution module 1003 may be specifically used to: in response to an interface switching operation performed within the editing interface, switch the currently displayed interface from the editing interface to a first interface corresponding to the interface switching operation.
[0133] Optionally, the first interface includes a media content publishing interface, and the image processing device may further include: a media content publishing module, used to publish media content in response to a media content publishing operation performed on the first interface, wherein the media content is generated based on at least a portion of the image content in the editing interface.
[0134] Optionally, the at least part of the image content includes the first image content or the second image content obtained by processing the first image content.
[0135] Optionally, the media content publishing module may be specifically used to: in response to a first media content publishing operation before the first image content processing is completed, publish first media content including the first image content; or, after the first image content processing is completed, publish second media content including the second image content; or, in response to a second media content publishing operation after the first image content processing is completed, publish second media content including the second image content.
[0136] Furthermore, the image processing apparatus may further include: an image replacement module, configured to replace the first image content in the first media content with the second image content in response to the completion of the first image content processing; or, an editing prompt module, configured to display editing prompt information of the first media content in response to the completion of the first image content processing, the editing prompt information being used to prompt the replacement of the first image content in the first media content with the second image content.
[0137] Furthermore, the image processing device may further include: a first processing prompt module, used to display first processing prompt information of the first image content on the first interface in response to an interface switching operation performed within the editing interface.
[0138] Furthermore, the image processing device may further include: a style adjustment module, configured to adjust the display style of the first image content in the editing interface in response to a first editing operation on the first image content, wherein the display style includes at least one of display size and display brightness; or, a second processing prompt module, configured to display second processing prompt information of the first image content in a preset area of the editing interface in response to the first editing operation on the first image content.
[0139] Optionally, the preset image effect is an image effect that meets preset conditions, including processing time conditions or effect type conditions.
[0140] Furthermore, the image processing device may further include: an interface display module, configured to display the second interface in response to an interface display operation on the second interface, and display preset image content information of the current account on the second interface, wherein the preset image content corresponding to the preset image content information is obtained by image effect processing that satisfies the preset conditions, and the preset image content includes the second image content.
[0141] Optionally, the interface display module may be specifically used to: in response to the fact that the preset image content has not yet been processed, display first image content information of the preset image content on the second interface, wherein the first image content information is configured to trigger the display of a processing prompt interface for the preset image content; or, in response to the fact that the preset image content has been processed, display second image content information of the preset image content on the second interface, wherein the second image content information is configured to trigger the editing of the preset image content.
[0142] Optionally, the interface display operation includes triggering a first processing prompt message for the content of the first image.
[0143] The image processing apparatus provided in this disclosure can execute the image processing method provided in any embodiment of this disclosure, and has the corresponding functional modules and beneficial effects for executing the image processing method. Technical details not described in detail in this embodiment can be found in the image processing method provided in any embodiment of this disclosure.
[0144] Referring now to FIG11, a schematic diagram of the structure of an electronic device (e.g., a terminal device) 1100 suitable for implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. The electronic device shown in FIG11 is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of the present disclosure.
[0145] As shown in Figure 11, the electronic device 1100 may include a processing unit (e.g., a central processing unit, a graphics processing unit, etc.) 1101, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1102 or a program loaded from a storage device 1108 into a random access memory (RAM) 1103. The RAM 1103 also stores various programs and data required for the operation of the electronic device 1100. The processing unit 1101, ROM 1102, and RAM 1103 are interconnected via a bus 1104. An input / output (I / O) interface 1105 is also connected to the bus 1104.
[0146] Typically, the following devices can be connected to I / O interface 1105: input devices 1106 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 1107 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 1108 including, for example, magnetic tapes, hard disks, etc.; and communication devices 1109. Communication device 1109 allows electronic device 1100 to communicate wirelessly or wiredly with other devices to exchange data. Although FIG11 shows electronic device 1100 with various devices, 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 alternatively.
[0147] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication device 1109, or installed from storage device 1108, or installed from ROM 1102. When the computer program is executed by processing device 1101, it performs the functions defined in the methods of embodiments of this disclosure.
[0148] It should be noted that the computer-readable medium described in this disclosure can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.
[0149] In some implementations, clients and servers can communicate using any currently known or future-developed network protocol such as HTTP (Hypertext Transfer Protocol), and can interconnect with digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), the Internet (e.g., the Internet of Things), and end-to-end networks (e.g., ad hoc end-to-end networks), as well as any currently known or future-developed networks.
[0150] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.
[0151] The aforementioned computer-readable medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to: display first image content in the image content area of the editing interface; process the first image content based on a preset image effect in response to a first editing operation on the first image content, wherein the preset image effect corresponds to the first editing operation; and execute an event corresponding to the first triggering operation in response to a first triggering operation acting within the editing interface, and continue processing the first image content.
[0152] Computer program code for performing the operations of this disclosure can be written in one or more programming languages or a combination thereof, including but not limited to object-oriented programming languages such as Java, Smalltalk, and C++, as well as conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone 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 remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0153] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0154] The units described in the embodiments of this disclosure can be implemented in software or hardware. The names of modules do not, in some cases, constitute a limitation on the unit itself.
[0155] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.
[0156] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0157] According to one or more embodiments of this disclosure, Example 1 provides an image processing method, including:
[0158] The first image content is displayed in the image content area of the editing interface;
[0159] In response to a first editing operation on the content of the first image, the content of the first image is processed based on a preset image effect, wherein the preset image effect corresponds to the first editing operation;
[0160] In response to a first triggering operation within the editing interface, an event corresponding to the first triggering operation is executed, and the processing of the first image content continues.
[0161] According to one or more embodiments of this disclosure, Example 2, based on the method described in Example 1, the first triggering operation acting within the editing interface includes an operation acting on third image content within the editing interface.
[0162] According to one or more embodiments of this disclosure, Example 3, based on the method described in Example 2, includes executing an event corresponding to the first triggering operation in response to a first triggering operation acting within the editing interface, comprising:
[0163] In response to an image display operation for third image content within the editing interface, the third image content is displayed in the image content area;
[0164] In response to a second editing operation on the content of the third image, the content of the third image is edited.
[0165] According to one or more embodiments of this disclosure, Example 4 describes the method according to Example 1, the method further comprising:
[0166] In response to a first trigger operation within the editing interface, an image identifier of the first image content is displayed in the image identifier area of the editing interface, and processing progress information of the first image content is displayed at the associated position of the image identifier of the first image content.
[0167] According to one or more embodiments of this disclosure, Example 5, based on the method described in Example 4, includes displaying processing progress information of the first image content at an associated location of the image identifier of the first image content, comprising:
[0168] In response to the presence of one or more unprocessed fourth image contents in the editing interface, the processing progress information of the first image content is displayed at the associated position of the image identifier of the first image content, and the processing progress information of the fourth image content is also displayed at the associated position of the image identifier of the fourth image content.
[0169] According to one or more embodiments of this disclosure, Example 6 describes the method according to Example 4, wherein the processing progress information is displayed in the form of a mask, and the processing progress value indicated by the processing progress information is associated with the display size of the mask.
[0170] According to one or more embodiments of this disclosure, Example 7 describes the method according to Example 1, the method further comprising:
[0171] In response to the completion of the first image content processing, the second image content obtained by processing the first image content is acquired.
[0172] According to one or more embodiments of this disclosure, Example 8 describes the method described in Example 7, wherein the step of obtaining second image content obtained by processing the first image content in response to the completion of the first image content processing includes:
[0173] In response to the completion of the first image content processing, the second image content obtained by processing the first image content is displayed; or
[0174] In response to the completion of the processing of the first image content, a prompt message indicating that the processing of the first image content has been completed is displayed.
[0175] According to one or more embodiments of this disclosure, Example 9 describes the method according to Example 8, the method further comprising:
[0176] In response to a second trigger operation for the processing completion prompt message, the second image content obtained by processing the first image content is displayed.
[0177] According to one or more embodiments of this disclosure, Example 10, based on the method of Example 1, includes executing an event corresponding to the first triggering operation in response to a first triggering operation acting within the editing interface, comprising:
[0178] In response to an interface switching operation performed within the editing interface, the currently displayed interface is switched from the editing interface to a first interface corresponding to the interface switching operation.
[0179] According to one or more embodiments of this disclosure, Example 11 describes the method of Example 10, wherein the first interface includes a media content publishing interface, and the method further includes:
[0180] In response to a media content publishing operation performed on the first interface, media content is published, the media content being generated based on at least a portion of the image content within the editing interface.
[0181] According to one or more embodiments of this disclosure, Example 12 describes the method of Example 11, wherein the at least part of the image content includes the first image content or second image content obtained by processing the first image content.
[0182] According to one or more embodiments of this disclosure, Example 13, based on the method of Example 12, includes publishing media content in response to a media content publishing operation performed on the first interface, comprising:
[0183] In response to a first media content publishing operation performed before the first image content processing is completed, first media content including the first image content is published; or, after the first image content processing is completed, second media content including the second image content is published; or
[0184] In response to a second media content publishing operation after the first image content processing is completed, second media content including the second image content is published.
[0185] According to one or more embodiments of this disclosure, Example 14 describes the method according to Example 13, the method further comprising:
[0186] In response to the completion of the first image content processing, the first image content in the first media content is replaced with the second image content; or
[0187] In response to the completion of the processing of the first image content, an editing prompt message for the first media content is displayed, which prompts the user to replace the first image content in the first media content with the second image content.
[0188] According to one or more embodiments of this disclosure, Example 15, based on the method described in Example 10, further includes:
[0189] In response to an interface switching operation within the editing interface, a first processing prompt message for the first image content is displayed on the first interface.
[0190] According to one or more embodiments of this disclosure, Example 16 describes the method according to any one of Examples 1-15, the method further comprising:
[0191] In response to a first editing operation on the first image content, the display style of the first image content in the editing interface is adjusted, wherein the display style includes at least one of display size and display brightness; or
[0192] In response to a first editing operation on the first image content, a second processing prompt message for the first image content is displayed in a preset area of the editing interface.
[0193] According to one or more embodiments of this disclosure, Example 17 describes the method according to any one of Examples 1-15, wherein the preset image effect is an image effect that satisfies preset conditions, the preset conditions including processing time conditions or effect type conditions.
[0194] According to one or more embodiments of this disclosure, Example 18 describes the method according to Example 17, the method further comprising:
[0195] In response to an interface display operation on the second interface, the second interface is displayed, and the preset image content information of the current account is displayed on the second interface. The preset image content corresponding to the preset image content information is obtained by image effect processing that meets the preset conditions, and the preset image content includes the second image content.
[0196] According to one or more embodiments of this disclosure, Example 19, based on the method described in Example 18, includes displaying image content information of preset image content on the second interface, comprising:
[0197] In response to the fact that the preset image content has not yet been processed, first image content information of the preset image content is displayed on the second interface. This first image content information is configured to trigger the display of a processing prompt interface for the preset image content; or
[0198] In response to the processed preset image content, second image content information of the preset image content is displayed on the second interface. The second image content information is configured to trigger editing of the preset image content.
[0199] According to one or more embodiments of this disclosure, Example 20 describes the interface display operation according to Example 18, which includes a triggering operation for a first processing prompt message for the first image content.
[0200] According to one or more embodiments of this disclosure, Example 21 provides an image processing apparatus, including:
[0201] The first image display module is used to display the first image content in the image content area of the editing interface;
[0202] An image processing module is configured to process the first image content based on a preset image effect in response to a first editing operation on the first image content, wherein the preset image effect corresponds to the first editing operation;
[0203] The event execution module is used to respond to a first trigger operation that acts within the editing interface, execute the event corresponding to the first trigger operation, and continue to process the first image content.
[0204] According to one or more embodiments of this disclosure, Example 22 provides an electronic device, including:
[0205] One or more processors;
[0206] Memory, used to store one or more programs.
[0207] When the one or more programs are executed by the one or more processors, the one or more processors implement the image processing method as described in any of Examples 1-20.
[0208] According to one or more embodiments of the present disclosure, Example 23 provides a computer-readable storage medium having a computer program stored thereon that, when executed by a processor, implements the image processing method as described in any of Examples 1-20.
[0209] According to one or more embodiments of the present disclosure, Example 24 provides a computer program product that, when executed by a computer, causes the computer to implement the image processing method as described in any of Examples 1-20.
[0210] The above description is merely a preferred embodiment of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features disclosed in this disclosure that have similar functions.
[0211] Furthermore, while the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments.
[0212] Although the subject matter has been described using language specific to structural features and / or methodological logic, 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. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.
Claims
1. An image processing method, comprising: The first image content is displayed in the image content area of the editing interface; In response to a first editing operation on the content of the first image, the content of the first image is processed based on a preset image effect, wherein the preset image effect corresponds to the first editing operation; In response to a first triggering operation within the editing interface, an event corresponding to the first triggering operation is executed, and the processing of the first image content continues.
2. The method according to claim 1, wherein the first triggering operation acting within the editing interface includes an operation acting on the third image content within the editing interface.
3. The method according to claim 2, wherein executing an event corresponding to the first triggering operation in response to a first triggering operation acting within the editing interface includes: In response to an image display operation for third image content within the editing interface, the third image content is displayed in the image content area; In response to a second editing operation on the content of the third image, the content of the third image is edited.
4. The method according to claim 1, wherein the method further comprises: In response to a first trigger operation within the editing interface, an image identifier of the first image content is displayed in the image identifier area of the editing interface, and processing progress information of the first image content is displayed at the associated position of the image identifier of the first image content.
5. The method according to claim 4, wherein displaying the processing progress information of the first image content at the associated position of the image identifier of the first image content includes: In response to the presence of one or more unprocessed fourth image contents in the editing interface, the processing progress information of the first image content is displayed at the associated position of the image identifier of the first image content, and the processing progress information of the fourth image content is also displayed at the associated position of the image identifier of the fourth image content.
6. The method according to claim 4, wherein the processing progress information is displayed in the form of a mask, and the processing progress value indicated by the processing progress information is associated with the display size of the mask.
7. The method according to claim 1, further comprising: In response to the completion of the first image content processing, the second image content obtained by processing the first image content is acquired.
8. The method according to claim 7, wherein in response to the completion of the first image content processing, obtaining the second image content obtained by processing the first image content includes: In response to the completion of the first image content processing, the second image content obtained by processing the first image content is displayed; or In response to the completion of the processing of the first image content, a prompt message indicating that the processing of the first image content has been completed is displayed.
9. The method according to claim 8, further comprising: In response to a second trigger operation for the processing completion prompt message, the second image content obtained by processing the first image content is displayed.
10. The method of claim 1, wherein executing an event corresponding to the first triggering operation in response to a first triggering operation acting within the editing interface comprises: In response to an interface switching operation performed within the editing interface, the currently displayed interface is switched from the editing interface to a first interface corresponding to the interface switching operation.
11. The method according to claim 10, wherein the first interface includes a media content publishing interface, and the method further includes: In response to a media content publishing operation performed on the first interface, media content is published, the media content being generated based on at least a portion of the image content within the editing interface.
12. The method of claim 11, wherein the at least part of the image content includes the first image content or a second image content obtained by processing the first image content.
13. The method of claim 12, wherein publishing media content in response to a media content publishing operation performed on the first interface comprises: In response to a first media content publishing operation performed before the first image content processing is completed, first media content including the first image content is published; or, after the first image content processing is completed, second media content including the second image content is published; or In response to a second media content publishing operation after the first image content processing is completed, second media content including the second image content is published.
14. The method according to claim 13, further comprising: In response to the completion of the first image content processing, the first image content in the first media content is replaced with the second image content; or In response to the completion of the processing of the first image content, an editing prompt message for the first media content is displayed, which prompts the user to replace the first image content in the first media content with the second image content.
15. The method of claim 10, further comprising: In response to an interface switching operation within the editing interface, a first processing prompt message for the first image content is displayed on the first interface.
16. The method according to any one of claims 1-15, further comprising: In response to a first editing operation on the first image content, the display style of the first image content in the editing interface is adjusted, wherein the display style includes at least one of display size and display brightness; or In response to a first editing operation on the first image content, a second processing prompt message for the first image content is displayed in a preset area of the editing interface.
17. The method according to any one of claims 1-15, wherein the preset image effect is an image effect that satisfies preset conditions, the preset conditions including processing time conditions or effect type conditions.
18. The method according to claim 17, further comprising: In response to an interface display operation on the second interface, the second interface is displayed, and the preset image content information of the current account is displayed on the second interface. The preset image content corresponding to the preset image content information is obtained by image effect processing that meets the preset conditions, and the preset image content includes the second image content.
19. The method according to claim 18, wherein displaying image content information of preset image content on the second interface includes: In response to the fact that the preset image content has not yet been processed, the first image content information of the preset image content is displayed on the second interface. The first image content information is configured to trigger the display of the processing prompt interface of the preset image content. or In response to the processed preset image content, second image content information of the preset image content is displayed on the second interface. The second image content information is configured to trigger editing of the preset image content.
20. The method of claim 18, wherein the interface display operation includes a triggering operation for a first processing prompt message for the first image content.
21. An image processing apparatus, comprising: The first image display module is used to display the first image content in the image content area of the editing interface; An image processing module is configured to process the first image content based on a preset image effect in response to a first editing operation on the first image content, wherein the preset image effect corresponds to the first editing operation; The event execution module is used to respond to a first trigger operation that acts within the editing interface, execute the event corresponding to the first trigger operation, and continue to process the first image content.
22. An electronic device, comprising: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the image processing method according to any one of claims 1-20.
23. A computer-readable storage medium storing computer instructions that, when executed by a processor, implement the image processing method of any one of claims 1-20.
24. A computer program product comprising a computer program that, when executed by a processor, implements the image processing method of any one of claims 1-20.