CN110992268B - Background setting method, device, terminal and storage medium - Google Patents

Background setting method, device, terminal and storage medium Download PDF

Info

Publication number
CN110992268B
CN110992268B CN201911241214.7A CN201911241214A CN110992268B CN 110992268 B CN110992268 B CN 110992268B CN 201911241214 A CN201911241214 A CN 201911241214A CN 110992268 B CN110992268 B CN 110992268B
Authority
CN
China
Prior art keywords
data source
background
picture
display area
background picture
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911241214.7A
Other languages
Chinese (zh)
Other versions
CN110992268A (en
Inventor
刘春宇
吴晗
李文涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Kugou Computer Technology Co Ltd
Original Assignee
Guangzhou Kugou Computer Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Kugou Computer Technology Co Ltd filed Critical Guangzhou Kugou Computer Technology Co Ltd
Priority to CN201911241214.7A priority Critical patent/CN110992268B/en
Publication of CN110992268A publication Critical patent/CN110992268A/en
Application granted granted Critical
Publication of CN110992268B publication Critical patent/CN110992268B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformation in the plane of the image
    • G06T3/40Scaling the whole image or part thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/194Segmentation; Edge detection involving foreground-background segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10004Still image; Photographic image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10016Video; Image sequence

Abstract

The application relates to a background setting method, a background setting device, a terminal and a storage medium, and relates to the technical field of terminals. The method comprises the following steps: when receiving a background setting instruction, acquiring a background picture according to the background setting instruction; taking the center of the background picture and the center of the data source display area in the data source processing interface as references, scaling the background picture in equal proportion, so that the width and the height of the background picture after scaling in equal proportion are larger than or equal to the width and the height of the data source display area; clipping the background picture after equal scaling so that the width and the height of the clipped background picture are equal to those of the data source display area; setting the background of the data source according to the cut background picture. By the method, when the data source is processed, the integrity of the display of the data source is ensured, and meanwhile, the data loss caused by the change of the data source is reduced.

Description

Background setting method, device, terminal and storage medium
Technical Field
The present application relates to the field of image processing technologies, and in particular, to a background setting method, a device, a terminal, and a storage medium.
Background
In the data source processing, when the aspect ratio of the data source to be processed is inconsistent with the aspect ratio of the data source display area, black edges are formed on the upper and lower sides or the left and right sides of the data source display area (i.e. the area not filled with the data source) when the data source is played, so that the viewing experience of a user on the data source is affected. The type of data source may be video or picture.
In the related art, when the width and height of a data source are scaled to enable part of the content of the data source to occupy the data source display area, the scaled part of the data source outside the area outside the data source display is cut, and the processed data source is rendered and displayed in the data source display area, so that the problem of black edges in the data source display area is solved.
Because the aspect ratio of the data source is inconsistent with that of the data source display area, the data source is scaled and cut to occupy the whole data source display area in the technology, so that information in the data source is lost, and if the data source is excessively amplified, the data source becomes fuzzy and distorted.
Disclosure of Invention
The embodiment of the application provides a background setting method, a device, a terminal and a storage medium, which can effectively solve the problems that when the aspect ratio of a data source is inconsistent with the aspect ratio of a data source display area, black edges appear in the data source display area and information in the data source is lost due to the change of the data source, and the technical scheme is as follows:
In one aspect, a background setting method is provided, the method being performed by a terminal, the method comprising:
when receiving a background setting instruction, acquiring a background picture according to the background setting instruction;
taking the center of the background picture and the center of the data source display area in the data source processing interface as references, carrying out equal scaling on the background picture, so that the width and the height of the background picture after equal scaling are larger than or equal to the width and the height of the data source display area, wherein the data source display area is a data source preview area in the data source processing interface;
clipping the background picture after equal scaling, so that the width and the height of the clipped background picture are equal to those of the data source display area;
setting the background of a data source according to the cut background picture, wherein the data source refers to materials processed at the data source processing interface.
Optionally, the setting the background of the data source according to the cropped background picture includes:
blurring processing is carried out on the cut background picture;
and setting the background picture after blurring processing as the background of the data source.
Optionally, when the background setting instruction is received, before the background picture is acquired according to the background setting instruction, the method further includes:
acquiring the data source, wherein the data source is at least one of a video and a picture;
respectively acquiring the aspect ratio of the data source display area and the aspect ratio of the data source;
when the aspect ratio of the data source is different from the aspect ratio of the data source display area, scaling the data source in an equal proportion based on the center of the data source and the center of the data source display area in the data source processing interface, so that the width or the height of the data source is connected with the data source display area, and the size of a picture of the data source is not larger than the size of the data source display area.
Optionally, when the data source is a video, the obtaining the background picture according to the background setting instruction when the background setting instruction is received includes:
acquiring each picture frame in the data source;
and setting each picture frame as a background picture corresponding to each picture frame in the data source.
Optionally, when the data source is a picture, the obtaining the background picture according to the background setting instruction when the background setting instruction is received includes:
Acquiring a preset static picture as the background picture;
or alternatively, the process may be performed,
acquiring a static picture stored in the terminal as the background picture;
or alternatively, the process may be performed,
and acquiring a frame of picture frame in the data source as the background picture.
Optionally, the setting the background picture after the blurring process as the background of the data source includes:
rendering and displaying the background picture subjected to blurring processing in the data source display area;
and superposing and displaying the data source on the background picture after the blurring processing.
Optionally, the blurring processing mode of the background picture after clipping is gaussian blurring processing.
In one aspect, a background setting apparatus is provided, where the apparatus is applied to a terminal, and the apparatus includes:
the first acquisition module is used for acquiring a background picture according to the background setting instruction when receiving the background setting instruction;
the first scaling module is used for scaling the background picture with the center of the background picture and the center of the data source display area in the data source processing interface as references, so that the width and the height of the background picture after the scaling are larger than or equal to the width and the height of the data source display area, and the data source display area is a data source preview area in the data source processing interface;
The clipping module is used for clipping the background picture subjected to equal scaling so that the width and the height of the clipped background picture are equal to those of the data source display area;
the setting module is used for setting the background of a data source according to the cut background picture, wherein the data source refers to materials processed at the data source processing interface.
Optionally, the setting module includes:
the blurring processing submodule is used for carrying out blurring processing on the cut background picture;
and the setting submodule is used for setting the blurred background picture as the background of the data source.
Optionally, the apparatus further includes:
the second acquisition module is used for acquiring the data source before acquiring the background picture according to the background setting instruction when receiving the background setting instruction, wherein the data source is at least one of a video and a picture;
a third obtaining module, configured to obtain an aspect ratio of the data source display area and an aspect ratio of the data source, respectively;
and the second scaling module is used for scaling the data source to be equal in proportion to the width or height of the data source to be connected with the data source display area by taking the center of the data source and the center of the data source display area in the data source processing interface as the reference when the aspect ratio of the data source is different from the aspect ratio of the data source display area, and the size of a picture of the data source is not larger than the size of the data source display area.
Optionally, when the data source is video, the first obtaining module includes:
the first acquisition sub-module is used for acquiring each picture frame in the data source;
and the first setting submodule is used for setting each picture frame as a background picture corresponding to each picture frame in the data source.
Optionally, when the data source is a picture, the first obtaining module further includes:
the second acquisition submodule is used for acquiring a preset static picture as the background picture;
or alternatively, the process may be performed,
and the third acquisition sub-module is used for acquiring the static picture stored in the terminal as the background picture.
Or alternatively, the process may be performed,
and the fourth acquisition sub-module is used for acquiring a frame of picture frame in the data source as the background picture.
Optionally, the setting submodule is configured to,
rendering and displaying the background picture subjected to blurring processing in the data source display area;
and superposing and displaying the data source on the background picture after the blurring processing.
Optionally, the blurring processing sub-module performs blurring processing on the cut background picture in a gaussian blurring processing mode.
In one aspect, a terminal is provided, the terminal comprising a processor and a memory, the memory storing at least one instruction, at least one program, a set of codes, or a set of instructions, the at least one instruction, the at least one program, the set of codes, or the set of instructions being loaded and executed by the processor to implement the background setting method described above.
In one aspect, a computer readable storage medium is provided, in which at least one instruction, at least one program, a set of codes, or a set of instructions is stored, the at least one instruction, the at least one program, the set of codes, or the set of instructions being loaded and executed by the processor to implement the above-described background setting method.
The technical scheme provided by the application can comprise the following beneficial effects:
when a background setting instruction is received, a background picture is obtained according to the background setting instruction, the center of the background picture and the center of a data source display area in a data source processing interface are taken as references, the background picture is scaled in equal proportion, so that the width and the height of the background picture after the equal proportion scaling are larger than or equal to those of the data source display area, the background picture after the equal proportion scaling is cut, so that the width and the height of the background picture after the cutting are equal to those of the data source display area, the background of the data source is set according to the background picture after the cutting, and the data loss caused by the change of the data source is reduced while the display integrity of the data source is ensured during the data source processing.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
Fig. 1 is a schematic diagram illustrating a structure of a terminal according to an exemplary embodiment of the present application;
FIG. 2 illustrates a flow chart of a background setting method provided by an exemplary embodiment of the present application;
FIG. 3 illustrates an interface diagram of a data source clip interface in accordance with an embodiment of the present application;
FIG. 4 illustrates an interface diagram of a background settings interface in accordance with an embodiment of the present application;
fig. 5 shows a schematic diagram of scaling a background picture in an equal proportion according to an embodiment of the present application;
FIG. 6 illustrates a flow chart of a background setting method provided by an exemplary embodiment of the present application;
FIG. 7 is a schematic diagram of an embodiment of the application for scaling data sources in equal proportion;
fig. 8 is a schematic diagram of setting a cropped background picture as a data source background according to an embodiment of the present application;
fig. 9 is a schematic diagram showing setting a background picture after blurring processing as a data source background according to an embodiment of the present application;
FIG. 10 is a schematic diagram of an embodiment of the present application providing an unfilled region in a region around a data source;
FIG. 11 shows a block diagram of a background setting apparatus provided by an exemplary embodiment of the present application;
fig. 12 is a block diagram of a computer device, according to an example embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with aspects of the application as detailed in the accompanying claims.
It should be understood that references herein to "a plurality" are to two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.
During processing of the data source, unfilled regions, i.e. regions of the data source display area not covered by the data source, may occur in the data source display area due to the different aspect ratio of the data source to the aspect ratio of the data source display area. The embodiment of the application provides a background setting method which can reduce data loss caused by data source change while ensuring the display integrity of the data source. In order to facilitate understanding, several terms related to embodiments of the present application are explained below.
1) Centered cutting
The centered clipping refers to a method of clipping both sides of a long side of a picture by displaying all short sides of the picture. In implementation, the center of the picture to be cut can be aligned with the center of the cutting range limiting area, the picture is scaled to enable the short side of the picture to be consistent with the short side of the cutting range limiting area, the part of the long side of the picture exceeding the cutting range limiting area is cut, and only the part of the long side of the picture in the cutting range limiting area is reserved.
2) Gaussian Blur (Gaussian blue)
Gaussian blur, also known as gaussian smoothing, is a widely used processing effect in image processing software such as Adobe Photoshop, GIMP, and paint. The blurring technique produces an image that has a visual effect that is as if the image were being viewed through a translucent screen.
3) Terminal
In an embodiment of the application, the terminal may be a computing device with a display screen. For example, the terminal may be a mobile terminal such as a smart phone, a tablet computer, an electronic book reader, or may be an intelligent wearable device such as a smart watch, or may be a fixed terminal such as an integrated computer.
For example, please refer to fig. 1, which illustrates a schematic structure of a terminal according to an exemplary embodiment of the present application. As shown in fig. 1, the terminal includes a main board 110, an external input/output device 120, a memory 130, an external interface 140, a touch system 150, and a power supply 160.
Wherein, the motherboard 110 has integrated therein processing elements such as a processor and a controller.
The external input/output device 120 may include a display component (such as a display screen), a sound playing component (such as a speaker), a sound collecting component (such as a microphone), various types of keys, and the like.
The memory 130 has stored therein program codes and data.
The external interface 140 may include a headset interface, a charging interface, a data interface, and the like.
The touch system 150 may be integrated in a display component or key of the external input/output device 120, and the touch system 150 is used to detect a touch operation performed by a user on the display component or key.
The power supply 160 is used to power the other various components in the terminal.
In an embodiment of the present application, the processor in the motherboard 110 may generate interface contents by executing or calling program codes and data stored in the memory, and the generated interface contents are presented through the external output/input device 120. In the process of displaying the interface content, the touch operation performed when the user interacts with the interface may be detected by the touch system 150, and the key or other operation performed when the user interacts with the interface may be detected by the external output/input device 120, such as gesture operation, voice operation, and so on.
4) Data source
In the embodiment of the application, the data source refers to a material processed at a data source processing interface, and the type of the data source can be video or pictures.
5) Data source display area
In the embodiment of the application, the data source display area refers to an area in which a data source, including video or pictures, can be pre-displayed in a data source processing interface.
The data source processing interface may include a data source clipping interface and a background setting interface, the data source clipping interface may include a data source display area and a data source clipping area, the data source clipping area may include at least one data source clipping tool to implement re-editing of the data source, and the background setting interface may include a data source display area and a background setting area, and the background setting area may include at least one background setting control to implement modification of the background of the data source.
The data source clipping interface and the background setting interface can be switched after receiving an operation instruction for the designated control.
Referring to fig. 2, a flowchart of a background setting method according to an exemplary embodiment of the present application is shown. The background setting method is performed by the terminal, and as shown in fig. 2, the background setting method may include the steps of:
Step 210, when receiving the background setting instruction, obtaining a background picture according to the background setting instruction.
The context setting instruction may be an instruction for changing the context of the data source based on the context setting interface. In one possible scenario, the background settings interface may be opened by a user touch-operated on a designated control contained in the data source clip interface.
In the data source clipping interface, a user can cut and combine pictures or videos or process the pictures or videos by adding other elements such as background music, special effects, scenes and other materials so as to increase the richness of the pictures or videos. Referring to fig. 3, an interface schematic diagram of a data source clipping interface according to the embodiments of the present application is shown in fig. 3, where an area 310 is a data source display area, an area 320 is a user-imported picture or video displayed in the data source display area, a control 330 is a background setting interface triggering control, and when the user touches the control 330, the data source clipping interface may be switched to the background setting interface. Referring to fig. 4, an interface schematic diagram of a background setting interface according to an embodiment of the present application is shown, where an area 410 is a data source display area, an area 420 is a picture or video imported by a user and displayed in the data source display area, an area 430 includes a control for setting the background interface, and a user may issue a background setting instruction through touch operation on different controls, so that an application program to which the background setting interface belongs obtains a background picture according to the background setting instruction.
And 220, scaling the background picture in equal proportion by taking the center of the background picture and the center of a data source display area in the data source processing interface as references, so that the width and the height of the background picture after the equal proportion scaling are larger than or equal to the width and the height of the data source display area, wherein the data source display area is a data source preview area in the data source processing interface.
In the above process, the scaling operation of the background picture in equal proportion may be stopped when both the width and the height of the background picture are larger than the width and the height of the data source display area, or may be stopped when the width of the background picture is equal to the width of the data source display area and the height of the background picture is larger than the height of the data source display area, or may be stopped when the height of the background picture is equal to the height of the data source display area and the width of the background picture is larger than the width of the data source display area.
Referring to fig. 5, a schematic diagram of scaling a background picture in equal proportion is shown, as shown in fig. 5, a portion a in fig. 5 shows a schematic diagram of the background picture before scaling, a portion B in fig. 5 shows a schematic diagram of the background picture after scaling, where a region 510 represents a data source display region, a region 520 represents the background picture, and in a scaling process of the background picture, it is required to keep the center of the background picture aligned with the center of the data source display region all the time, for example, a point 530 in fig. 5 is that the center of the background picture coincides with the center of the data source display region, and when both the width and the height of the scaled background picture are greater than or equal to the width and the height of the data source display region, scaling of the background picture is stopped.
Optionally, the zoom level of the background picture may be preset by a developer, or may be set by the user.
Step 230, cropping the equally scaled background picture such that the width and height of the cropped background picture are equal to the width and height of the data source display area.
Alternatively, the cropping of the equally scaled background picture is performed such that the cropping mode employed in the operation of the cropped background picture having a width and height equal to the width and height of the data source display area may be a centered cropping.
The centered clipping refers to a clipping mode that a short side of a background picture after equal scaling is reserved and fully displayed, a portion of a long side exceeding a data source display area is clipped, and a portion of a middle part of the display is located in the data source display area.
Step 240, setting the background of the data source according to the cropped background picture, wherein the data source refers to the material processed at the data source processing interface.
Alternatively, the cropped background picture may be directly set as the background of the data source, or the cropped background picture may be processed and set as the background of the data source.
In summary, in the background setting method according to the embodiment of the present application, when a background setting instruction is received, a background picture is obtained according to the background setting instruction, and the center of the background picture and the center of a data source display area in a data source processing interface are taken as references, so that the width and the height of the background picture after equal scaling are both greater than or equal to the width and the height of the data source display area, and the background picture after equal scaling is cropped, so that the width and the height of the background picture after cropping are equal to the width and the height of the data source display area, and the background of the data source is set according to the cropped background picture, so that when the data source is processed, the integrity of the display of the data source is ensured, and the data loss caused by the change of the data source is reduced.
Referring to fig. 6, a flowchart of a background setting method according to an exemplary embodiment of the present application is shown. The background setting method is performed by the terminal, and as shown in fig. 6, the background setting method may include the steps of:
In step 601, a data source is acquired, where the data source is at least one of a video and a picture.
Optionally, multiple pictures can be played in a combined mode in the data source clipping interface in a video mode, and a user can set the time length and the display mode of each picture in the picture clipping process, for example, multiple pictures can be displayed in the same data source display area.
Similarly, the user may also clip, sequence and splice the video, such as combining multiple video content to play in the same video, or clip different video, combine the desired segments, and so on.
Step 602, obtaining an aspect ratio of a data source display area and an aspect ratio of a data source, respectively.
The application program to which the data source clipping interface belongs can identify the width and the height of the data source display area and the width and the height of the data source respectively, so as to calculate the aspect ratio of the data source display area and the aspect ratio of the data source respectively, and compare the aspect ratios of the two.
In step 603, when the aspect ratio of the data source is different from the aspect ratio of the data source display area, scaling the data source to be equal in proportion to the width or height of the data source to meet the data source display area based on the center of the data source and the center of the data source display area in the data source processing interface, and the size of the picture of the data source is not larger than the size of the data source display area.
In the above process, the scaling operation of the data source is stopped when one of the height and the width of the data source is connected with the data source display area for the first time, so as to ensure that the data source can be completely displayed in the data display area.
Referring to fig. 7, a schematic diagram of scaling a data source in an equal proportion is shown in fig. 7, where a portion a in fig. 7 shows a schematic diagram of the data source before scaling, and a portion B in fig. 7 shows a schematic diagram of the data source after scaling, where a region 710 represents a data source display region, a region 720 represents a data source, and in a scaling process of the data source, it is required to keep a center of the data source aligned with a center of the data source display region all the time, for example, a point 730 in fig. 7, where the center of the data source coincides with a center of the data source display region, and when a width or height of the scaled data source is equal to a width or height of the data source display region, that is, the data source meets the data source display region, scaling of the data source is stopped.
The user may trigger the touch operation of the control through the background setting interface in the data source clipping interface, and open the background setting interface, where the background is set according to the received background setting instruction, and the process please refer to the related description in the embodiment shown in fig. 2, which is not described herein.
Step 604, when receiving the background setting instruction, obtaining a background picture according to the background setting instruction.
Optionally, the background picture may be a picture that remains unchanged during the playing of the data source, or may be a group of pictures that correspondingly changes the background picture content along with the change of the data source content during the playing of the data source.
Optionally, when the data source is a video, obtaining the background picture according to the background setting instruction may be:
acquiring each picture frame in a data source;
and setting each picture frame as a background picture corresponding to each picture frame in the data source. The user may set the acquired background picture as a moving picture by touching a designated control in the background setting interface, for example, in the background setting interface shown in fig. 4, the user may set the background picture of the data source as a moving picture by touching a control 432 in the area 430.
Optionally, the data source is a picture, when the user combines a plurality of pictures into a form of an atlas for display, the picture frame of the data source changes with time in the display process, and the application program can acquire the picture change in the data source in real time and acquire the picture of each frame, and after processing the picture, the picture is used as the background picture of the data source of the corresponding frame.
When the data source is video, the video is a continuously played picture, and the playing process of the video is that of the picture frame, so that in the process of refreshing the video picture frame, an application program can acquire the picture of each frame in the video picture in real time, and the picture is processed and then is used as the background picture of the data source of the frame corresponding to the picture.
Optionally, when the picture content of n consecutive frames is the same frame, the application program may identify that the picture content of n consecutive frames is the same picture, so as to increase the interval time of collecting the picture frames, so as to reduce the waste of collecting the picture resources caused by collecting the picture frames when the picture content is unchanged all the time, where the value of n may be preset.
Optionally, when the data source is a picture, when receiving a background setting instruction, obtaining the background picture according to the background setting instruction may be:
acquiring a preset static picture as a background picture;
or alternatively, the process may be performed,
acquiring a static picture stored in a terminal as a background picture;
or alternatively, the process may be performed,
and acquiring a frame of picture frame in the data source as a background picture.
The background setting interface may be preset with a still picture, which may be a solid-color picture or a still picture with other patterns. As shown in fig. 4, in the area 430, a part of the still picture preset in the background setting interface is displayed, and the user selects the still picture as the background picture by performing a touch operation on the still picture in the area 430.
Optionally, the background setting interface further includes a control for linking the terminal picture storage file, the user performs touch operation on the control to enter the picture storage file in the terminal, and selects the region in the storage file as the background picture by selecting the picture in the storage file, for example, in the background setting interface shown in fig. 4, the user may open the picture storage file in the terminal by touch operation on the control 431, so as to select the picture in the file as the background picture.
Optionally, the picture of a certain frame picture in the data source can be designated or randomly acquired as the background picture of the data source, that is, the picture of the frame picture is always taken as the background picture in the process of playing the data source.
And step 605, scaling the background picture in equal proportion by taking the center of the background picture and the center of a data source display area in the data source processing interface as references, so that the width and the height of the background picture after the equal proportion scaling are larger than or equal to the width and the height of the data source display area, wherein the data source display area is a data source preview area in the data source processing interface.
Step 606, cropping the equally scaled background picture such that the width and height of the cropped background picture are equal to the width and height of the data source display area.
The implementation manners of step 605 to step 606 may refer to the implementation manners of step 220 to step 230 in the embodiment shown in fig. 2, and will not be described herein.
In step 607, the background of the data source is set according to the cropped background picture, where the data source refers to the material processed at the data source processing interface.
When the data source processing interface generates a data source with background setting, the application program firstly renders a background picture in the data source display area, and then superimposes and displays the data source with equal scale on the background picture so that the data source with equal scale is positioned at the uppermost part of the data source display area.
Alternatively, the cropped background picture may be directly set as the background of the data source.
And when the cut background picture is set as the background of the data source, rendering and displaying the cut background picture in a data source display area.
And superposing and displaying the data source after equal scaling on the cut background picture.
Fig. 8 is a schematic diagram of setting a cropped background picture as a data source background according to an embodiment of the present application. As shown in fig. 8, on the basis of fig. 4, a still picture indicated by the third control in the area 430 is selected as the background of the data source, and the still picture is directly set as the background of the data source after being cropped.
In one possible scenario, the still picture may be set directly as the background of the data source when the width and height of the still picture is exactly equal to the width and height of the data source display area.
Or, optionally, blurring the cut background picture;
and setting the blurred background picture as the background of the data source.
Optionally, the blurring processing of the cropped background picture may be performed by gaussian blurring processing.
And when the background picture after the blurring processing is set as the background of the data source, rendering and displaying the background picture after the blurring processing in a data source display area.
And superposing and displaying the data source after the equal scaling on the background picture after the blurring processing.
Fig. 9 is a schematic diagram showing setting a background picture after blurring processing as a data source background according to an embodiment of the present application. As shown in fig. 9, on the basis of fig. 4, a dynamic picture indicated by a control 432 in an area 430 is selected as a background of a data source, and the dynamic picture is blurred and then set as the background of the data source.
Optionally, a control for adjusting transparency of the background picture is arranged in the background setting interface, and a user can adjust transparency of the background picture through specified operation of the control, so that the background picture and the data source are more coordinated.
Optionally, after setting the background of the data source according to the cropped background picture, the method further includes:
and publishing the data source with the set background to a playing platform corresponding to the application program.
The user can add background to the data source in the process of processing the data source, and after the operation is finished, the application program can generate the data source with background pictures, which is suitable for the data source display interface, according to the operation of the user, and the user can upload the data source to a data source playing platform corresponding to the application program;
alternatively, the user may choose to save the data source file locally.
After a user selects a data source playing platform corresponding to the application program when uploading the data source with the background setting, other users of the application program can play the data source with the background setting.
In summary, in the background setting method according to the embodiment of the present application, when a background setting instruction is received, a background picture is obtained according to the background setting instruction, and an equal proportion of scaling is performed on the background picture with respect to the center of the background picture and the center of the data source display area in the data source processing interface, so that the width and the height of the background picture after equal proportion scaling are both greater than or equal to the width and the height of the data source display area, and the background picture after equal proportion scaling is cropped, so that the width and the height of the background picture after cropping are equal to the width and the height of the data source display area, and the background of the data source is set according to the cropped background picture, so that when the data source is processed, the data loss caused by the change of the data source is reduced while the integrity of the data source display is ensured.
In a possible case, when the data source processing interface of the terminal is a vertical screen display, the high length of the data source display area is larger than the wide length, and the width of the data source is easy to reach the length connected with the data source display interface in the zooming process of the data source, so that the position of the unfilled region is located in the upper and lower regions of the data source, as shown in fig. 4; when the data source processing interface of the terminal is a horizontal screen display, the width length of the data source display area is greater than the length of the data source display area, and the data source is easy to reach the length connected with the data source display interface in the zooming process, so that the position of the unfilled region is located in the left and right regions of the data source, please refer to fig. 10, which illustrates a schematic diagram of the unfilled region in the embodiment of the application, wherein the position of the unfilled region is located in the left and right regions of the data source, and after the data source is zoomed, the data source is connected with the edge of the data source display interface at first.
For the case of the horizontal screen display, the scheme shown in the application is applicable as well, and is not repeated here.
Referring to fig. 11, a block diagram of a background setting apparatus according to an exemplary embodiment of the present application is shown. The apparatus may be implemented in the form of software as all or part of a terminal to perform all or part of the steps of the method shown in the corresponding embodiment of fig. 2 or 6. As shown in fig. 11, the background setting means may include:
A first obtaining module 1110, configured to obtain, when receiving a background setting instruction, a background picture according to the background setting instruction;
the first scaling module 1120 is configured to scale the background picture in equal proportion with reference to a center of the background picture and a center of a data source display area in the data source processing interface, so that a width and a height of the background picture after the equal scaling are both greater than or equal to a width and a height of the data source display area, where the data source display area is a data source preview area in the data source processing interface;
the cropping module 1130 is configured to crop the scaled background picture, so that the width and the height of the cropped background picture are equal to the width and the height of the data source display area;
the setting module 1140 is configured to set a background of a data source according to the cropped background picture, where the data source is a material processed at a data source processing interface.
Optionally, the setting module 1140 includes:
the blurring processing sub-module is used for blurring the cut background picture;
and the setting submodule is used for setting the blurred background picture as the background of the data source.
Optionally, the apparatus further comprises:
the second acquisition module is used for acquiring a data source before acquiring a background picture according to the background setting instruction when receiving the background setting instruction, wherein the data source is at least one of a video and a picture;
A third obtaining module, configured to obtain an aspect ratio of the data source display area and an aspect ratio of the data source, respectively;
and the second scaling module is used for scaling the data source to be equal in proportion to the width or height of the data source to be connected with the data source display area by taking the center of the data source and the center of the data source display area in the data source processing interface as the reference when the aspect ratio of the data source is different from the aspect ratio of the data source display area, and the size of a picture of the data source is not larger than the size of the data source display area.
Optionally, when the data source is video, the first obtaining module 1110 includes:
the first acquisition submodule acquires each picture frame in the data source;
and the first setting submodule is used for setting each picture frame as a background picture corresponding to each picture frame in the data source.
Optionally, when the data source is a picture, the first obtaining module 1110 further includes:
the second acquisition submodule is used for acquiring a preset static picture as a background picture;
or alternatively, the process may be performed,
and the third acquisition sub-module is used for acquiring the static picture stored in the terminal as a background picture.
Or alternatively, the process may be performed,
and the fourth acquisition sub-module is used for acquiring a frame of picture frame in the data source as a background picture.
Optionally, the setting submodule is configured to, in use,
and rendering and displaying the background picture subjected to blurring processing in the data source display area.
Optionally, the blurring processing submodule performs blurring processing on the cut background picture in a gaussian blurring processing mode.
In summary, the background setting device according to the embodiment of the application is applied to a terminal, when receiving a background setting instruction, the device obtains a background picture according to the background setting instruction, and scales the background picture with the center of the background picture and the center of a data source display area in a data source processing interface as references, so that the width and the height of the background picture after the equal scaling are larger than or equal to those of the data source display area, and the background picture after the equal scaling is cut, so that the width and the height of the background picture after the cutting are equal to those of the data source display area, and the background of the data source is set according to the cut background picture, so that the data loss caused by the change of the data source is reduced while the display integrity of the data source is ensured during the processing of the data source.
Fig. 12 is a block diagram illustrating a computer device 1200, according to an example embodiment. The computer device 1200 may be a terminal such as a smart phone, tablet computer, or desktop computer as shown in fig. 1. Computer device 1200 may also be referred to by other names of user devices, portable terminals, laptop terminals, desktop terminals, and the like.
In general, the computer device 1200 includes: a processor 1201 and a memory 1202.
Processor 1201 may include one or more processing cores, such as a 4-core processor, an 8-core processor, or the like. The processor 1201 may be implemented in at least one hardware form of DSP (Digital Signal Processing ), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array ). The processor 1201 may also include a main processor, which is a processor for processing data in an awake state, also called a CPU (Central Processing Unit ), and a coprocessor; a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 1201 may integrate a GPU (Graphics Processing Unit, image processor) for rendering and rendering of content required to be displayed by the display screen. In some embodiments, the processor 1201 may also include an AI (Artificial Intelligence ) processor for processing computing operations related to machine learning.
Memory 1202 may include one or more computer-readable storage media, which may be non-transitory. Memory 1202 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 1202 is used to store at least one instruction for execution by processor 1201 to implement the methods provided by the method embodiments of the present application.
In some embodiments, the computer device 1200 may also optionally include: a peripheral interface 1203, and at least one peripheral. The processor 1201, the memory 1202, and the peripheral interface 1203 may be connected by a bus or signal lines. The individual peripheral devices may be connected to the peripheral device interface 1203 via buses, signal lines, or a circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 1204, touch display 1205, camera 1206, audio circuitry 1207, positioning assembly 1208, and power supply 1209.
The peripheral interface 1203 may be used to connect at least one peripheral device associated with an I/O (Input/Output) to the processor 1201 and the memory 1202. In some embodiments, the processor 1201, the memory 1202, and the peripheral interface 1203 are integrated on the same chip or circuit board; in some other embodiments, either or both of the processor 1201, the memory 1202, and the peripheral interface 1203 may be implemented on separate chips or circuit boards, which is not limited in this embodiment.
The Radio Frequency circuit 1204 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuit 1204 communicates with a communication network and other communication devices via electromagnetic signals. The radio frequency circuit 1204 converts an electrical signal into an electromagnetic signal for transmission, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1204 includes: antenna systems, RF transceivers, one or more amplifiers, tuners, oscillators, digital signal processors, codec chipsets, subscriber identity module cards, and so forth. The radio frequency circuit 1204 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: the world wide web, metropolitan area networks, intranets, generation mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or WiFi (Wireless Fidelity ) networks. In some embodiments, the radio frequency circuit 1204 may also include NFC (Near Field Communication ) related circuits, which the present application is not limited to.
The display 1205 is used to display a UI (user interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display 1205 is a touch display, the display 1205 also has the ability to collect touch signals at or above the surface of the display 1205. The touch signal may be input as a control signal to the processor 1201 for processing. At this time, the display 1205 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 1205 may be one, providing a front panel of the computer device 1200; in other embodiments, the display 1205 may be at least two, respectively disposed on different surfaces of the computer device 1200 or in a folded design; in still other embodiments, the display 1205 may be a flexible display disposed on a curved surface or a folded surface of the computer device 1200. Even more, the display 1205 may be arranged in an irregular pattern that is not rectangular, i.e., a shaped screen. The display 1205 can be made of LCD (Liquid Crystal Display ), OLED (Organic Light-Emitting Diode) or other materials.
The camera assembly 1206 is used to capture images or video. Optionally, camera assembly 1206 includes a front camera and a rear camera. Typically, the front camera is disposed on the front panel of the terminal and the rear camera is disposed on the rear surface of the terminal. In some embodiments, the at least two rear cameras are any one of a main camera, a depth camera, a wide-angle camera and a tele camera, so as to realize that the main camera and the depth camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize a panoramic shooting and Virtual Reality (VR) shooting function or other fusion shooting functions. In some embodiments, camera assembly 1206 may also include a flash. The flash lamp can be a single-color temperature flash lamp or a double-color temperature flash lamp. The dual-color temperature flash lamp refers to a combination of a warm light flash lamp and a cold light flash lamp, and can be used for light compensation under different color temperatures.
The audio circuitry 1207 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 1201 for processing, or inputting the electric signals to the radio frequency circuit 1204 for voice communication. For purposes of stereo acquisition or noise reduction, the microphone may be multiple, each disposed at a different location of the computer device 1200. The microphone may also be an array microphone or an omni-directional pickup microphone. The speaker is used to convert electrical signals from the processor 1201 or the radio frequency circuit 1204 into sound waves. The speaker may be a conventional thin film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, not only the electric signal can be converted into a sound wave audible to humans, but also the electric signal can be converted into a sound wave inaudible to humans for ranging and other purposes. In some embodiments, the audio circuitry 1207 may also include a headphone jack.
The positioning component 1208 is used to position the current geographic location of the computer device 1200 to enable navigation or LBS (Location Based Service, location-based services). The positioning component 1208 may be a positioning component based on the united states GPS (Global Positioning System ), the beidou system of china, or the galileo system of russia.
The power supply 1209 is used to power the various components in the computer device 1200. The power source 1209 may be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power source 1209 comprises a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, computer device 1200 also includes one or more sensors 1210. The one or more sensors 1210 include, but are not limited to: acceleration sensor 1211, gyroscope sensor 1212, pressure sensor 1213, fingerprint sensor 1214, optical sensor 1215, and proximity sensor 1216.
The acceleration sensor 1211 may detect the magnitudes of accelerations on three coordinate axes of the coordinate system established with the computer device 1200. For example, the acceleration sensor 1211 may be used to detect components of gravitational acceleration in three coordinate axes. The processor 1201 may control the touch display 1205 to display a user interface in a landscape view or a portrait view based on the gravitational acceleration signal acquired by the acceleration sensor 1211. The acceleration sensor 1211 may also be used for the acquisition of motion data of a game or a user.
The gyro sensor 1212 may detect the body direction and the rotation angle of the computer apparatus 1200, and the gyro sensor 1212 may collect the 3D motion of the user on the computer apparatus 1200 in cooperation with the acceleration sensor 1211. The processor 1201 may implement the following functions based on the data collected by the gyro sensor 1212: motion sensing (e.g., changing UI according to a tilting operation by a user), image stabilization at shooting, game control, and inertial navigation.
The pressure sensor 1213 may be disposed on a side frame of the computer device 1200 and/or on an underlying layer of the touch display 1205. When the pressure sensor 1213 is disposed at a side frame of the computer apparatus 1200, a grip signal of the computer apparatus 1200 by a user may be detected, and the processor 1201 performs a left-right hand recognition or a shortcut operation according to the grip signal collected by the pressure sensor 1213. When the pressure sensor 1213 is disposed at the lower layer of the touch display 1205, the processor 1201 performs control of the operability control on the UI interface according to the pressure operation of the user on the touch display 1205. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.
The fingerprint sensor 1214 is used to collect a fingerprint of the user, and the processor 1201 identifies the identity of the user based on the fingerprint collected by the fingerprint sensor 1214, or the fingerprint sensor 1214 identifies the identity of the user based on the fingerprint collected. Upon recognizing that the user's identity is a trusted identity, the processor 1201 authorizes the user to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying for and changing settings, etc. The fingerprint sensor 1214 may be provided on the front, back or side of the computer device 1200. When a physical key or vendor Logo is provided on the computer device 1200, the fingerprint sensor 1214 may be integrated with the physical key or vendor Logo.
The optical sensor 1215 is used to collect the ambient light intensity. In one embodiment, the processor 1201 may control the display brightness of the touch display 1205 based on the ambient light intensity collected by the optical sensor 1215. Specifically, when the intensity of the ambient light is high, the display brightness of the touch display screen 1205 is turned up; when the ambient light intensity is low, the display brightness of the touch display screen 1205 is turned down. In another embodiment, processor 1201 may also dynamically adjust the shooting parameters of camera assembly 1206 based on the intensity of ambient light collected by optical sensor 1215.
A proximity sensor 1216, also referred to as a distance sensor, is typically provided on the front panel of the computer device 1200. The proximity sensor 1216 is used to capture the distance between the user and the front of the computer device 1200. In one embodiment, when the proximity sensor 1216 detects a gradual decrease in the distance between the user and the front of the computer device 1200, the processor 1201 controls the touch display 1205 to switch from the bright screen state to the off screen state; when the proximity sensor 1216 detects that the distance between the user and the front of the computer device 1200 gradually increases, the touch display 1205 is controlled by the processor 1201 to switch from the off-screen state to the on-screen state.
Those skilled in the art will appreciate that the architecture shown in fig. 12 is not limiting as to the computer device 1200, and may include more or fewer components than shown, or may combine certain components, or employ a different arrangement of components.
Those skilled in the art will appreciate that in one or more of the examples described above, the functions described in the embodiments of the present application may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, these functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
The embodiment of the application also provides a computer readable storage medium, which is used for storing at least one instruction, at least one section of program, a code set or an instruction set, wherein the at least one instruction, the at least one section of program, the code set or the instruction set is loaded and executed by a processor to realize the background setting method. For example, the computer readable storage medium may be Read-Only Memory (ROM), random-access Memory (Random Access Memory, RAM), compact disc Read-Only Memory (CD-ROM), magnetic tape, floppy disk, optical data storage device, and the like.
Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It is to be understood that the application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (9)

1. A background setting method, wherein the method is performed by a terminal, the method comprising:
when receiving a background setting instruction, acquiring a background picture according to the background setting instruction;
taking the center of the background picture and the center of a data source display area in a data source processing interface as references, carrying out equal scaling on the background picture, so that the width and the height of the background picture after equal scaling are larger than or equal to the width and the height of the data source display area, wherein the data source display area is a data source preview area in the data source processing interface;
clipping the background picture after equal scaling, so that the width and the height of the clipped background picture are equal to those of the data source display area;
setting the background of a data source according to the cut background picture, wherein the data source refers to materials processed at the data source processing interface;
when the background setting instruction is received, before the background picture is acquired according to the background setting instruction, the method further comprises the following steps:
acquiring the data source, wherein the data source is at least one of a video and a picture;
Respectively acquiring the aspect ratio of the data source display area and the aspect ratio of the data source;
when the aspect ratio of the data source is different from the aspect ratio of the data source display area, scaling the data source in an equal proportion based on the center of the data source and the center of the data source display area in the data source processing interface, so that the width or the height of the data source is connected with the data source display area, and the size of a picture of the data source is not larger than the size of the data source display area.
2. The method of claim 1, wherein the setting the background of the data source according to the cropped background picture comprises:
blurring processing is carried out on the cut background picture;
and setting the background picture after blurring processing as the background of the data source.
3. The method of claim 1, wherein when the data source is video, the obtaining a background picture according to the background setting instruction when the background setting instruction is received comprises:
acquiring each picture frame in the data source;
and setting each picture frame as a background picture corresponding to each picture frame in the data source.
4. The method according to claim 1, wherein when the data source is a picture, the obtaining a background picture according to the background setting instruction when the background setting instruction is received includes:
acquiring a preset static picture as the background picture;
or alternatively, the process may be performed,
acquiring a static picture stored in the terminal as the background picture;
or alternatively, the process may be performed,
and acquiring a frame of picture frame in the data source as the background picture.
5. The method according to claim 2, wherein setting the blurred background picture as the background of the data source comprises:
rendering and displaying the background picture subjected to blurring processing in the data source display area;
and superposing and displaying the data source on the background picture after the blurring processing.
6. The method according to claim 2, wherein the blurring process is performed on the cropped background picture in a gaussian blurring process.
7. A background setting apparatus, wherein the apparatus is applied to a terminal, the apparatus comprising:
the first acquisition module is used for acquiring a background picture according to the background setting instruction when receiving the background setting instruction;
The first scaling module is used for scaling the background picture with the center of the background picture and the center of a data source display area in a data source processing interface as references, so that the width and the height of the background picture after the scaling are equal to or larger than the width and the height of the data source display area, and the data source display area is a data source preview area in the data source processing interface;
the clipping module is used for clipping the background picture subjected to equal scaling so that the width and the height of the clipped background picture are equal to those of the data source display area;
the setting module is used for setting the background of a data source according to the cut background picture, wherein the data source refers to materials processed at the data source processing interface;
the second acquisition module is used for acquiring the data source before acquiring the background picture according to the background setting instruction when receiving the background setting instruction, wherein the data source is at least one of a video and a picture;
a third obtaining module, configured to obtain an aspect ratio of the data source display area and an aspect ratio of the data source, respectively;
And the second scaling module is used for scaling the data source in equal proportion by taking the center of the data source and the center of the data source display area in the data source processing interface as a reference when the aspect ratio of the data source is different from the aspect ratio of the data source display area, so that the width or the height of the data source is connected with the data source display area, and the size of a picture of the data source is not larger than the size of the data source display area.
8. A terminal comprising a processor and a memory storing at least one instruction, at least one program, code set, or instruction set, the at least one instruction, the at least one program, code set, or instruction set being loaded and executed by the processor to implement the context-setting method of any of claims 1 to 6.
9. A computer readable storage medium having stored therein at least one instruction, at least one program, code set, or instruction set, the at least one instruction, the at least one program, the code set, or instruction set being loaded and executed by a processor to implement the context-setting method of any of claims 1 to 6.
CN201911241214.7A 2019-12-06 2019-12-06 Background setting method, device, terminal and storage medium Active CN110992268B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911241214.7A CN110992268B (en) 2019-12-06 2019-12-06 Background setting method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911241214.7A CN110992268B (en) 2019-12-06 2019-12-06 Background setting method, device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN110992268A CN110992268A (en) 2020-04-10
CN110992268B true CN110992268B (en) 2023-09-29

Family

ID=70090790

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911241214.7A Active CN110992268B (en) 2019-12-06 2019-12-06 Background setting method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN110992268B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113032626A (en) * 2021-03-23 2021-06-25 北京字节跳动网络技术有限公司 Search result processing method and device, electronic equipment and storage medium
CN113313791B (en) * 2021-07-30 2021-10-01 深圳市知小兵科技有限公司 Image processing method of internet game and related equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105139342A (en) * 2015-09-29 2015-12-09 天脉聚源(北京)教育科技有限公司 Method and device for zooming pictures
CN108196755B (en) * 2018-01-30 2021-02-12 腾讯科技(深圳)有限公司 Background picture display method and device
CN108595239B (en) * 2018-04-18 2021-08-13 腾讯科技(深圳)有限公司 Picture processing method, device, terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN110992268A (en) 2020-04-10

Similar Documents

Publication Publication Date Title
CN108595239B (en) Picture processing method, device, terminal and computer readable storage medium
CN108449641B (en) Method, device, computer equipment and storage medium for playing media stream
CN109859102B (en) Special effect display method, device, terminal and storage medium
CN108965922B (en) Video cover generation method and device and storage medium
CN108196755B (en) Background picture display method and device
EP4007287A1 (en) Video processing method, device, terminal, and storage medium
CN110225390B (en) Video preview method, device, terminal and computer readable storage medium
CN110868636B (en) Video material intercepting method and device, storage medium and terminal
CN110288689B (en) Method and device for rendering electronic map
CN108845777B (en) Method and device for playing frame animation
CN110839174A (en) Image processing method and device, computer equipment and storage medium
CN112667835A (en) Work processing method and device, electronic equipment and storage medium
CN111083526B (en) Video transition method and device, computer equipment and storage medium
CN110992268B (en) Background setting method, device, terminal and storage medium
CN111954058B (en) Image processing method, device, electronic equipment and storage medium
CN110868642B (en) Video playing method, device and storage medium
CN109032492B (en) Song cutting method and device
CN111369434B (en) Method, device, equipment and storage medium for generating spliced video covers
CN112637624B (en) Live stream processing method, device, equipment and storage medium
CN112612405B (en) Window display method, device, equipment and computer readable storage medium
CN110097619B (en) Animation effect implementation method, device and equipment in application program
CN109189525B (en) Method, device and equipment for loading sub-page and computer readable storage medium
CN108881715B (en) Starting method and device of shooting mode, terminal and storage medium
CN109101166B (en) Audio control method, device and storage medium
CN108881739B (en) Image generation method, device, terminal and storage medium

Legal Events

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