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

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

Info

Publication number
CN110992268A
CN110992268A CN201911241214.7A CN201911241214A CN110992268A CN 110992268 A CN110992268 A CN 110992268A CN 201911241214 A CN201911241214 A CN 201911241214A CN 110992268 A CN110992268 A CN 110992268A
Authority
CN
China
Prior art keywords
data source
background
picture
background picture
display area
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.)
Granted
Application number
CN201911241214.7A
Other languages
Chinese (zh)
Other versions
CN110992268B (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

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Controls And Circuits For Display Device (AREA)

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 a background setting instruction is received, 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 the data source processing interface as a reference, and scaling the background picture in an equal proportion to ensure that the width and the height of the background picture after scaling in the equal proportion are both larger than or equal to the width and the height of the data source display area; clipping the background picture after equal scaling to ensure that the width and height of the clipped background picture are equal to the width and height of a data source display area; and setting the background of the data source according to the cut background picture. By the method, when the data source is processed, the data loss caused by the change of the data source is reduced while the display integrity of the data source is ensured.

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, an apparatus, 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 borders are formed above, below, or on the left and right of the data source display area (i.e., the area not filled with the data source) when the data source is played, which affects the viewing experience of the user on the data source. 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 partial content of the data source to fully occupy a data source display area, the portion, outside the data source display area, of the scaled data source 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 and the data source display area is not consistent, the above-mentioned technique, by scaling and clipping the data source to make it occupy the entire data source display area, may cause information in the data source to be lost, and if the data source is excessively enlarged, the data source may become blurred and distorted.
Disclosure of Invention
The embodiment of the application provides a background setting method, a background setting 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, a black edge appears 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, where the method is performed by a terminal, and the method includes:
when a background setting instruction is received, acquiring a background picture according to the background setting instruction;
scaling the background picture in an equal proportion by taking the center of the background picture and the center of the data source display area in the data source processing interface as a reference, so that the width and the height of the background picture after scaling in the equal proportion are both 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;
clipping the background picture after equal scaling to ensure that the width and height of the clipped background picture are equal to the width and height of the data source display area;
and setting the background of a data source according to the cut background picture, wherein the data source refers to a material processed on the data source processing interface.
Optionally, the setting a background of a data source according to the cut background picture includes:
fuzzifying the cut background picture;
and setting the background picture after the fuzzification processing as the background of the data source.
Optionally, when the background setting instruction is received and before the background picture is obtained 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, the data source is scaled in an 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, so that the width or 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 and the background setting instruction is received, obtaining a background picture according to the background setting instruction includes:
acquiring each picture frame in the data source;
and setting each picture frame as a corresponding background picture of each picture frame in the data source.
Optionally, when the data source is a picture and the background setting instruction is received, obtaining a background picture according to the background setting instruction includes:
acquiring a preset static picture as the background picture;
alternatively, the first and second electrodes may be,
acquiring a static picture stored in the terminal as the background picture;
alternatively, the first and second electrodes may be,
and acquiring a frame of picture frame in the data source as the background picture.
Optionally, the setting the background picture after the blurring processing as the background of the data source includes:
rendering and displaying the background picture after fuzzification processing in the data source display area;
and overlaying and displaying the data source on the background picture after the fuzzification processing.
Optionally, the blurring processing of the clipped background picture is gaussian blurring processing.
In one aspect, a background setting apparatus is provided, where the apparatus is applied in a terminal, and the apparatus includes:
the first acquisition module is used for acquiring a background picture according to a background setting instruction when the background setting instruction is received;
a first scaling module, configured to scale the background picture in an equal proportion by using a center of the background picture and a center of the data source display area in the data source processing interface as a reference, so that a width and a height of the background picture after the equal proportion is 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 is used for cropping the background picture after the equal scaling 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;
and 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 a material processed on the data source processing interface.
Optionally, the setting module includes:
the fuzzification processing submodule is used for fuzzifying the cut background picture;
and the setting submodule is used for setting the background picture after the fuzzification as the background of the data source.
Optionally, the apparatus further comprises:
the second obtaining module is used for obtaining the data source before obtaining the background picture according to the background setting instruction when the background setting instruction is received, wherein the data source is at least one of a video and a picture;
the third acquisition module is used for respectively acquiring the aspect ratio of the data source display area and the aspect ratio of the data source;
and the second scaling module is used for scaling the data source to be in a manner that the width or the height of the data source is 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 a 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 the 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 first obtaining module includes:
the first obtaining submodule is used for obtaining each picture frame in the data source;
and the first setting submodule is used for respectively setting each picture frame as a corresponding background picture of each picture frame in the data source.
Optionally, when the data source is a picture, the first obtaining module further includes:
the second obtaining sub-module is used for obtaining a preset static picture as the background picture;
alternatively, the first and second electrodes may be,
and the third obtaining sub-module is used for obtaining the static picture stored in the terminal as the background picture.
Alternatively, the first and second electrodes may be,
and the fourth obtaining submodule is used for obtaining a frame of picture frame in the data source as the background picture.
Optionally, the setting sub-module is configured to,
rendering and displaying the background picture after fuzzification processing in the data source display area;
and overlaying and displaying the data source on the background picture after the fuzzification processing.
Optionally, the blurring processing sub-module performs blurring processing on the clipped background picture in a gaussian blurring processing manner.
In one aspect, a terminal is provided, which includes a processor and a memory, where at least one instruction, at least one program, a code set, or a set of instructions is stored in the memory, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by the processor to implement the above background setting method.
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, which is loaded and executed by the processor to implement the above-mentioned 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 an equal proportion mode, the width and the height of the background picture after the equal scaling are larger than or equal to the width and the height of the data source display area, the background picture after the equal scaling is cut, the width and the height of the cut background picture 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 cut background picture, so that when the data source is processed, the completeness of data source display is guaranteed, and meanwhile, data loss caused by data source change is reduced.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
Fig. 1 illustrates a schematic structural diagram 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 is an interface diagram illustrating a data source clipping interface according to an embodiment of the present application;
FIG. 4 is an interface diagram illustrating a background settings interface according to an embodiment of the present application;
fig. 5 is a schematic diagram illustrating scaling of a background picture 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 illustrating scaling of a data source provided by an embodiment of the present application;
FIG. 8 is a diagram illustrating a background picture after clipping is set as a data source background according to an embodiment of the present application;
fig. 9 is a schematic diagram illustrating 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 illustrating the unfilled region provided by the embodiment of the present application positioned in the left and right regions of the data source;
FIG. 11 illustrates a block diagram of a background setting apparatus provided in an exemplary embodiment of the present application;
FIG. 12 is a block diagram illustrating the structure of a computer device according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like 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 application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
It should be understood that reference to "a plurality" herein means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
During the data source processing, due to the aspect ratio of the data source being different from the aspect ratio of the data source display area, an unfilled area, i.e., an area of the data source display area that is not covered by the data source, may appear in the data source display area. The embodiment of the application provides a background setting method, which can ensure the integrity of data source display and reduce data loss caused by data source modification. For convenience of understanding, several terms referred to in the embodiments of the present application are explained below.
1) Cutting in middle
The center clipping is a method of displaying all the short sides of a picture and clipping both sides of the long sides of the picture. In implementation, the center of the picture to be cropped may be aligned with the center of the cropping range limiting region, the picture may be zoomed so that the short side of the picture coincides with the short side of the cropping range limiting region, a portion of the long side of the picture beyond the cropping range limiting region may be cropped, and only a portion of the long side of the picture in the cropping range limiting region may be reserved.
2) Gaussian Blur (Gaussian Blur)
Gaussian blur, also called gaussian smoothing, is a processing effect widely used in image processing software such as Adobe Photoshop, GIMP, and paint. This blurring technique produces an image that has the visual effect of looking through a translucent screen.
3) Terminal device
In an embodiment of the present application, the terminal may be a computing device having 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 the terminal may also be an intelligent wearable device such as a smart watch, or the terminal may also be a fixed terminal such as an all-in-one computer.
For example, please refer to fig. 1, which shows a schematic structural diagram 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.
The main board 110 has integrated therein processing elements such as a processor and a controller.
The external input/output device 120 may include a display component (e.g., a display screen), a sound playing component (e.g., a speaker), a sound collecting component (e.g., a microphone), various keys, and the like.
The memory 130 has program codes and data stored therein.
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 into a display component or a 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 the key.
The power supply 160 is used to power the various other components in the terminal.
In the embodiment of the present application, the processor in the motherboard 110 may generate the interface content by executing or calling the program code and data stored in the memory, and display the generated interface content through the external input/output device 120. In the process of displaying the interface content, a touch operation performed when the user interacts with the interface may be detected by the touch system 150, and a key or other operations performed when the user interacts with the interface may also be detected by the external output/input device 120, such as a gesture operation, a voice operation, and so on.
4) Data source
In this embodiment of the present application, the data source refers to a material processed on a data source processing interface, and the type of the data source may be a video or a picture.
5) Data source display area
In this embodiment, the data source display area refers to an area in which a data source, including a video or a picture, can be pre-displayed in the data source processing interface.
The data source processing interface can comprise a data source clipping interface and a background setting interface, the data source clipping interface can comprise a data source display area and a data source clipping area, the data source clipping area can comprise at least one data source clipping tool to implement re-editing of the data source, the background setting interface can comprise a data source display area and a background setting area, and the background setting area can comprise at least one background setting control to implement changing 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 specified 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 a terminal, and as shown in fig. 2, the background setting method may include the steps of:
and step 210, when receiving the background setting instruction, acquiring a background picture according to the background setting instruction.
The background setting instruction can be an instruction for changing the background of the data source based on the background setting interface. In a possible case, the background setting interface can be opened by a user through touch operation on a designated control contained in the data source clipping interface.
In the data source editing interface, a user can cut and combine the pictures or videos, or process the pictures or videos by adding other elements such as background music, special effects, scenes and other materials to increase richness of the pictures or videos. Referring to fig. 3, which illustrates an interface schematic diagram of a data source clipping interface according to an embodiment of the present invention, as shown in fig. 3, a region 310 is a data source display region, a region 320 is a picture or video imported by a user and displayed in the data source display region, a control 330 sets an interface trigger control for a background, and when a user touches the control 330, the data source clipping interface may be switched to the background setting interface. Please refer to fig. 4, which illustrates an interface schematic diagram of a background setting interface according to an embodiment of the present application, where a region 410 is a data source display region, a region 420 is a picture or a video imported by a user and displayed in the data source display region, a region 430 includes a control for setting a background interface, and a user can issue a background setting instruction through touch operations 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 step 220, taking the center of the background picture and the center of the data source display area in the data source processing interface as a reference, and scaling the background picture in an equal proportion, so that the width and the height of the background picture after scaling in an equal proportion are both 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.
In the above process, the scaling operation on the background picture may be stopped when the width and height of the background picture are both greater than the width and 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 greater 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 greater than the width of the data source display area.
Please refer to fig. 5, which illustrates a schematic diagram of performing equal-scale scaling on a background picture according to an embodiment of the present application, as shown in fig. 5, a part a in fig. 5 illustrates a schematic diagram of a background picture before being scaled, and a part B in fig. 5 illustrates a schematic diagram of a background picture after being scaled, where a region 510 represents a data source display region, and a region 520 represents a background picture, and during the scaling of the background picture, it is required to keep a center of the background picture aligned with a center of the data source display region all the time, for example, a point 530 in fig. 5, that is, the center of the background picture coincides with the center of the data source display region, and when a width and a height of the scaled background picture are both greater than or equal to a width and a height of the data source display region, the 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 himself.
And step 230, cropping the peer-to-peer scaled background picture, so that the width and height of the cropped background picture are equal to the width and height of the data source display area.
Optionally, the background picture after the peer scaling is cropped, so that the cropping mode adopted in the operation that the width and height of the cropped background picture are equal to the width and height of the data source display area may be centered cropping.
The center clipping refers to a clipping mode in which a short edge of a background picture after equal scaling is completely displayed, a part of the long edge beyond a data source display area is clipped, and a part of the long edge positioned in the data source display area in the middle is displayed.
And 240, setting the background of a data source according to the cut background picture, wherein the data source refers to a material processed on a data source processing interface.
Optionally, the cut background picture may be directly set as the background of the data source, or the cut background picture may be processed and set as the background of the data source.
To sum up, 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, 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, and scaling is performed on the background picture and the like, so that the width and the height of the background picture after scaling are both greater than or equal to the width and the height of the data source display area, and the background picture after scaling is cropped, 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, 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 data source display is ensured, and data loss caused by data source change 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 a terminal, and as shown in fig. 6, the background setting method may include the steps of:
step 601, acquiring a data source, wherein the data source is at least one of a video and a picture.
Optionally, the data source clipping interface may combine and play a plurality of pictures in the form of videos, and the user may set a time length and a display form of each picture in the picture clipping process, for example, may display a plurality of pictures in the same data source display area.
Similarly, the user may also clip, order, and splice the video, for example, combine a plurality of video contents in the same video for playing, or clip different videos, take a desired segment for combination, and the like.
Step 602, the aspect ratio of the data source display area and the aspect ratio of the data source are respectively obtained.
The application program of the data source clipping interface can respectively identify the width and the height of the data source display area and the width and the height of the data source, so as to respectively calculate the aspect ratio of the data source display area and the aspect ratio of the data source and compare the aspect ratios of the data source display area and the data source.
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 the width or height of the data source 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 a reference, 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 on the data source is stopped when one of the height and the width of the data source is firstly connected with the data source display area, so as to ensure that the data source can be completely displayed in the data display area.
Referring to fig. 7, which illustrates a schematic diagram of scaling a data source according to an embodiment of the present application, as shown in fig. 7, a portion a in fig. 7 illustrates a schematic diagram of a data source before scaling, and a portion B in fig. 7 illustrates a schematic diagram of a scaled data source, where a region 710 represents a data source display region, and a region 720 represents a data source, during the scaling of the data source, it is necessary 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, that is, the center of the data source coincides with the center of the data source display region, and when one of a width or a height of the scaled data source is equal to a width and a height of the data source display region, that is, the data source is connected with the data source display region, scaling of the data source is stopped.
A user may open a background setting interface by triggering a touch operation of a control on the background setting interface in the data source editing interface, and set a background in the background setting interface according to a received background setting instruction, which please refer to the related description in the embodiment shown in fig. 2, and details are not repeated here.
And step 604, acquiring a background picture according to the background setting instruction when the background setting instruction is received.
Optionally, the background picture may be a picture that is always kept unchanged in the playing process of the data source, or may be a group of pictures in which the content of the background picture is correspondingly changed along with the change of the content of the data source in the playing process 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 respectively setting each picture frame as a corresponding background picture of each picture frame in the data source. For example, in the background setting interface shown in fig. 4, the user may set the background picture of the data source as the dynamic picture through the control 432 in the touch area 430.
Optionally, the data source is a picture, when a user combines multiple pictures into one album for display, in the display process, the picture frame of the data source changes with the change of time, and the application program may acquire the picture change in the data source in real time, acquire the picture of each frame, and process the picture to serve as the background picture of the data source of the corresponding frame.
When the data source is a video, the video is a continuously played picture, and the playing process of the video is a refreshing process of picture frames, so that in the refreshing process of the video picture frames, the application program can acquire a picture of each frame in the video picture in real time and serve as a background picture of the data source of the frame corresponding to the picture after processing 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, thereby increasing the interval time for acquiring the picture frames, so as to reduce the waste of picture acquisition resources caused by acquiring the picture frames when the picture content is not changed all the time, wherein the value of n may be preset.
Optionally, when the data source is a picture and the background setting instruction is received, obtaining the background picture according to the background setting instruction may be:
acquiring a preset static picture as a background picture;
alternatively, the first and second electrodes may be,
acquiring a static picture stored in a terminal as a background picture;
alternatively, the first and second electrodes may be,
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, and the still picture may be a pure color picture or a still picture with other patterns. As shown in the area 430 in fig. 4, a part of the still pictures preset in the background setting interface is displayed, and the user selects the still picture in the area 430 by performing touch operation on the still picture, so as to select the still picture as the background picture.
Optionally, the background setting interface further includes a control for linking the terminal picture storage file, the user enters the picture storage file in the terminal by performing touch operation on the control, and selects the area 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 can open the picture storage file in the terminal by performing touch operation on the control 431, so as to select the picture in the file as the background picture.
Optionally, a picture of a certain frame of picture in the data source may be designated or randomly acquired as a background picture of the data source, that is, the picture of the frame of picture is always used as the background picture in the playing process of the data source.
And 605, scaling the background picture in equal proportion by taking the center of the background picture and the center of the data source display area in the data source processing interface as a reference, so that the width and the height of the background picture after scaling in equal proportion are both 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.
And step 606, clipping the background picture after the equal scaling so that the width and height of the clipped 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 are not described herein again.
And 607, setting the background of the data source according to the cut background picture, wherein the data source refers to the material processed in the data source processing interface.
When the data source processing interface generates the data source with the background set, the application program renders the background picture in the data source display area at first, and then superposes and displays the data source after equal scaling on the background picture, so that the data source after equal scaling is positioned at the top of the data source display area.
Optionally, 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 the display area of the data source.
And overlapping and displaying the data source after the equal scaling on the cut background picture.
Please refer to fig. 8, which illustrates a schematic diagram of setting a clipped 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, the still picture indicated by the third control in the area 430 is selected as the data source background, and the still picture is cut and then directly set as the background of the data source.
In one possible case, when the width and height of the still picture are exactly equal to the width and height of the data source display area, then the still picture can be directly set as the background of the data source.
Or, optionally, performing blurring processing on the cut background picture;
and setting the blurred background picture as the background of the data source.
Optionally, the blurring processing may be performed on the clipped background picture by gaussian blurring processing.
And when the background picture after the fuzzification processing is set as the background of the data source, rendering and displaying the background picture after the fuzzification processing in a data source display area.
And overlapping and displaying the data source after the equal scaling on the background picture after the fuzzification processing.
Please refer to fig. 9, which illustrates a schematic diagram of 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, the moving picture indicated by the control 432 in the selection area 430 is the data source background, and is set as the background of the data source after being subjected to the blurring processing by the moving picture.
Optionally, a control for adjusting the transparency of the background picture is arranged in the background setting interface, and a user can adjust the transparency of the background picture through a specified operation on 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 releasing 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 data source processing process, after the operation is completed, the application program can generate a data source with a background picture which is suitable for a data source display interface according to the user operation, 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 the user selects the data source playing platform corresponding to the application program when uploading the data source with the set background, other users of the application program can play the data source with the set background.
To sum up, 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, 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, and the background picture is scaled in an equal proportion, so that the width and the height of the scaled background picture are both greater than or equal to the width and the height of the data source display area, and the scaled background picture is cropped, 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, 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 data source display is ensured, and meanwhile, data loss caused by data source change is reduced.
In a possible case, when the data source processing interface of the terminal is displayed in a vertical screen, the length of the height of the data source display area is greater than the length of the width of the data source display area, and the width of the data source easily reaches the length of the data source display interface in the zooming process of the data source, so that the position where the unfilled area appears is in the upper and lower areas of the data source, as shown in fig. 4; when a data source processing interface of the terminal is displayed in a landscape mode, the width length of the data source display area is greater than the height length, and the height 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 an unfilled area is located in the left and right areas of the data source, please refer to fig. 10, which shows a schematic diagram that the position of the unfilled area related to the embodiment of the present application is located in the left and right areas of the data source, as shown in fig. 10, after the data source is zoomed, the height of the data source is first connected with the edge of the data source display interface.
For the case of horizontal screen display, the scheme shown in the present application is also applicable, and is not described herein again.
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 the 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 a background picture according to a background setting instruction when the background setting instruction is received;
a first scaling module 1120, configured to scale the background picture in an equal proportion by taking a center of the background picture and a center of a data source display area in the data source processing interface as a reference, so that a width and a height of the background picture after the equal proportion is 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;
a cropping module 1130, configured to crop the scaled background picture, so that the width and height of the cropped background picture are equal to the width and height of the data source display area;
and a setting module 1140, configured to set a background of a data source according to the cut background picture, where the data source refers to a material processed on a data source processing interface.
Optionally, the setting module 1140 includes:
the fuzzification processing submodule is used for fuzzifying 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 the background picture according to the background setting instruction when the background setting instruction is received, wherein the data source is at least one of a video and a picture;
the third acquisition module is used for respectively acquiring the aspect ratio of the data source display area and the aspect ratio of the data source;
and the second scaling module is used for scaling the data source 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 area displayed by the data source 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, and the size of the picture of the data source is not larger than that of the data source display area.
Optionally, when the data source is a 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 respectively setting each picture frame as a corresponding background picture of each picture frame in the data source.
Optionally, when the data source is a picture, the first obtaining module 1110 further includes:
the second obtaining sub-module is used for obtaining a preset static picture as a background picture;
alternatively, the first and second electrodes may be,
and the third acquisition sub-module is used for acquiring the static picture stored in the terminal as the background picture.
Alternatively, the first and second electrodes may be,
and the fourth obtaining submodule is used for obtaining a frame of picture frame in the data source as a background picture.
Optionally, the setting sub-module is configured to,
and rendering and displaying the background picture after the fuzzification processing in the data source display area.
Optionally, the blurring processing sub-module performs blurring processing on the clipped background picture in a gaussian blurring processing manner.
To sum up, the background setting apparatus according to the embodiment of the present application is applied to a terminal, and when a background setting instruction is received, a background picture is obtained according to the background setting instruction, and the background picture is scaled in equal proportion by taking a center of the background picture and a center of a data source display area in a data source processing interface as a reference, so that the width and height of the background picture after the scaling in equal proportion are both greater than or equal to the width and height of the data source display area, and the width and height of the background picture after the scaling are equal to the width and height of the data source display area.
Fig. 12 is a block diagram illustrating the structure of a computer device 1200 according to an example embodiment. The computer device 1200 may be a terminal as shown in fig. 1, such as a smartphone, tablet, or desktop computer. Computer device 1200 may also be referred to by other names such as user equipment, portable terminals, laptop terminals, desktop terminals, and the like.
Generally, computer device 1200 includes: a processor 1201 and a memory 1202.
The 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 a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 1201 may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 1201 may be integrated with a GPU (Graphics Processing Unit) that is responsible for rendering and drawing content that the display screen needs to display. In some embodiments, the processor 1201 may further include an AI (Artificial Intelligence) processor for processing a computing operation 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 herein.
In some embodiments, the computer device 1200 may further optionally include: a peripheral interface 1203 and at least one peripheral. The processor 1201, memory 1202, and peripheral interface 1203 may be connected by a bus or signal line. Various peripheral devices may be connected to peripheral interface 1203 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 1204, touch display 1205, camera 1206, audio circuitry 1207, pointing component 1208, and power source 1209.
The peripheral interface 1203 may be used to connect at least one peripheral associated with I/O (Input/Output) to the processor 1201 and the memory 1202. In some embodiments, the processor 1201, memory 1202, and peripheral interface 1203 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1201, the memory 1202 and the peripheral device interface 1203 may be implemented on a separate chip or circuit board, 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 by electromagnetic signals. The radio frequency circuit 1204 converts an electric signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electric signal. Optionally, the radio frequency circuit 1204 comprises: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuit 1204 may communicate with other terminals through at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: the world wide web, metropolitan area networks, intranets, generations of mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 1204 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 1205 is used to display a UI (user interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 1205 is a touch display screen, the display screen 1205 also has the ability to acquire touch signals on or over the surface of the display screen 1205. The touch signal may be input to the processor 1201 as a control signal for processing. At this point, 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 the 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 on a folded surface of the computer device 1200. Even further, the display screen 1205 may be arranged in a non-rectangular irregular figure, i.e., a shaped screen. The Display panel 1205 can be made of a material such as an LCD (Liquid Crystal Display), an OLED (organic light-Emitting Diode), and the like.
Camera assembly 1206 is used to capture images or video. Optionally, camera assembly 1206 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 1206 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at 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 into the processor 1201 for processing or inputting the electric signals into the radio frequency circuit 1204 to achieve voice communication. For stereo capture or noise reduction purposes, the microphones may be multiple and located at different locations on the computer device 1200. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 1201 or the radio frequency circuit 1204 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuitry 1207 may also include a headphone jack.
The Location component 1208 is used to locate a current geographic Location of the computer device 1200 for navigation or LBS (Location Based Service). The Positioning component 1208 can be a Positioning component based on the Global Positioning System (GPS) in the united states, the beidou System in china, or the galileo System in russia.
The power supply 1209 is used to power the various components in the computer device 1200. The power source 1209 may be alternating current, direct current, disposable or rechargeable. When the power source 1209 includes 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, the 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, gyro sensor 1212, pressure sensor 1213, fingerprint sensor 1214, optical sensor 1215, and proximity sensor 1216.
The acceleration sensor 1211 may detect magnitudes of accelerations on three coordinate axes of a coordinate system established with the computer apparatus 1200. For example, the acceleration sensor 1211 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 1201 may control the touch display 1205 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1211. The acceleration sensor 1211 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 1212 may detect a body direction and a rotation angle of the computer device 1200, and the gyro sensor 1212 may collect a 3D motion of the user on the computer device 1200 in cooperation with the acceleration sensor 1211. The processor 1201 can implement the following functions according to the data collected by the gyro sensor 1212: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensors 1213 may be disposed on the side bezel of computer device 1200 and/or on the underlying layers of touch display 1205. When the pressure sensor 1213 is disposed on the side frame of the computer device 1200, the holding signal of the user to the computer device 1200 can be detected, and the processor 1201 performs left-right hand recognition or quick operation according to the holding signal acquired by the pressure sensor 1213. When the pressure sensor 1213 is disposed at a lower layer of the touch display screen 1205, the processor 1201 controls the operability control on the UI interface according to the pressure operation of the user on the touch display screen 1205. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 1214 is used for collecting a fingerprint of the user, and the processor 1201 identifies the user according to the fingerprint collected by the fingerprint sensor 1214, or the fingerprint sensor 1214 identifies the user according to the collected fingerprint. When the user identity is identified as a trusted identity, the processor 1201 authorizes the user to perform relevant sensitive operations, including unlocking a screen, viewing encrypted information, downloading software, paying, changing settings, and the like. 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 according to the ambient light intensity collected by the optical sensor 1215. Specifically, when the ambient light intensity is high, the display brightness of the touch display panel 1205 is increased; when the ambient light intensity is low, the display brightness of the touch display panel 1205 is turned down. In another embodiment, processor 1201 may also dynamically adjust the camera head 1206 shooting parameters based on the ambient light intensity collected by optical sensor 1215.
A proximity sensor 1216, also called a distance sensor, is generally provided on a front panel of the computer apparatus 1200. The proximity sensor 1216 is used to collect the distance between the user and the front of the computer device 1200. In one embodiment, the processor 1201 controls the touch display 1205 to switch from the bright screen state to the dark screen state when the proximity sensor 1216 detects that the distance between the user and the front of the computer device 1200 is gradually decreasing; when the proximity sensor 1216 detects that the distance between the user and the front of the computer device 1200 is gradually increased, the touch display 1205 is controlled by the processor 1201 to switch from the rest screen state to the bright screen state.
Those skilled in the art will appreciate that the configuration shown in FIG. 12 is not intended to be limiting of the computer device 1200 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
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, the 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.
Embodiments of the present application further provide a computer-readable storage medium for storing at least one instruction, at least one program, a code set, or a set of instructions, which is loaded and executed by a processor to implement the above-mentioned background setting method. For example, the computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention 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 invention 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 will be understood that the present application is not limited to the precise arrangements 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 application is limited only by the appended claims.

Claims (10)

1. A background setting method, characterized in that the method is performed by a terminal, and the method comprises:
when a background setting instruction is received, 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 a reference, and scaling the background picture in an equal proportion, so that the width and the height of the background picture after scaling in the equal proportion are both 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 to ensure that the width and height of the clipped background picture are equal to the width and height of the data source display area;
and setting the background of a data source according to the cut background picture, wherein the data source refers to a material processed on the data source processing interface.
2. The method according to claim 1, wherein the setting the background of the data source according to the cropped background picture comprises:
fuzzifying the cut background picture;
and setting the background picture after the fuzzification processing as the background of the data source.
3. The method according to claim 1 or 2, wherein when the background setting instruction is received, before the background picture is obtained according to the background setting instruction, the method further comprises:
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, the data source is scaled in an 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, so that the width or 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.
4. The method according to claim 3, wherein when the data source is a video and the background setting instruction is received, acquiring a background picture according to the background setting instruction comprises:
acquiring each picture frame in the data source;
and setting each picture frame as a corresponding background picture of each picture frame in the data source.
5. The method according to claim 3, wherein when the data source is a picture and the background setting instruction is received, obtaining a background picture according to the background setting instruction comprises:
acquiring a preset static picture as the background picture;
alternatively, the first and second electrodes may be,
acquiring a static picture stored in the terminal as the background picture;
alternatively, the first and second electrodes may be,
and acquiring a frame of picture frame in the data source as the background picture.
6. The method according to claim 2, wherein the setting the background picture after the blurring process as the background of the data source comprises:
rendering and displaying the background picture after fuzzification processing in the data source display area;
and overlaying and displaying the data source on the background picture after the fuzzification processing.
7. The method according to claim 2, wherein the blurring process is a gaussian blurring process.
8. A background setting apparatus, applied in a terminal, the apparatus comprising:
the first acquisition module is used for acquiring a background picture according to a background setting instruction when the background setting instruction is received;
a first scaling module, configured to scale the background picture in an equal proportion with a center of the background picture and a center of the data source display area in the data source processing interface as a reference, so that a width and a height of the background picture after the 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 is used for cropping the background picture after the equal scaling 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;
and 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 a material processed on the data source processing interface.
9. A terminal, characterized in that the terminal comprises 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 context setting method according to any one of claims 1 to 7.
10. A computer readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by the processor to implement the context setting method of any of claims 1 to 7.
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 true CN110992268A (en) 2020-04-10
CN110992268B 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)

Cited By (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
CN113313791A (en) * 2021-07-30 2021-08-27 深圳市知小兵科技有限公司 Image processing method of internet game and related equipment

Citations (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
CN108196755A (en) * 2018-01-30 2018-06-22 腾讯科技(深圳)有限公司 Background picture display and device
CN108595239A (en) * 2018-04-18 2018-09-28 腾讯科技(深圳)有限公司 image processing method, device, terminal and computer readable storage medium

Patent Citations (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
CN108196755A (en) * 2018-01-30 2018-06-22 腾讯科技(深圳)有限公司 Background picture display and device
CN108595239A (en) * 2018-04-18 2018-09-28 腾讯科技(深圳)有限公司 image processing method, device, terminal and computer readable storage medium

Cited By (3)

* 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
CN113313791A (en) * 2021-07-30 2021-08-27 深圳市知小兵科技有限公司 Image processing method of internet game and related equipment
CN113313791B (en) * 2021-07-30 2021-10-01 深圳市知小兵科技有限公司 Image processing method of internet game and related equipment

Also Published As

Publication number Publication date
CN110992268B (en) 2023-09-29

Similar Documents

Publication Publication Date Title
CN108769562B (en) Method and device for generating special effect video
CN108391171B (en) Video playing control method and device, and terminal
CN108449641B (en) Method, device, computer equipment and storage medium for playing media stream
CN108965922B (en) Video cover generation method and device and storage medium
CN111065001B (en) Video production method, device, equipment and storage medium
CN109859102B (en) Special effect display method, device, terminal and storage medium
CN110225390B (en) Video preview method, device, terminal and computer readable storage medium
CN111355998B (en) Video processing method and device
CN110868636B (en) Video material intercepting method and device, storage medium and terminal
CN112667835A (en) Work processing method and device, electronic equipment and storage medium
CN108848405B (en) Image processing method and device
CN111586444B (en) Video processing method and device, electronic equipment and storage medium
CN111083526B (en) Video transition method and device, computer equipment and storage medium
CN114546227A (en) Virtual lens control method, device, computer equipment and medium
CN112565806A (en) Virtual gift presenting method, device, computer equipment and medium
CN108845777B (en) Method and device for playing frame animation
CN110839174A (en) Image processing method and device, computer equipment and storage medium
CN110992268B (en) Background setting method, device, terminal and storage medium
CN110769120A (en) Method, device, equipment and storage medium for message reminding
CN111954058B (en) Image processing method, device, electronic equipment and storage medium
CN110868642B (en) Video playing method, device and storage medium
CN112616082A (en) Video preview method, device, terminal and storage medium
CN109032492B (en) Song cutting method and device
CN108966026B (en) Method and device for making video file
CN111369434B (en) Method, device, equipment and storage medium for generating spliced video covers

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