Unlock instant, AI-driven research and patent intelligence for your innovation.

Background transition color setting method and apparatus

A background and color technology, applied in the Internet field, can solve the problems of large color tone difference and discontinuous background, etc., to achieve the effect of ensuring the background and reducing the color tone difference

Active Publication Date: 2017-08-01
TENCENT TECH (SHENZHEN) CO LTD
View PDF8 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The currently set background transition color is often quite different from the color tone of the cover image of the music, resulting in discontinuous background display

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Background transition color setting method and apparatus
  • Background transition color setting method and apparatus
  • Background transition color setting method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] see figure 2 , the embodiment of the present invention provides a method for setting the background transition color, including:

[0031] Step 101: Compress the cover image of the music to be played to obtain a preset number of pixel grids, and each pixel grid in the preset number of pixel grids corresponds to a color of the cover image.

[0032] Step 102: Determine the main color of the cover image according to the preset number of pixel grids.

[0033] Step 103: Set the background transition color of the music to be played according to the main color.

[0034] In the embodiment of the present invention, the main color of the cover image of the music to be played is determined by the compressed preset number of pixels, and the background transition color is set according to the main color, which reduces the set background transition color and the tone of the music cover image Difference, to ensure that the displayed background is continuous.

Embodiment 2

[0036] see image 3 , the embodiment of the present invention provides a method for setting the background transition color, including:

[0037] Step 201: Compress the cover image of the music to be played to obtain a preset number of pixel grids.

[0038] Wherein, the audio file of each piece of music includes the cover image of the music, so the cover image of the music to be played can be obtained from the audio file of the music to be played when the music to be played is played. Each pixel grid in the preset number of pixel grids corresponds to a color of the cover image. There may be some pixel grids in the preset number of pixel grids that correspond to the same color, and the color corresponding to each pixel grid is the color of the cover image. The most dominant colors in the image.

[0039] Optionally, in this embodiment, the cover image is compressed into a 4px*4px image to obtain 16 pixel grids, that is, the preset number can be 16, and the color corresponding t...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a background transition color setting method and apparatus, and belongs to the field of the internet. The method comprises the steps of compressing a cover image of to-be-played music to obtain a preset number of pixel grids, wherein each pixel grid in the preset number of the pixel grids corresponds to a color of the cover image; determining a main color of the cover image according to the preset number of the pixel grids; and setting a background transition color of the to-be-played music according to the main color. The method and the apparatus have the effects that the difference between the set background transition color and the tone of the cover image of the music is reduced and a displayed background is ensured to be continuous.

Description

technical field [0001] The present invention relates to the technical field of the Internet, in particular to a method and device for extracting excessive background color. Background technique [0002] Listening to music is often done as a way of leisure and entertainment. When playing music, a music player will display a background image and display lyrics on the background. At present, the music player usually displays the cover image of the music as the background. However, the cover images of music are all square, while the display interface of the music player is rectangular. When the music player displays the background image, the width of the cover image is reduced to the width of the display interface, and then the reduced cover image is displayed on the display. in the interface. [0003] Since the cover image is square and the display interface is rectangular, there will be a blank area below the display interface, such as figure 1 shown. In order to fill the b...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F3/0484
CPCG06F3/0484
Inventor 黄金陈志敏洪智渊刘曼祁颖
Owner TENCENT TECH (SHENZHEN) CO LTD