# US 2022/0292733 A1 · Method and apparatus for text effect processing

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0292733 A1
- Document ID: US20220292733A1
- Status: Published application
- Kind: A1
- Application number: 17/631,888
- Filed: 2020-07-29
- Published: 2022-09-15
- Earliest claimed: 2019-08-01
- Assignees: Beijing Bytedance Network Technology Co., Ltd.
- Applicants: Beijing Bytedance Network Technology Co., Ltd.
- Inventors: Yanhao SHEN; Guangyao NI; Hui YANG
- Web page: https://patentgrep.com/patent/US20220292733A1

## CPC

- G06T 11/60: Creating or editing images; Combining images with text
- G06F 40/109: Font handling; Temporal or kinetic typography
- G06F 40/166: Editing, e.g. inserting or deleting
- G06T 3/00: Geometric image transformations in the plane of the image
- G06T 11/10: Texturing; Colouring; Generation of textures or colours (retouching, inpainting or scratch removal G06T5/77)
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

A method and an apparatus for text effect processing, an electronic device, and a computer readable storage medium. The method comprises: sending to a server a request to acquire a text effect resource, the text effect resource being used to implement a display effect of text associated with multimedia (S11); receiving a text effect resource sent by the server (S12); and on the basis of the text effect resource, performing color-separated effect processing on text, causing text of different color components to be synchronously and dynamically displayed on a terminal screen, following playback progress of the multimedia (S13). By means of acquiring a text effect resource from a server and performing color-separated effect processing on text on the basis of the text effect resource, text of different color components is caused to be synchronously and dynamically displayed on a terminal screen, following playback progress of multimedia. The text effect resource can be acquired without requiring updating of a client, causing the text effect to be more flexible in use.

## Claims

### Claim 1

A method for text effect processing, comprising:
transmitting a request for obtaining a text effect resource to a server, wherein the text effect resource is used for realizing a display effect of texts associated with a multimedia;
receiving the text effect resource from the server; and
performing color separation effect processing on the texts based on the text effect resource to synchronously and dynamically display the texts having different color components on a screen of a terminal with a playback progress of the multimedia.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the performing color separation effect processing on the texts based on the text effect resource to synchronously and dynamically display the texts having different color components on a screen of a terminal with a playback progress of the multimedia comprises:
obtaining a time stamp corresponding to the playback progress of the multimedia and texts corresponding to the time stamp; and
performing color separation effect processing on the texts corresponding to the time stamp based on the text effect resource to synchronously and dynamically display the texts having different color components on the screen of the terminal with the playback progress of the multimedia.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the performing color separation effect processing on the texts based on the text effect resource to synchronously and dynamically display the texts having different color components on a screen of a terminal with a playback progress of the multimedia comprises:
typesetting the texts corresponding to the time stamp based on a typesetting parameter in the text effect resource, and generating a bitmap;
transmitting the bitmap to an image processor of the terminal to obtain a texture corresponding to the texts;
determining an offset direction and an offset distance of each of color components in the texture based on the time stamp; and
rendering the texture by the image processor, and offsetting, for each of the color components, texts corresponding to the color component by the offset distance of the color component along the offset direction of the color component.

### Claim 4 (depends on 1)

The method according to claim 1, further comprising:
running a local script program based on a script file in the text effect resource; and
performing color separation effect processing on the texts based on the script program.

### Claim 5

A method for text effect processing, comprising:
receiving a request for obtaining a text effect resource from a client, wherein the text effect resource is used for realizing a display effect of texts associated with a multimedia; and
transmitting the text effect resource to the client, wherein the client performs color separation effect processing on the texts based on the text effect resource to synchronously and dynamically display the texts having different color components on a screen of a terminal with a playback progress of the multimedia.

### Claim 6

An apparatus for text effect processing, comprising:
at least one processor; and
at least one memory configured for storing at least one program, wherein when the at least one program is executed by the at least one processor, the at least one processor is caused to perform operations of:
transmitting a request for obtaining a text effect resource to a server, wherein the text effect resource is used for realizing a display effect of texts associated with a multimedia;
receiving the text effect resource from the server; and
performing color separation effect processing on the texts based on the text effect resource to synchronously and dynamically display the texts having different color components on a screen of a terminal with a playback progress of the multimedia.

### Claim 7 (depends on 5)

An apparatus for text effect processing, comprising:
at least one processor; and
at least one memory configured for storing at least one program, wherein when the at least one program is executed by the at least one processor, the at least one processor is caused to perform the method of claim 5.

### Claim 8

(canceled)

### Claim 9 (depends on 1)

A non-transitory computer readable storage medium, storing non-transitory computer readable instructions, wherein
the non-transitory computer readable instructions, when executed by a computer, cause the computer to perform the method for text effect processing according to claim 1.

### Claim 10 (depends on 6)

The apparatus according to claim 6, wherein the performing color separation effect processing on the texts based on the text effect resource to synchronously and dynamically display the texts having different color components on a screen of a terminal with a playback progress of the multimedia comprises:
obtaining a time stamp corresponding to the playback progress of the multimedia and texts corresponding to the time stamp; and
performing color separation effect processing on the texts corresponding to the time stamp based on the text effect resource to synchronously and dynamically display the texts having different color components on the screen of the terminal with the playback progress of the multimedia.

### Claim 11 (depends on 10)

The apparatus according to claim 10, wherein the performing color separation effect processing on the texts based on the text effect resource to synchronously and dynamically display the texts having different color components on a screen of a terminal with a playback progress of the multimedia comprises:
typesetting the texts corresponding to the time stamp based on a typesetting parameter in the text effect resource, and generating a bitmap;
transmitting the bitmap to an image processor of the terminal to obtain a texture corresponding to the texts;
determining an offset direction and an offset distance of each of color components in the texture based on the time stamp; and
rendering the texture by the image processor, and offsetting, for each of the color components, texts corresponding to the color component by the offset distance of the color component along the offset direction of the color component.

### Claim 12 (depends on 6)

The apparatus according to claim 6, wherein the at least one processor is further caused to perform operations of:
running a local script program based on a script file in the text effect resource; and
performing color separation effect processing on the texts based on the script program.

### Claim 13 (depends on 5)

A non-transitory computer readable storage medium, storing non-transitory computer readable instructions, wherein the non-transitory computer readable instructions, when executed by a computer, cause the computer to perform the method for text effect processing according to claim 5.
