Picture generation method, device and equipment, and storage medium
A picture generation and picture technology, applied in the direction of 2D image generation, program control device, image data processing, etc., can solve problems such as manual generation, and achieve the effect of reducing repetitive development work and improving design and development efficiency.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0027] figure 1 It is a flowchart of a picture generation method provided in the first embodiment of the present invention. This embodiment is applicable to the case of batch generation of pictures. The method can be executed by a picture generation device, which can adopt hardware and / or software. To achieve, see figure 1 , The image generation method provided by the embodiment of the present invention includes the following steps:
[0028] Step 101: Generate a picture background based on the picture content data, and generate a text area in the picture background.
[0029] Among them, the image content data is data used to generate the background of the displayed image, and the image content data can be uploaded by the user. The picture background is the picture content in the display picture. The picture background is the original picture that does not include text copy. The picture background can be the picture used to display the event text and product introduction. The text ...
Embodiment 2
[0041] figure 2 It is a flowchart of a picture generation method provided in the second embodiment of the present invention. The embodiment of the present invention is based on the above-mentioned embodiment. The background of the picture is drawn through the Canvas element, and the display text size is adaptively adjusted according to the text area. See figure 2 , The picture generation method provided by the embodiment of the present invention includes:
[0042] Step 201: Obtain image content data and a preset copy configuration. The preset copy configuration includes copy configuration data in at least one language, and the copy configuration data includes at least display text and display parameters of the display text.
[0043] Specifically, the image content data and the preset copy configuration can be uploaded by the designer and developer or stored in the memory in advance. When the image content data and the preset copywriting configuration are uploaded by the designer ...
Embodiment 3
[0070] Figure 4 It is a schematic structural diagram of a picture generation device provided in the third embodiment of the present invention, which can execute the picture generation method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method. The device may be implemented by software and / or hardware, and specifically includes: a text area module 301, a parameter determination module 302, and a picture generation module 303.
[0071] The text area module 301 is used to generate a picture background based on the picture content data, and generate a text area in the picture background.
[0072] The parameter determination module 302 is configured to determine the display parameters of the displayed text according to the text area and the preset copy configuration.
[0073] The picture generating module 303 is configured to draw the display text in the text area according to the display paramet...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com