Image processing method and device, electronic equipment and storage medium

By establishing a communication connection between the terminal device and the printing device, displaying the view preview and editing interface, and filling the image to the template box, the problem that a single accessory in the prior art cannot meet the user's combined image shooting needs, and the effect of improving the user's operation experience is achieved.

CN119893265AActive Publication Date: 2025-04-25BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202311386119.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-24
Publication Date
2025-04-25
Estimated Expiration
2043-10-24

AI Technical Summary

Technical Problem

The existing mobile phone accessories are single, which cannot meet the user's combined image shooting needs in image acquisition scenes, resulting in poor user operation experience.

Method used

By establishing a communication connection between the terminal device and the printing device, the target shooting mode is turned on, the view preview interface and the editing interface are displayed, and when the shooting operation is detected, the image in the preview screen is filled into the template box in the editing interface to generate the target image.

Benefits of technology

It provides users with a flexible shooting solution, allowing users to view the layout effect of the corresponding templates of the target image in real time, improving the user's operating experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119893265A_ABST
    Figure CN119893265A_ABST
Patent Text Reader

Abstract

The invention relates to an image processing method and device, electronic equipment and a storage medium, and the method comprises the steps: building communication connection between terminal equipment and printing equipment, and under the condition that a target shooting mode is started, displaying a view-finding preview interface and an editing interface on the terminal equipment; under the condition that a shooting operation is detected, filling an image generated based on a preview picture in the view-finding preview interface into a corresponding template frame in the editing interface; and under the condition that the image generation operation is detected, a target image is generated based on the image in each template frame, so that a flexible shooting scheme is provided for a user, the user can check the layout effect of the template corresponding to the target image in real time, and the operation experience of the user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of image processing, and in particular to an image processing method and device, electronic equipment, and storage medium. Background Art

[0002] At present, mobile phone accessories are usually relatively simple, such as setting up a mobile phone protective case to protect the screen and body of a folding mobile phone from scratches and collisions, but this has not been extended to user usage scenarios. For example, in some image acquisition scenarios, users have the need to take combined images, which is not conducive to improving the user's operating experience. Summary of the invention

[0003] In order to overcome the problems existing in the related art, the present disclosure provides an image processing method and device, an electronic device, and a storage medium, so as to overcome the problem that the terminal device accessories in the prior art are single and cannot meet the user's usage needs.

[0004] According to a first aspect of an embodiment of the present disclosure, there is provided an image processing method, including:

[0005] Establishing a communication connection between the terminal device and the printing device, and when the target shooting mode is turned on, displaying a framing preview interface and an editing interface on the terminal device;

[0006] When a shooting operation is detected, an image generated based on the preview screen in the viewfinder preview interface is filled into a corresponding template frame in the editing interface;

[0007] When an image generation operation is detected, a target image is generated based on the image within each of the template frames.

[0008] In some embodiments, the establishing of a communication connection between the terminal device and the printing device, and when the target shooting mode is turned on, displaying a framing preview interface and an editing interface on the terminal device includes:

[0009] When a communication connection is established between the terminal device and the printing device and the target shooting mode is turned on, a framing preview interface and an editing interface are displayed in split screens on the terminal device.

[0010] In some embodiments, the terminal device has a plurality of folding parts;

[0011] Acquire folding parameters of each folding part of the terminal device;

[0012] When it is determined based on the folding parameters that the terminal device is in the target folding state, the target shooting mode is turned on.

[0013] In some embodiments, the method further comprises:

[0014] Based on the folding parameters, determining a bending angle of the terminal device;

[0015] When the bending angle is within a preset angle range, it is determined that the terminal device is in the target folding state.

[0016] In some embodiments, the method further comprises:

[0017] Determining the template frame corresponding to the preview picture based on the filling status of each of the template frames and / or the layout parameters of each of the template frames;

[0018] Adjusting the display size of the preview image to match the template frame corresponding to the preview image;

[0019] In the case where a shooting operation is detected, filling the image generated based on the preview screen in the framing preview interface into the corresponding template frame in the editing interface includes:

[0020] When a shooting operation is detected, generating the image corresponding to the preview screen according to the display size of the preview screen;

[0021] Fill the image into a template frame corresponding to the preview image.

[0022] In some embodiments, the method further comprises:

[0023] When an update operation on the image in the template frame is detected, clearing the image;

[0024] Based on the execution result of the clearing operation, the filling state of the template frame is updated.

[0025] In some embodiments, when an image generation operation is detected, generating a target image based on the image in each of the template frames includes:

[0026] When the image generation operation is detected, generating an initial image based on the image in each of the template frames;

[0027] When a selection event for the initial image is detected, acquiring watermark information;

[0028] The target image is generated based on the initial image and the watermark information.

[0029] In some embodiments, the method further comprises:

[0030] Based on the detected selection operation, determine a target layout strategy from a preset layout list;

[0031] According to the target layout strategy, each of the template frames is displayed on the editing interface.

[0032] In some embodiments, the method further comprises:

[0033] In case a first adjustment operation on the template frame is detected, adjusting the template frame based on the first adjustment operation; and / or

[0034] In a case where a second adjustment operation on the image in the template frame is detected, the image in the template frame is adjusted based on the second adjustment operation.

[0035] In some embodiments, the method further comprises:

[0036] generating a printing instruction when a printing event for the target image is detected;

[0037] Based on the communication connection with the printing device, the printing instruction is sent to the printing device; wherein the printing instruction is used to instruct the printing device to output the image entity of the target image.

[0038] According to a second aspect of an embodiment of the present disclosure, there is provided an image processing apparatus, including:

[0039] A display module is configured to establish a communication connection between the terminal device and the printing device, and display a framing preview interface and an editing interface on the terminal device when the target shooting mode is turned on;

[0040] A filling module is configured to fill the image generated based on the preview screen in the framing preview interface into the corresponding template frame in the editing interface when a shooting operation is detected;

[0041] The first generating module is configured to generate a target image based on the image in each of the template frames when an image generating operation is detected.

[0042] In some embodiments, the display module is specifically configured as follows:

[0043] When a communication connection is established between the terminal device and the printing device and the target shooting mode is turned on, a framing preview interface and an editing interface are displayed in split screens on the terminal device.

[0044] In some embodiments, the terminal device has a plurality of folding parts, and the image processing apparatus further includes:

[0045] A first acquisition module is configured to acquire folding parameters of each folding part of the terminal device;

[0046] The activation module is configured to activate the target shooting mode when it is determined based on the folding parameters that the terminal device is in the target folding state.

[0047] In some embodiments, the image processing apparatus further includes:

[0048] A first determining module is configured to determine a bending angle of the terminal device based on the folding parameter;

[0049] The second determination module is configured to determine that the terminal device is in the target folding state when the bending angle is within a preset angle range.

[0050] In some embodiments, the image processing apparatus further includes:

[0051] A third determining module is configured to determine the template frame corresponding to the preview picture based on the filling status of each template frame and / or the layout parameters of each template frame;

[0052] A first adjustment module is configured to adjust the display size of the preview picture to match the template frame corresponding to the preview picture;

[0053] The filling module is specifically configured as follows:

[0054] When a shooting operation is detected, generating the image corresponding to the preview screen according to the display size of the preview screen;

[0055] Fill the image into a template frame corresponding to the preview image.

[0056] In some embodiments, the image processing apparatus further includes:

[0057] a clearing module, configured to clear the image when an update operation on the image in the template frame is detected;

[0058] The updating module is configured to update the filling state of the template frame based on the execution result of the clearing operation.

[0059] In some embodiments, the first generating module is specifically configured to:

[0060] When the image generation operation is detected, generating an initial image based on the image in each of the template frames;

[0061] When a selection event for the initial image is detected, acquiring watermark information;

[0062] The target image is generated based on the initial image and the watermark information.

[0063] In some embodiments, the image processing apparatus further includes:

[0064] a fourth determination module, configured to determine a target layout strategy from a preset layout list based on the detected selection operation;

[0065] The operation module is configured to display each of the template frames on the editing interface according to the target layout strategy.

[0066] In some embodiments, the image processing apparatus further includes:

[0067] A second adjustment module is configured to, when a first adjustment operation on the template frame is detected, adjust the template frame based on the first adjustment operation; and / or

[0068] The third adjustment module is configured to adjust the image in the template frame based on the second adjustment operation when a second adjustment operation on the image in the template frame is detected.

[0069] In some embodiments, the image processing apparatus further includes:

[0070] A second generating module is configured to generate a printing instruction when a printing event for the target image is detected;

[0071] The printing module is configured to send the printing instruction to the printing device based on the communication connection with the printing device; wherein the printing instruction is used to instruct the printing device to output the image entity of the target image.

[0072] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, including:

[0073] processor;

[0074] a memory for storing processor-executable instructions;

[0075] Wherein, the processor is configured to: implement the steps in any one of the image processing methods in the first aspect above when executing the executable command.

[0076] According to a fourth aspect of an embodiment of the present disclosure, a non-transitory computer-readable storage medium is provided, including:

[0077] When the instructions in the storage medium are executed by a processor of an electronic device, the steps in any one of the image processing methods in the first aspect are implemented.

[0078] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:

[0079] In the disclosed embodiment, a communication connection is first established between the terminal device and the printing device, and when the target shooting mode is turned on, a framing preview interface and an editing interface are displayed on the terminal device; secondly, when a shooting operation is detected, an image generated based on the preview screen in the framing preview interface is filled into the corresponding template frame in the editing interface; finally, when an image generation operation is detected, a target image is generated based on the image in each template frame. In this way, after the communication connection is established between the terminal device and the printing device in the disclosed embodiment, the display interface of the terminal device is changed, providing a flexible shooting solution for the user, so that the user can view the layout effect of the template corresponding to the target image in real time, thereby improving the user's operating experience.

[0080] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0081] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0082] Figure 1 is a flowchart of an image processing method according to an exemplary embodiment;

[0083] Figure 2 is a schematic structural diagram of a printing device according to an exemplary embodiment;

[0084] Figure 3 is a schematic diagram of a terminal device according to an exemplary embodiment Figure 1 ;

[0085] Figure 4 is a schematic structural diagram showing a fixed connection between a terminal device and a printing device according to an exemplary embodiment;

[0086] Figure 5 is a schematic diagram of a terminal device according to an exemplary embodiment Figure 2 ;

[0087] Figure 6 is a schematic diagram of a terminal device according to an exemplary embodiment Figure 3 ;

[0088] Figure 7 is a block diagram of an image processing device according to an exemplary embodiment;

[0089] Figure 8A hardware structure frame of an electronic device according to an exemplary embodiment is shown Figure 1 ;

[0090] Fig. 9 A hardware structure frame of an electronic device according to an exemplary embodiment is shown Figure 2 .

[0091] Description of Figure Numbers:

[0092] 100, printing device; 101, housing; 102, film outlet; 103, accommodating portion; 104, communication module; 105, alignment portion; 106, movable part; 107, magnetic attraction portion;

[0093] 200, terminal device; 201, first folding part; 202, second folding part. DETAILED DESCRIPTION

[0094] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0095] Figure 1 is a flowchart of an image processing method according to an exemplary embodiment. Figure 1 As shown, the image processing method mainly includes the following steps:

[0096] In step 301, a communication connection is established between the terminal device and the printing device, and when the target shooting mode is turned on, a framing preview interface and an editing interface are displayed in split screens;

[0097] In step 302, when a shooting operation is detected, an image generated based on the preview screen in the framing preview interface is filled into a corresponding template frame in the editing interface;

[0098] In step 303, when an image generation operation is detected, a target image is generated based on the images in each of the template frames.

[0099] It should be noted that the image processing method proposed in the present disclosure can be applied to electronic devices. Here, the electronic device may include: terminal devices, for example, mobile terminals or fixed terminals. Among them, mobile terminals may include: mobile phones, tablet computers, laptop computers, wearable electronic devices and other devices. Fixed terminals may include: desktop computers, smart TVs, vehicle-mounted devices, etc. In other embodiments, the image processing method may also be applied to applications installed on electronic devices.

[0100] In other embodiments, the image processing method in the embodiment of the present disclosure may be configured in an image processing device, and the image processing device may be provided in an electronic device, and the embodiment of the present disclosure does not limit this. It should be noted that the execution subject of the embodiment of the present disclosure may be a central processing unit (CPU) in the electronic device in terms of hardware, and may be a related background service in the electronic device in terms of software, and there is no limitation on this.

[0101] It should be explained that in some image acquisition scenarios, users hope to be able to take combined photos or stitched photos, that is, the content on the photo is multiple identical pictures or multiple different pictures, so that users can protect and share them. Therefore, after the terminal device and the printing device are connected, the embodiment of the present disclosure generates a stitching shooting mode on the terminal device, so that the user can capture stitched images in real time, thereby improving the user's operating experience.

[0102] It can be understood that the target shooting mode is a stitching shooting mode. After the terminal device establishes a communication connection with the printing device, the stitching shooting mode can be triggered so that the user can directly obtain the stitched shot image.

[0103] Here, there are many ways to trigger the target shooting mode, which can be button triggering or screen triggering, and the embodiments of the present disclosure are not limited to this.

[0104] In some embodiments, a physical button for triggering a target shooting mode can be set on the terminal device. After the terminal device establishes a connection with the printing device, the user can trigger the target shooting mode by pressing the physical button, so that the terminal device generates a stitching shooting mode to facilitate the user to capture stitched images.

[0105] Exemplarily, the process of establishing a communication connection between the terminal device and the printing device is as follows: Figure 2 is a schematic structural diagram of a printing device according to an exemplary embodiment; Figure 3 is a schematic diagram of a terminal device according to an exemplary embodiment Figure 1 ; Figure 4is a schematic diagram showing a structure in which a terminal device and a printing device are fixedly connected according to an exemplary embodiment; Figure 2-4 As shown, the printing device 100 includes: a housing 103 , a connection module (not shown in the figure), a communication module 104 , a printing module (not shown in the figure) and a film outlet 102 .

[0106] By setting the connection module on the shell, the terminal device can be detachably fixed to the printing device; using the communication module, the communication connection between the printing device and the terminal device is realized. After the communication connection is established, the terminal device and the printing device can exchange data; then the printing module is connected to the communication module, so that the printing module executes the printing instruction transmitted by the communication module; wherein the printing instruction is generated by the terminal device based on the printing event for the target image; finally, a film outlet is formed on the shell to output the picture entity of the target image.

[0107] In addition, the connection module also includes a accommodating portion and / or a magnetic attraction portion, wherein the size of the accommodating space of the accommodating portion matches the size of the first folding portion of the terminal device and can be snapped into the first folding portion; the magnetic attraction portion can adsorb the first folding portion.

[0108] In this way, after the first folding portion of the terminal device is fixed to the accommodating portion of the printing device, a communication connection can be established between the terminal device and the printing device by using the communication module of the printing device to establish a connection with the communication interface of the terminal device.

[0109] It should be noted that in order to facilitate users to view the effect of stitching images more conveniently, when the terminal device is connected to the printing device and the target shooting mode is triggered, the UI (User Interface) interface of the terminal device will change, and a framing preview interface and an editing interface will be generated on the UI interface.

[0110] It can be understood that the framing preview interface is a real-time preview interface, and the editing interface is an interface for controlling the framing preview interface and adjusting the layout in real time.

[0111] Here, the framing preview interface and the editing interface may be displayed on the same screen or on different screens, which is not limited in this embodiment of the present disclosure.

[0112] At the same time, the position of the framing preview interface and the editing interface can be set arbitrarily by the user according to needs, and the size of the framing preview interface and the editing interface can also be set arbitrarily by the user according to needs, and the embodiments of the present disclosure are not limited to this.

[0113] In some embodiments, if the terminal device is a flat-screen mobile phone, when the flat-screen mobile phone and the printing device are connected and the target shooting mode is triggered, the framing preview interface and the editing interface can be displayed simultaneously on the display screen of the flat-screen mobile phone.

[0114] In other embodiments, if the terminal device is a foldable screen mobile phone, when the foldable screen mobile phone and the printing device are connected and the target shooting mode is triggered, the framing preview interface can be displayed on the first folding screen of the foldable screen mobile phone, and the editing interface can be displayed on the second folding screen of the foldable screen mobile phone.

[0115] For example, Figure 5 is a schematic diagram of a terminal device according to an exemplary embodiment Figure 2 ,like Figure 5 As shown; the terminal device 200 includes two folding parts, the first folding part 201 displays an editing interface on the display screen, and the second folding part 202 displays a framing preview interface on the display screen. In some embodiments, a preset template, such as a multi-grid template, may be pre-stored in the terminal device. After the target shooting mode is turned on, the editing interface of the terminal device may display the multi-grid template. The user can adjust the proportion of each template frame in the multi-grid template to obtain the template interface that best meets the needs.

[0116] It is understandable that the image generated by the preview screen in the framing preview interface corresponds to the template frame in the editing interface. When the terminal device detects a shooting operation, it can automatically fill the image generated based on the preview screen in the framing preview interface into the corresponding template frame in the editing interface.

[0117] Here, the editing interface includes at least two or more template frames, and the size of each template frame can be set by the user according to needs.

[0118] In some embodiments, when the terminal device is a foldable mobile phone, the user can view the display screen of the framing preview interface displayed on the display screen of the second folding part of the foldable mobile phone in real time. When a screen that meets the requirements is previewed, the user can touch the corresponding interface for controlling the image shooting on the display screen of the first folding part of the foldable mobile phone to trigger the image shooting operation. After the terminal device detects the shooting operation, the image generated by the preview screen in the current framing preview interface is filled into the corresponding template box in the editing interface.

[0119] Here, the user may perform multiple shooting operations on the same screen, or may perform multiple shooting operations on different screens, which is not limited in the embodiments of the present disclosure.

[0120] It is understandable that after the corresponding template frame in the editing interface is completely filled, the user can view the effect of stitching the captured images through the editing interface. Meanwhile, if the user does not make any adjustments to the editing interface, the terminal device can detect the image generation operation.

[0121] Here, the target image is composed based on a combination of multiple images in each template frame in the editing interface, wherein the multiple images may be the same image or different images, which is not limited in the embodiment of the present disclosure.

[0122] In the disclosed embodiment, a communication connection is first established between the terminal device and the printing device, and when the target shooting mode is turned on, the framing preview interface and the editing interface are displayed in split screens; secondly, when a shooting operation is detected, the image generated based on the preview screen in the framing preview interface is filled into the corresponding template frame in the editing interface; finally, when an image generation operation is detected, the target image is generated based on the image in each of the template frames. In this way, after the communication connection is established between the terminal device and the printing device in the disclosed embodiment, the display interface of the terminal device is changed, providing the user with a flexible shooting solution, so that the user can view the layout effect of the template corresponding to the target image in real time, thereby improving the user's operating experience.

[0123] In some embodiments, the establishing of a communication connection between the terminal device and the printing device, and when the target shooting mode is turned on, displaying a framing preview interface and an editing interface on the terminal device includes:

[0124] When a communication connection is established between the terminal device and the printing device and the target shooting mode is turned on, a framing preview interface and an editing interface are displayed in split screens on the terminal device.

[0125] It should be noted that when the framing preview interface and the editing interface are displayed on the same screen, the editing interface will block the framing preview interface, affecting the user's image acquisition process. Therefore, in the embodiment of the present disclosure, when the terminal device is connected to the printing device and the target shooting mode is triggered, the screen of the terminal device can be split to display the framing preview interface and the editing interface respectively.

[0126] Here, the split screen may be upper and lower split screen or left and right split screen, and the embodiments of the present disclosure do not limit this.

[0127] At the same time, the ratio of the split screen can be set arbitrarily, and the embodiments of the present disclosure are not limited to this.

[0128] In some embodiments, in order to enhance the user's image acquisition experience, when a connection is established between a terminal device and a printing device and a target shooting mode is triggered, the screen of the terminal device can be split into upper and lower screens, and the screen-occupying area of ​​the upper screen is larger than the screen-occupying area of ​​the lower screen, so that the upper screen displays a framing preview interface and the lower screen displays an editing interface, so that the user can frame in the framing preview interface and control image acquisition in the editing interface.

[0129] In the disclosed embodiment, a communication connection is established between a terminal device and a printing device, and a target shooting mode is turned on, and a framing preview interface and an editing interface are displayed in split screens on the terminal device, so as to avoid the problem that the editing interface obstructs the framing preview interface when the framing preview interface and the editing interface are displayed on the same screen, which is beneficial to improving the user's operating experience.

[0130] In some embodiments, the terminal device has a plurality of folding parts;

[0131] Acquire folding parameters of each folding part of the terminal device;

[0132] When it is determined based on the folding parameters that the terminal device is in the target folding state, the target shooting mode is turned on.

[0133] It should be noted that after the terminal device establishes a communication connection with the printing device, the target shooting mode will not be automatically triggered. Therefore, in the embodiment of the present disclosure, the target shooting mode will be turned on only when it is detected that the terminal device is in the target folding state.

[0134] It is understandable that in order to put the terminal device in the target folding state, the folding parameters of each folding part of the current terminal device must be determined first. After determining the folding parameters, the folding state of each folding part of the terminal device is adjusted, and when the folding state is the target folding state, the target shooting mode is triggered.

[0135] Here, the folding parameters include but are not limited to the folding angle and / or the folding direction, which is not limited in the embodiments of the present disclosure.

[0136] At the same time, the target folding state can be set by the user according to needs, and the embodiments of the present disclosure are not limited to this.

[0137] In some embodiments, if the target folding state is that the bending direction of the first folding part of the terminal device is perpendicular to the horizontal ground and the bending direction of the second folding part of the terminal device is parallel to the horizontal ground, the folding angle and folding direction corresponding to the first folding part of the current terminal device and the folding angle and folding direction corresponding to the second folding part are obtained, and based on the above-mentioned folding parameters, the bending direction of the first folding part and the bending direction of the second folding part are adjusted so that the terminal device is in the target folding state, thereby triggering the target shooting mode.

[0138] In the embodiment of the present disclosure, the folding parameters of each folding part of the terminal device are obtained; and when the terminal device is determined to be in the target folding state based on the folding parameters, the target shooting mode is turned on. In this way, the user can adjust the folding parameters of each folding part to make the terminal device in the target folding state, thereby triggering the target shooting mode, which is conducive to improving the user's operating experience.

[0139] In some embodiments, the method further comprises:

[0140] Based on the folding parameters, determining a bending angle of the terminal device;

[0141] When the bending angle is within a preset angle range, it is determined that the terminal device is in the target folding state.

[0142] It can be understood that after obtaining the folding parameters of each folding portion of the terminal device, the current folding state of the terminal device can be determined, so that the bending angles between the various folding portions can be determined.

[0143] It should be noted that, in order to simplify the triggering process of the target shooting mode, a preset angle range between the folding parts of the terminal device can be set. When the current angle between the folding parts of the terminal device is within the preset angle range, the current folding state of the terminal device is determined to be the target folding state.

[0144] Here, the preset angle range can be arbitrarily set by the user according to needs, and is not limited in the embodiments of the present disclosure.

[0145] For example, if the preset angle range is 75-150 degrees, after obtaining the folding parameters of the first folding part and the second folding part of the terminal device, it is determined that the bending angle between the first folding part and the second folding part of the terminal device is 30 degrees. The user can bend the second folding part more than 45 degrees in a direction away from the first folding part. When the bending angle between the first folding part and the second folding part is in the range of 75-150 degrees, it can be determined that the current terminal device is in the target folding state.

[0146] In the embodiment of the present disclosure, the bending angle of the terminal device is determined based on the folding parameter; and when the bending angle is within a preset angle range, it is determined that the terminal device is in the target folding state. In this way, the user can bend the terminal device to the preset angle range so that the terminal device is in the target folding state, thereby improving the accuracy of triggering the target shooting mode.

[0147] In some embodiments, the method further comprises:

[0148] Determining the template frame corresponding to the preview picture based on the filling status of each of the template frames and / or the layout parameters of each of the template frames;

[0149] Adjusting the display size of the preview image to match the template frame corresponding to the preview image;

[0150] In the case where a shooting operation is detected, filling the image generated based on the preview screen in the framing preview interface into the corresponding template frame in the editing interface includes:

[0151] When a shooting operation is detected, generating the image corresponding to the preview screen according to the display size of the preview screen;

[0152] Fill the image into a template frame corresponding to the preview image.

[0153] It should be noted that since the image generated by the preview screen in the framing preview interface corresponds to the template frame in the editing interface, in the embodiment of the present disclosure, it is necessary to first determine the template frame corresponding to the current preview screen based on the filling status of each template frame and / or the layout parameters of each template frame.

[0154] Here, the filling state of each template frame can be a filled state or an unfilled state.

[0155] It is understandable that the layout state of each template frame may be a state of layout operation performed by the user. For example, if the user has currently selected the third template frame to fill the image, the preview screen in the current viewfinder preview interface corresponds to the third template frame.

[0156] In some embodiments, if the user does not perform layout operations on the template frame in the editing interface, the preview image in the current viewfinder preview interface corresponds to the unfilled template frame. If there are multiple unfilled template frames, the corresponding template frames can be positioned in order from left to right and from top to bottom.

[0157] It needs to be explained that after determining the template frame corresponding to the preview screen, the display size of the preview screen needs to be adjusted to match the template frame corresponding to the preview screen, so that the user can adjust the framing interface of the preview screen to capture an image that meets the size of the template frame.

[0158] It is understandable that, when the terminal device detects a shooting operation, it can generate a corresponding image according to the screen covered by the display size of the preview screen. Since the image is collected according to the size of the template frame, after acquiring the image, the image can be filled into the template frame corresponding to the preview screen without processing the image.

[0159] For example, Figure 6 is a schematic diagram of a terminal device according to an exemplary embodiment Figure 3 ,like Figure 6 As shown, the terminal device includes two folding parts, the display screen of the first folding part displays the editing interface, and the display screen of the second folding part displays the framing preview interface. The editing interface is a three-grid template, and the size of template frame A is different from that of template frame B and template frame C. When the terminal device determines that the template frame corresponding to the current preview screen is template frame A, the display size of the preview screen is adjusted to match the template frame A, that is, the framing frame D displayed on the display screen of the second folding part. After the screen corresponding to framing frame D is captured, an image corresponding to the size of template frame A is generated, and the image is filled into template frame A.

[0160] In the embodiment of the present disclosure, the template frame corresponding to the preview screen is determined based on the filling status of each template frame and / or the layout parameters of each template frame; the display size of the preview screen is adjusted to match the template frame corresponding to the preview screen; and when a shooting operation is detected, the image corresponding to the preview screen is generated according to the display size of the preview screen; and finally, the image is filled into the template frame corresponding to the preview screen. In this way, the present disclosure only needs one acquisition to obtain an image that meets the size of the template frame, and the image can be filled into the template frame corresponding to the preview screen without processing the image, which is conducive to improving the user's operating experience.

[0161] In some embodiments, the method further comprises:

[0162] When an update operation on the image in the template frame is detected, clearing the image;

[0163] Based on the execution result of the clearing operation, the filling state of the template frame is updated.

[0164] It should be noted that after each template box in the editing interface is filled, the user can view the layout effect of the images in each template box in the current editing interface. When the layout effect does not meet the requirements, the corresponding image in the template box in the editing interface can be updated.

[0165] Here, the update operation is a replacement operation. When the user is not satisfied with the current image in the template frame, the user can re-frame and shoot, and re-capture the image to replace the current image.

[0166] It is understandable that when the terminal device detects an update operation of the image in the template frame, it can clear the image, and based on the clearing operation, update the filling state of the template frame, thereby updating the state of the template frame to an unfilled template frame to facilitate filling with the re-captured image.

[0167] Here, the user may update the image in the template frame multiple times, which is not limited in the embodiment of the present disclosure.

[0168] For example, if the filling template in the editing interface is a four-grid template, after the four template boxes in the four-grid template are filled with corresponding images, the user can view the presentation effect of the image in the current four-grid template. If the user needs to replace the image in the third template box, the user can touch the third template box. At this time, the terminal device sends a pop-up window to the user to prompt the user whether to update the current image. After the user confirms to update the current image, the terminal device clears the image. At this time, the user can use the viewfinder preview interface of the terminal device to re-acquire the screen that meets the requirements, and after receiving the shooting operation, fill the captured image into the third template box.

[0169] In the embodiment of the present disclosure, when an update operation is detected for the image in the template frame, a clear operation is performed on the image; based on the result of the clear operation, the filling state of the template frame is updated. In this way, the user can view the layout effect of the target image based on the editing interface, and perform a replacement shooting operation on the target image, update the target image, and flexibly adjust the layout effect of the editing interface, which is conducive to improving the user's operating experience.

[0170] In some embodiments, when an image generation operation is detected, generating a target image based on the image in each of the template frames includes:

[0171] When the image generation operation is detected, generating an initial image based on the image in each of the template frames;

[0172] When a selection event for the initial image is detected, acquiring watermark information;

[0173] The target image is generated based on the initial image and the watermark information.

[0174] It should be noted that, when an image generation operation is detected, an initial image can be generated based on the images in each template frame. A user can obtain multiple different initial images using a terminal device. Therefore, in order to improve the user's operating experience and avoid wasting printing paper, before generating a print instruction for the target image, the user is required to select the target image from multiple initial images.

[0175] It should be explained that, when a selection event for an initial image is detected, watermark information can be obtained. The user can choose whether to add the watermark information to the selected initial image, thereby further generating a target image.

[0176] In some embodiments, if the user chooses to add watermark information to the initial image, the target image to be printed is the initial image with the watermark information.

[0177] In other embodiments, if the user chooses not to add the watermark information to the initial image, the target image to be printed is the initial image without the watermark information.

[0178] Here, the watermark information may be a watermark automatically generated by the terminal device system, which is not limited in the embodiments of the present disclosure.

[0179] In some embodiments, the user can adjust the text in the watermark information and the overall effect of the watermark information, including the font, size, relative position, whether to hide, overall size of the watermark information and transparency of the watermark information.

[0180] In the disclosed embodiment, when the image generation operation is detected, an initial image is generated based on the images in each of the template frames, and when a selection event for the initial image is detected, watermark information is obtained; based on the initial image and the watermark information, the target image is generated, so that the user can pre-process the initial image, such as whether to add watermark information to the initial image, thereby helping to improve the user experience.

[0181] In some embodiments, the method further comprises:

[0182] Based on the detected selection operation, determine a target layout strategy from a preset layout list;

[0183] According to the target layout strategy, each of the template frames is displayed on the editing interface.

[0184] It is understandable that in addition to the template frame display area, there will be other control areas on the editing interface, such as an area for controlling image capture and an area for adjusting capture parameters. In the disclosed embodiment, multiple preset layout schemes are generated for the above-mentioned areas, and then a preset layout list is generated based on the multiple preset layout schemes, so that the user can select the target preset layout scheme.

[0185] It should be explained that in order to further enhance the user's operating experience, after the user selects a target preset layout scheme, a target layout strategy can be generated for the target preset layout scheme, so that each template frame can be displayed on the editing interface according to the target layout strategy.

[0186] Here, displaying each template frame on the editing interface according to the target layout strategy may be a process in which the user adjusts the position of each display area in the target preset layout scheme so that the position of each area in the target preset layout scheme meets the requirements.

[0187] In the disclosed embodiment, based on the detected selection operation, a target layout strategy is determined from a preset layout list; according to the target layout strategy, each of the template frames is displayed on the editing interface, so that the user can adjust the position of each display area of ​​the editing interface as needed, which is conducive to improving the user's operating experience.

[0188] In some embodiments, the method further comprises:

[0189] In case a first adjustment operation on the template frame is detected, adjusting the template frame based on the first adjustment operation; and / or

[0190] In a case where a second adjustment operation on the image in the template frame is detected, the image in the template frame is adjusted based on the second adjustment operation.

[0191] It should be noted that, in addition to the layout adjustment requirements of the editing interface, the user also has the adjustment requirements for the template frame storing the image. Therefore, in the disclosed embodiment, when the user adjusts the template frame and / or the image in the template frame, when a first adjustment operation for the template frame is detected, the template frame can be adjusted based on the first adjustment operation; when a second adjustment operation for the image in the template frame is detected, the image in the template frame can be adjusted based on the second adjustment operation.

[0192] It can be understood that the first adjustment operation may be to adjust the proportions of the respective template frames, and the second adjustment operation may be to adjust the distribution proportions of the images in the respective template frames.

[0193] Here, when the user has adjustment requirements for both the template frame and the image in the template frame, the template frame can be adjusted first and then the image in the template frame; or the image in the template frame can be adjusted first and then the template frame. The disclosed embodiment does not limit this.

[0194] In some embodiments, if the template display area of ​​the editing interface has four template frames of the same size, the user can change the four template frames of the same size into four template frames of different sizes by adjusting the proportions of the template frames.

[0195] In other embodiments, if the four template frames of the editing interface are filled with images, the user can adjust the distribution ratio of the images in the template frames so that each image forms a new display ratio, thereby generating a spliced ​​image that meets the requirements.

[0196] In an embodiment of the present disclosure, when a first adjustment operation on the template frame is detected, the template frame is adjusted based on the first adjustment operation; and / or, when a second adjustment operation on the image in the template frame is detected, the image in the template frame is adjusted based on the second adjustment operation, so that the user can make adjustments to the template frame and / or the image in the template frame as needed, thereby improving the user's operating experience.

[0197] In some embodiments, the method further comprises:

[0198] generating a printing instruction when a printing event for the target image is detected;

[0199] Based on the communication connection with the printing device, the printing instruction is sent to the printing device; wherein the printing instruction is used to instruct the printing device to output the image entity of the target image.

[0200] It needs to be explained that in order to allow the user to obtain the physical photo of the target image in real time, after the printing device establishes a communication connection with the terminal device, the terminal device can send a printing instruction to the printing device, so that the printing device executes the printing instruction to obtain the image entity corresponding to the target image.

[0201] It is understandable that after receiving the printing instruction, the printing device can execute the printing instruction using the printing module in the printing device, so that the user can obtain the image entity corresponding to the target image in real time, thereby improving the user's operating experience.

[0202] Here, the communication connection between the printing device and the terminal device may be a wired connection or a wireless connection, which is not limited in the embodiments of the present disclosure.

[0203] In some embodiments, after the printing device and the terminal device establish a wired connection, the printing device and the terminal device can further establish a wireless connection. In order to improve the security and reliability of transmission, both parties need to perform a communication check before the two devices establish a wireless connection. Specifically: first verify whether the other party is a device supported by the self-supported party. After the two parties make an initial connection, they will first communicate, send each other's project number to each other, and determine whether the name sent by the other party is in the self-support list. After confirming that the two parties are mutually supported devices, the two parties will establish a wireless connection channel.

[0204] Therefore, in the embodiment of the present disclosure, when there is no wired connection between the printing device and the terminal device, within a limited distance (that is, when there is still a wireless connection between the printing device and the terminal device), the printing device can still receive the printing instruction sent by the terminal device, execute the printing instruction, and output the image entity of the target image.

[0205] In the embodiment of the present disclosure, when a printing event for a target image is detected, a printing instruction is generated; the terminal device sends the printing instruction to the printing device based on the communication connection between the terminal device and the printing device; wherein the printing instruction is used to instruct the printing device to output the image entity of the target image. In this way, after the printing device and the terminal device establish a communication connection, the terminal device can send the target image to the printing device, and the printing device prints the target image, so that the user can obtain the entity image in real time, which is conducive to improving the user's operation experience.

[0206] Figure 7 is a block diagram of an image processing device according to an exemplary embodiment. Figure 7 As shown, the image processing device 400 includes:

[0207] The display module 401 is configured to establish a communication connection between the terminal device and the printing device, and display a framing preview interface and an editing interface on the terminal device when the target shooting mode is turned on;

[0208] A filling module 402 is configured to fill the image generated based on the preview screen in the framing preview interface into the corresponding template frame in the editing interface when a shooting operation is detected;

[0209] The first generating module 403 is configured to generate a target image based on the images in each of the template frames when an image generating operation is detected.

[0210] In some embodiments, the display module is specifically configured as follows:

[0211] When a communication connection is established between the terminal device and the printing device and the target shooting mode is turned on, a framing preview interface and an editing interface are displayed in split screens on the terminal device.

[0212] In some embodiments, the terminal device has a plurality of folding parts, and the image processing apparatus 400 further includes:

[0213] A first acquisition module is configured to acquire folding parameters of each folding part of the terminal device;

[0214] The activation module is configured to activate the target shooting mode when it is determined based on the folding parameters that the terminal device is in the target folding state.

[0215] In some embodiments, the image processing apparatus 400 further includes:

[0216] A first determination module is configured to determine a bending angle of the terminal device based on the folding parameter;

[0217] The second determination module is configured to determine that the terminal device is in the target folding state when the bending angle is within a preset angle range.

[0218] In some embodiments, the image processing apparatus 400 further includes:

[0219] A third determining module is configured to determine the template frame corresponding to the preview picture based on the filling status of each template frame and / or the layout parameters of each template frame;

[0220] A first adjustment module is configured to adjust the display size of the preview picture to match the template frame corresponding to the preview picture;

[0221] The filling module 402 is specifically configured as follows:

[0222] When a shooting operation is detected, generating the image corresponding to the preview screen according to the display size of the preview screen;

[0223] Fill the image into a template frame corresponding to the preview image.

[0224] In some embodiments, the image processing apparatus 400 further includes:

[0225] a clearing module, configured to clear the image when an update operation on the image in the template frame is detected;

[0226] The updating module is configured to update the filling state of the template frame based on the execution result of the clearing operation.

[0227] In some embodiments, the first generating module 403 is specifically configured to:

[0228] When the image generation operation is detected, generating an initial image based on the image in each of the template frames;

[0229] When a selection event for the initial image is detected, acquiring watermark information;

[0230] The target image is generated based on the initial image and the watermark information.

[0231] In some embodiments, the image processing apparatus further includes:

[0232] a fourth determination module, configured to determine a target layout strategy from a preset layout list based on the detected selection operation;

[0233] The operation module is configured to display each of the template frames on the editing interface according to the target layout strategy.

[0234] In some embodiments, the image processing apparatus further includes:

[0235] A second adjustment module is configured to, when a first adjustment operation on the template frame is detected, adjust the template frame based on the first adjustment operation; and / or

[0236] The third adjustment module is configured to adjust the image in the template frame based on the second adjustment operation when a second adjustment operation on the image in the template frame is detected.

[0237] In some embodiments, the image processing apparatus 400 further includes:

[0238] A second generating module is configured to generate a printing instruction when a printing event for the target image is detected;

[0239] The printing module is configured to send the printing instruction to the printing device based on the communication connection with the printing device; wherein the printing instruction is used to instruct the printing device to output the image entity of the target image.

[0240] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0241] Figure 8 A hardware structure frame of an electronic device according to an exemplary embodiment is shown Figure 1For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0242] Reference Figure 8 , the device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .

[0243] The processing component 802 generally controls the overall operation of the device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.

[0244] The memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0245] The power supply component 806 provides power to the various components of the device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 800.

[0246] The multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0247] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the device 800 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.

[0248] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.

[0249] The sensor assembly 814 includes one or more sensors for providing various aspects of the status assessment of the device 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the device 800, and the sensor assembly 814 can also detect the position change of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration / deceleration of the device 800, and the temperature change of the device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0250] The communication component 816 is configured to facilitate wired or wireless communication between the device 800 and other devices. The device 800 can access a wireless network based on a communication standard, such as WiFi, 4G or 5G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0251] In an exemplary embodiment, the apparatus 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above method.

[0252] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by the processor 820 of the device 800 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0253] A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to perform an image processing method, the method comprising:

[0254] Establishing a communication connection between the terminal device and the printing device, and when the target shooting mode is turned on, displaying a framing preview interface and an editing interface on the terminal device;

[0255] When a shooting operation is detected, an image generated based on the preview screen in the viewfinder preview interface is filled into a corresponding template frame in the editing interface;

[0256] When an image generation operation is detected, a target image is generated based on the image within each of the template frames.

[0257] Fig. 9 A hardware structure frame of an electronic device according to an exemplary embodiment is shown Figure 2 For example, the apparatus 1900 may be provided as a server. Fig. 9, the apparatus 1900 includes a processing component 1922, which further includes one or more processors, and a memory resource represented by a memory 1932 for storing instructions executable by the processing component 1922, such as an application. The application stored in the memory 1932 may include one or more modules each corresponding to a set of instructions. In addition, the processing component 1922 is configured to execute instructions to perform the above method:

[0258] Establishing a communication connection between the terminal device and the printing device, and when the target shooting mode is turned on, displaying a framing preview interface and an editing interface on the terminal device;

[0259] When a shooting operation is detected, an image generated based on the preview screen in the viewfinder preview interface is filled into a corresponding template frame in the editing interface;

[0260] When an image generation operation is detected, a target image is generated based on the image within each of the template frames.

[0261] The device 1900 may also include a power supply component 1926 configured to perform power management of the device 1900, a wired or wireless network interface 1950 configured to connect the device 1900 to a network, and an input / output (I / O) interface 1958. The device 1900 may operate based on an operating system stored in the memory 1932, such as Windows Server™, MacOS X™, Unix™, Linux™, FreeBSD™, or the like.

[0262] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0263] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. An image processing method, characterized in that: The method comprises: Establishing a communication connection between the terminal device and the printing device, and when the target shooting mode is turned on, displaying a framing preview interface and an editing interface on the terminal device; When a shooting operation is detected, an image generated based on the preview screen in the viewfinder preview interface is filled into a corresponding template frame in the editing interface; When an image generation operation is detected, a target image is generated based on the image within each of the template frames.

2. The method according to claim 1, characterized in that The establishing of a communication connection between the terminal device and the printing device, and displaying a framing preview interface and an editing interface on the terminal device when the target shooting mode is turned on, includes: When a communication connection is established between the terminal device and the printing device and the target shooting mode is turned on, a framing preview interface and an editing interface are displayed in split screens on the terminal device.

3. The method according to claim 1, characterized in that The terminal device has a plurality of folding parts; Acquire folding parameters of each folding part of the terminal device; When it is determined based on the folding parameters that the terminal device is in the target folding state, the target shooting mode is turned on.

4. The method according to claim 1, characterized in that The method further comprises: Based on the folding parameters, determining a bending angle of the terminal device; When the bending angle is within a preset angle range, it is determined that the terminal device is in the target folding state.

5. The method according to claim 1, characterized in that The method further comprises: Determining the template frame corresponding to the preview picture based on the filling status of each of the template frames and / or the layout parameters of each of the template frames; Adjusting the display size of the preview image to match the template frame corresponding to the preview image; In the case where a shooting operation is detected, filling the image generated based on the preview screen in the framing preview interface into the corresponding template frame in the editing interface includes: When a shooting operation is detected, generating the image corresponding to the preview screen according to the display size of the preview screen; Fill the image into a template frame corresponding to the preview image.

6. The method according to claim 1, characterized in that The method further comprises: When an update operation on the image in the template frame is detected, clearing the image; Based on the execution result of the clearing operation, the filling state of the template frame is updated.

7. The method according to claim 1, characterized in that The step of generating a target image based on the image in each of the template frames when an image generation operation is detected includes: When the image generation operation is detected, generating an initial image based on the image in each of the template frames; When a selection event for the initial image is detected, acquiring watermark information; The target image is generated based on the initial image and the watermark information.

8. The method according to claim 1, characterized in that The method further comprises: Based on the detected selection operation, determine a target layout strategy from a preset layout list; According to the target layout strategy, each of the template frames is displayed on the editing interface.

9. The method according to claim 1, characterized in that: The method further comprises: In case a first adjustment operation on the template frame is detected, adjusting the template frame based on the first adjustment operation; and / or In a case where a second adjustment operation on the image in the template frame is detected, the image in the template frame is adjusted based on the second adjustment operation.

10. The method according to any one of claims 1 to 9, characterized in that: The method further comprises: generating a printing instruction when a printing event for the target image is detected; Based on the communication connection with the printing device, the printing instruction is sent to the printing device; wherein the printing instruction is used to instruct the printing device to output the image entity of the target image.

11. An image processing device, characterized in that: The device comprises: A display module, configured to establish a communication connection between the terminal device and the printing device, and display a framing preview interface and an editing interface on the terminal device when the target shooting mode is turned on; A filling module is configured to fill the image generated based on the preview screen in the framing preview interface into the corresponding template frame in the editing interface when a shooting operation is detected; The first generating module is configured to generate a target image based on the image in each of the template frames when an image generating operation is detected.

12. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to: implement the steps in the image processing method according to any one of claims 1 to 10 when executing the executable command.

13. A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by a processor of an electronic device, the steps in the image processing method according to any one of claims 1 to 10 are implemented.

Citation Information

Patent Citations

  • Puzzle processing method and device

    CN105812643A

  • Image storage method and electronic equipment

    CN111294542A

  • Terminal equipment with shooting function and shooting method

    CN111526270A

  • Shooting control method based on foldable screen and electronic equipment

    CN113824878A

  • Content presentation method and device, terminal equipment and computer readable storage medium

    CN114816617A