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

Webpage picture resource processing method and device

A technology for resource processing and web page pictures, applied in website content management, special data processing applications, network data retrieval, etc., can solve problems such as webp browser compatibility is not optimistic, browsers cannot display webp pictures, etc., to improve development Efficiency, improve the effect of website page performance

Pending Publication Date: 2022-02-11
CHINA CONSTRUCTION BANK
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although webp has obvious advantages in image size, the browser compatibility of webp is not optimistic. For example, webp has obvious browser compatibility problems in ie browser, safari browser and lower version of Edge browser, that is, in some browsers There is a problem that webp pictures cannot be displayed on

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.

[0046]Considering that 65% of the data currently transmitted on the Internet are pictures (data from: https: / / baike.baidu.com / item / WebP), reducing the size of pictures will significantly improve the performance of web pages, especially shortening The web page information displays the time to improve user experience. In the image format, the webp format image ...

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 embodiment of the invention provides a webpage picture resource processing method and device, and the method comprises the steps of: acquiring a webpage application project sent by a user, carrying out the webp picture format conversion, and determining a corresponding cascading style resource file according to a webp picture file obtained after the picture format conversion; carrying out webp picture format compatibility detection on a hypertext markup language file of a webpage application project, and loading the cascading style resource file when it is detected that the current webpage application project supports a webp picture format; according to the method, the front-end application development efficiency and the website webpage performance can be effectively improved.

Description

technical field [0001] The present application relates to the field of front-end development, in particular to a method and device for processing web page image resources. Background technique [0002] Web pages contain a lot of picture information, and the picture formats are very many, such as: bmp, jpg, png, tif, gif, pcx, tga, exif, fpx, svg, psd, cdr, pcd, dxf, ufo, eps, ai ,raw,WMF,webp,avif,apng. The most commonly used image formats on web sites are: jpg, png, svg, gif, and webp. [0003] Since 65% of the data transmitted on the Internet are pictures (data from: https: / / baike.baidu.com / item / WebP), reducing the size of pictures will significantly improve the performance of web pages, especially shortening web pages Information display time, improve user experience. In the image format, the webp format image has a significantly smaller image size when the image quality is the same. Compared with JPEG, webp can reduce the image size by 40%; compared with png, webp can...

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): G06F16/957G06F16/958
CPCG06F16/9574G06F16/9577G06F16/986
Inventor 孟繁贵梁锐
Owner CHINA CONSTRUCTION BANK
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