Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for converting picture files into webpage files

A web page file and file conversion technology, applied in the computer field, can solve the problems of no automatic conversion method, failure to accurately restore the designer's design intent, repetition, etc., to avoid duplication of work, reduce workload, and improve work efficiency.

Active Publication Date: 2014-09-24
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF0 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when the front-end engineer writes the layout in HTML and adjusts the style with CSS, he invisibly repeats the work of the designer
Generally, the visual draft of visual designer Photoshop is expressed by each layer, and the HTML page is realized by each Dom element, but there is currently no automatic conversion method between the two
In addition, the artificial refactoring of engineers may not accurately restore the designer's design intent

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for converting picture files into webpage files
  • Method and device for converting picture files into webpage files
  • Method and device for converting picture files into webpage files

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present invention and should not be construed as limiting the present invention.

[0033] Refer below figure 1 Describe the method for converting a picture file into a web page file according to an embodiment of the present invention, including the following steps:

[0034] Step S110: Acquiring image files.

[0035] Step S120: Separating the image file to obtain multiple layers of the image file.

[0036] Step S130: Obtain the image layer and the text image layer in the multiple layers respectively.

[0037] Step S140: Generating a text layer and a background image layer respectively according to the image layer and...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a method for converting picture files into webpage files. The method comprises the steps as follows: obtaining the picture files; separating the picture files to obtain multiple layers of the picture files; obtaining picture layers and text picture layers in the multiple layers respectively; generating text layers and background picture layers respectively according to the picture layers and the text picture layers; and generating the webpage files according to the text layers, the background picture layers and a webpage layout framework. According to the method, pictures are converted into the webpage files automatically, repetitive work is avoided, the manual operation is omitted, and the efficiency is improved. The invention further discloses a device for converting the picture files into the webpage files.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for converting picture files into web page files. Background technique [0002] With the vigorous development of the Internet, web pages have become a common communication carrier on the Internet. Web pages contain a wealth of information, and at the same time require reasonable organization and design, so as to generate a good user experience and attract users. Due to some needs such as company promotion page, recruitment page, etc., it is often seen that there are various single-page webpages. Therefore, there are a large number of designers and engineers engaged in the production of web pages. [0003] Under normal circumstances, the production of web pages requires the cooperation of visual designers and R&D engineers. First, the visual designer draws the web page design draft, and the front-end engineer restores it with HTML pages for easy maintenanc...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
CPCG06F16/116
Inventor 陈咏聪
Owner BEIJING BAIDU NETCOM SCI & TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products