Webpage picture processing method and device

A technology for web page pictures and processing methods, which is applied in electrical digital data processing, special data processing applications, instruments, etc., can solve problems such as time-consuming and labor-intensive, and achieve the effect of improving efficiency

Inactive Publication Date: 2014-02-12
BEIJING QIHOO TECH CO LTD +1
View PDF5 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method is very time-consuming and labor-intensive, and if there are pictures to

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
  • Webpage picture processing method and device
  • Webpage picture processing method and device
  • Webpage picture processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0028] Aiming at the problem that there is no good automation solution for implementing css sprites in the prior art, which leads to low development efficiency of webpages, the embodiment of the present invention provides a method and device for processing webpage pictures. Multiple small pictures that form a large picture are placed in a subdirectory. The small pictures in the subdirectory are directly referenced in the style sheet...

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 discloses a webpage picture processing method and a webpage picture processing device and belongs to the field of webpage design. The method comprises the following steps: merging a plurality of small pictures in a preset subdirectory into a big picture; acquiring the position of each small picture in the big picture; modifying citation on each small picture in a style sheet file into citation on the big picture and adding the position information of the small pictures in the big picture into the style sheet file. According to the invention, efficiency of webpage development can be improved.

Description

technical field [0001] The invention relates to the field of webpage design, in particular to a method and device for processing webpage pictures. Background technique [0002] In web (web page) front-end development, it is often necessary to use some small pictures, which can generally be referenced through the background-image (background picture) attribute in css (cascading style sheet). Since each small picture is an independent network resource, in order to improve the page access speed, css sprites (picture merging) technology has emerged, which merges multiple sporadic small pictures involved in a page into one large picture. In this way, the client does not need to make a separate request for each small picture, but only needs to request the merged large picture, thereby reducing the number of network requests. When the entire large image is loaded, you can use the css method to locate the position of the small image in the large image by setting the background-posi...

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
IPC IPC(8): G06F17/30
CPCG06F16/9577
Inventor 李成银
Owner BEIJING QIHOO TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products