IMAGE PROCESSING METHOD AND APPARATUS, ELECTRONIC DEVICE, AND COMPUTER-READABLE STORAGE MEDIUM

    公开(公告)号:US20230377229A1

    公开(公告)日:2023-11-23

    申请号:US18245104

    申请日:2021-08-13

    CPC classification number: G06T11/60 G06T11/001 G06T2210/62

    Abstract: Provided are an image processing method, an image processing apparatus, an electronic device, and a computer-readable storage medium. The image processing method includes: obtaining a to-be-displayed text; generating a first base image comprising the to-be-displayed text; generating a second base image by determining, based on a display time parameter of the to-be-displayed text, a transparency of the to-be-displayed text in the first base image; generating, based on the second base image, a burr effect image of a to-be-displayed character; generating, based on the burr effect image, an external luminous effect image of the to-be-displayed character; obtaining a rendering image by superimposing the burr effect image and the external luminous effect image; and determining a transparency of a to-be-displayed character in the rendering image based on a position parameter of the to-be-displayed character in the to-be-displayed text, a time stamp, and the display time parameter of the to-be-displayed text.

    CHARACTER DISPLAY METHOD AND APPARATUS, ELECTRONIC DEVICE, AND COMPUTER-READABLE STORAGE MEDIUM

    公开(公告)号:US20240370648A1

    公开(公告)日:2024-11-07

    申请号:US18774034

    申请日:2024-07-16

    Abstract: Provided are a character display method and apparatus, an electronic device, and a computer-readable storage medium. The character display method includes: obtaining a display parameter; obtaining a character; obtaining a file configured to store a texture of the character, the texture of the character being a map generated in accordance with a standard, the map being drawn on a canvas of the file; obtaining the texture of the character from the file; determining, based on the display parameter and an attribute of the texture of the character, whether the texture of the character is to be displayed in a wrapping manner; determining a display position of the texture of the character on the a screen, based on the display parameter corresponding to a result of determining whether the texture of the character is to be displayed in a the wrapping manner and the attribute of the texture of the character; and displaying the texture of the character on the screen based on the display position. According to the method, the display parameter is received, and the texture of the to-be-displayed character is drawn based on the display parameter, which can solve the problem of inflexible controlling on the drawing of the character.

Patent Agency Ranking