Method and device for generating hypertext markup language (HTML) procedure code
A technology for generating program codes and information, applied in the direction of program control devices, etc., can solve problems such as the inability to respond quickly to development needs, and achieve the effect of improving development efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0016] Embodiment 1. A method for generating HTML program codes. Combine below figure 1 - Figure 4 illustrates the method of this embodiment in detail.
[0017] figure 1 , S100. Obtain each layer included in the picture, acquire position attribute information of each layer, and convert each of the above layers into a picture format.
[0018] Specifically, the picture in this embodiment may be a picture designed using PHOTOSHOP tools (such as a PSD picture, etc.), such as a picture designed for a product holding an event, and the picture usually includes multiple layers. A specific example of a PSD image is figure 2 shown, and figure 2 The relevant information of the layers contained in the PSD picture shown is as follows: image 3 shown. Of course, the above picture can also be a picture designed by using other drawing tools (such as AUTOCAD).
[0019] In this embodiment, the interfaces provided by the PHOTOSHOP tool or other drawing tools can be used to obtain the la...
Embodiment 2
[0137] Embodiment 2, a device for generating HTML program codes. The device can be set in the page development equipment or the website server, and can also be set in the page development equipment and the website server. The device of this embodiment will be described in detail below in conjunction with Figure 5 .
[0138]The device shown in FIG. 5 mainly includes: an acquisition module 500 , a page width determination module 510 , a group division module 520 , an adjustment module 530 and a code generation module 540 .
[0139] The acquisition module 500 is connected to the page width determination module 510, the group division module 520, the adjustment module 530 and the code generation module 540 respectively. The acquisition module 500 is mainly adapted to acquire each layer included in the PHOTOSHOP-based picture, acquire position attribute information of each layer, and convert each layer into an image format. The above pictures may be pictures based on PHOTOSHOP, or pic...
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