# US 2022/0292744 A1 · Method and apparatus for picture generation and storage medium

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

- Number: US 2022/0292744 A1
- Document ID: US20220292744A1
- Status: Published application
- Kind: A1
- Application number: 17/511,176
- Filed: 2021-10-26
- Published: 2022-09-15
- Earliest claimed: 2021-03-09
- Assignees: Boe Technology Group Co., Ltd.
- Applicants: Boe Technology Group Co., Ltd.
- Inventors: Ang LI
- Web page: https://patentgrep.com/patent/US20220292744A1

## CPC

- G06T 11/60: Creating or editing images; Combining images with text
- G06T 11/20: Drawing from basic elements
- G09G 5/393: Arrangements for updating the contents of the bit-mapped memory
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G09G: ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION (arrangements for transferring data between digital computers and displays G06F3/14; static indicating arrangements comprising an association of a number of separate sources or light control cells G09F9/00; static indicating arrangements comprising integral associations of a number of light sources H01J, H01K, H10H, H05B33/12; scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission, details thereof H04N1/00)

## Abstract

This disclosure provides a picture generation method, apparatus, electronic device and storage medium. The picture generation method includes: acquiring a plurality of content elements contained in a design of a target picture, the content elements having respective attribute information, in response to a drawing instruction, parsing the content elements to obtain one or more graphic elements for each of the plurality of content elements, each graphic element having an associated graphic parameter that corresponds to the attribute information of a respective content element, drawing the graphic elements according to the associated graphic parameters to obtain content element pictures for respective content elements, and combining the obtained content element pictures to generate the target picture.

## Claims

### Claim 1

A method for picture generation, comprising:
acquiring a plurality of content elements contained in a design of a target picture, the content elements having respective attribute information;
in response to a drawing instruction, parsing the content elements to obtain one or more graphic elements for each of the plurality of content elements, each graphic element having an associated graphic parameter that corresponds to the attribute information of a respective content element;
drawing the graphic elements according to the associated graphic parameters to obtain content element pictures for respective content elements; and
combining obtained content element pictures to generate the target picture.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the combining obtained content element pictures to generate the target picture comprises:
combining the obtained content element pictures to generate a preliminary picture;
acquiring configuration information, the configuration information being used for configuring further processing of the preliminary picture; and
processing the preliminary picture based on the configuration information to generate the target picture.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the configuration information comprises format conversion information, and wherein the processing the preliminary picture based on the configuration information comprises:
performing format conversion on the preliminary picture based on the format conversion information.

### Claim 4 (depends on 3)

The method according to claim 3, wherein the format conversion information is Electronic Paper Display (EPD) conversion information, the EPD conversion information indicating a data format required by an EPD device for displaying the target picture, and wherein the performing format conversion on the preliminary picture based on the format conversion information comprises:
converting the preliminary picture into the data format required by the EPD device based on the EPD conversion information.

### Claim 5 (depends on 4)

The method according to claim 4, wherein the converting the preliminary picture into the data format required by the EPD device based on the EPD conversion information comprises:
invoking an EPD conversion service via a target interface to convert the data format of the preliminary picture.

### Claim 6 (depends on 2)

The method according to claim 2, wherein after generating the target picture, the method further comprises:
determining whether the target picture is to be saved;
in response to determining that the target picture is to be saved, extracting from the configuration information a file path for indicating a saving path of the target picture; and
saving a picture file of the target picture according to the file path.

### Claim 7 (depends on 1)

The method according to claim 1, wherein, prior to combining the obtained content element pictures, the method further comprises:
determining whether the content elements are to be rendered;
in response to determining that at least one of the content elements is to be rendered, acquiring a rendering strategy set for the at least one of the content elements; and
redrawing the at least one of the content elements according to set rendering strategy to obtain rendered content element picture(s),
wherein the combining the obtained content element pictures comprise combining the rendered content element picture(s).

### Claim 8 (depends on 7)

The method according to claim 7, wherein the rendering strategy is set based on a business need with respect to the target picture.

### Claim 9 (depends on 1)

The method according to claim 1, wherein the acquiring the plurality of content elements contained in the design of the target picture comprises:
receiving a template file describing the design of the target picture; and
parsing the template file to acquire the plurality of content elements.

### Claim 10 (depends on 2)

The method according to claim 2, further comprising:
receiving a template file describing the design of the target picture,
wherein the template file is parsed to acquire the plurality of content elements and the configuration information.

### Claim 11 (depends on 2)

The method according to claim 2, wherein the configuration information comprises at least one of formation conversion information, graphic transformation information, file path, or a number of threads.

### Claim 12

An apparatus for picture generation, comprising:
an acquisition unit configured to acquire a plurality of content elements contained in a design of a target picture, the content elements having respective attribute information;
a parsing unit configured to parse the content elements to obtain one or more graphic elements for each of the plurality of content elements in response to a drawing instruction, each graphic element having an associated graphic parameter that corresponds to the attribute information of a respective content element;
an element drawing unit configured to draw the graphic elements according to the associated graphic parameters to obtain content element pictures for respective content elements; and
a combining unit configured to combine obtained content element pictures to generate the target picture.

### Claim 13 (depends on 1)

An electronic device, comprising:
a processor; and
a memory for storing executable instructions,
wherein the processor is configured to execute the executable instructions to implement the method according to claim 1.

### Claim 14 (depends on 13)

The electronic device according to claim 13, wherein the combining the obtained content element pictures to generate the target picture comprises:
combining the obtained content element pictures to generate a preliminary picture;
acquiring configuration information, the configuration information being used for configuring further processing of the preliminary picture; and
processing the preliminary picture based on the configuration information to generate the target picture.

### Claim 15 (depends on 14)

The electronic device according to claim 14, wherein the configuration information comprises Electronic Paper Display (EPD) conversion information, the EPD conversion information indicating a data format required by an EPD device for displaying the target picture, and the processing the preliminary picture based on the configuration information to generate the target picture comprises:
converting the preliminary picture into the data format required by the EPD device based on the EPD conversion information.

### Claim 16 (depends on 15)

The electronic device according to claim 15, wherein the converting the preliminary picture into the data format required by the EPD device based on the EPD conversion information comprises:
invoking an EPD conversion service via a target interface to convert the data format of the preliminary picture.

### Claim 17 (depends on 14)

The electronic device according to claim 14, wherein after generating the target picture, the method further comprises:
determining whether the target picture is to be saved;
in response to determining that the target picture is to be saved, extracting from the configuration information a file path for indicating a saving path of the target picture; and
saving a picture file of the target picture according to the file path.

### Claim 18 (depends on 13)

The electronic device according to claim 13, wherein prior to combining the obtained content element pictures, the method further comprises:
determining whether the content elements are to be rendered;
in response to determining that at least one of the content elements is to be rendered, acquiring a rendering strategy set for the at least one of the content elements; and
redrawing the at least one of the content elements according to set rendering strategy to obtain rendered content element picture(s), and
wherein the combining the obtained content element pictures comprise combining the rendered content element picture(s).

### Claim 19 (depends on 18)

The electronic device according to claim 18, wherein the rendering strategy is set based on a business need with respect to the target picture.

### Claim 20 (depends on 1)

A non-transitory computer-readable storage medium, having executable instructions stored thereon, wherein the executable instructions, when executed by a processor, enable the processor to implement the method according to claim 1.
