当前位置:网站首页>Progressive JPEG pictures and related
Progressive JPEG pictures and related
2022-07-05 09:08:00 【Flying bear blablabla】
Recently, I have seen some websites jpg When presenting pictures in format , There are two ways , One is top-down scanning , There is another kind, first of all, blurred pictures , Then gradually clear ( It's like GIF Staggered display of formats ).
One 、 basic JPEG(baseline jpeg) And progressive JPEG
The size of the picture :
Zhang Xinxu's personal blog sees :
The same jpg picture , If you save it as basic and progressive, which size is smaller ?
According to me 3 Finally, test with pictures of different styles , Find out , Baidu Encyclopedia said that the size of progressive pictures is smaller than that of basic ones, which is inaccurate .
among , There is basically no rule in the size relationship between the two . Here are his test results :
| Picture thumbnail | test result |
|---|---|
| Picture quality 59% And below , gradual JPEG The picture is smaller ; The quality of 60% And above , basic JPEG smaller |
| Picture quality 82% And above , gradual JPEG The picture is smaller ; The quality of 81% And the following , basic JPEG smaller |
| No matter how good the picture is , It's all gradual JPEG The picture is smaller |
however , In terms of probability , Most of the time , Progressive type JPEG Smaller than the basic image size . However , The size difference is compared with the size of the original drawing , Isn't worth mentioning , therefore , The so-called picture size cannot be used as the basis for selecting two kinds of pictures .
Download rendering speed
A man named Ann Robson People who , Recently, I tested the progressive image rendering under various browsers .
The following figure for FireFox Comparison chart of rendering speed under the browser :

When the large outline is loaded OK When , The last suckling pig in Xiaotu hasn't been born yet ; The basic suckling pig diagram has not started loading ! obviously , Robertson is trying to tell us , gradual JPEG Download faster .
The following table shows the test results under each browser :
| browser ( Specific test version ) | gradual jpeg Foreground rendering | gradual jpeg Background rendering |
|---|---|---|
| Chrome (v 25.0.1323.1 dev Mac, 23.0.1271.97 m Win) | Gradually ( Pretty fast !) | Gradually ( Pretty fast !) |
| Firefox (v 15.0.1 Mac, 12.0 Win) | Gradually ( Pretty fast !) | Immediately after downloading the file ( slow ) |
| Internet Explorer 8 | Immediately after downloading the file ( slow ) | Immediately after downloading the file ( slow ) |
| Internet Explorer 9 | Gradually ( Pretty fast !) | Immediately after downloading the file ( slow ) |
| Safari (v 6.0 Desktop, v 6.0 Mobile) | Immediately after downloading the file ( slow ) | Immediately after downloading the file ( slow ) |
| Opera (v 11.60) | Immediately after downloading the file ( slow ) | Immediately after downloading the file ( slow ) |
The conclusion is simple ,Chrome + Firefox + IE9 browsers , Progressive picture loading is faster , And much faster , As for other browsers , It is consistent with the loading of basic pictures , At least not a drag .
Scott Gilbertson There are other supplements to progressive pictures :
1. You never know the basic picture content , Unless it is completely loaded ;
2. Progressive pictures are sized and framed at the beginning , Not like a basic picture , Backflow due to unset size —— Improved rendering performance ;
3. Progressive pictures also have shortcomings , Just eat CPU Eat memory .
These are the contents , Weigh the use in your hand . generally speaking , Progressive is recommended for large size pictures JPEG.
//zxx: png Pictures can also be presented incrementally
Two 、 Progressive type JPEG establish
photoshop Generate
Everybody knows photoshop There was a “ Stored as web Format used ”, That continuous check is progressive JPEG Picture. , You also need to check the conversion to sRGB Options , In some browsers , The image is set to CMYK There will be some problems !

边栏推荐
- Generate confrontation network
- [code practice] [stereo matching series] Classic ad census: (6) multi step parallax optimization
- Codeworks round 639 (Div. 2) cute new problem solution
- Blogger article navigation (classified, real-time update, permanent top)
- 阿里云发送短信验证码
- Kubedm series-00-overview
- notepad++
- Codeforces Round #648 (Div. 2) E.Maximum Subsequence Value
- asp.net(c#)的货币格式化
- 嗨 FUN 一夏,与 StarRocks 一起玩转 SQL Planner!
猜你喜欢

nodejs_ 01_ fs. readFile

Node collaboration and publishing
![Rebuild my 3D world [open source] [serialization-2]](/img/e6/aad5f432aca619b992753187729dcf.jpg)
Rebuild my 3D world [open source] [serialization-2]
![[technical school] spatial accuracy of binocular stereo vision system: accurate quantitative analysis](/img/59/823b587566f812c76e0e4dee486674.jpg)
[technical school] spatial accuracy of binocular stereo vision system: accurate quantitative analysis

Huber Loss
![[daiy4] copy of JZ35 complex linked list](/img/bc/ce90bb3cb6f52605255f1d6d6894b0.png)
[daiy4] copy of JZ35 complex linked list

什么是防火墙?防火墙基础知识讲解

AUTOSAR从入门到精通100讲(103)-dbc文件的格式以及创建详解

信息與熵,你想知道的都在這裏了

AUTOSAR from getting started to mastering 100 lectures (103) -dbc file format and creation details
随机推荐
Jenkins pipeline method (function) definition and call
Characteristic Engineering
Programming implementation of ROS learning 2 publisher node
牛顿迭代法(解非线性方程)
OpenFeign
2310. 个位数字为 K 的整数之和
ORACLE进阶(三)数据字典详解
MPSoC QSPI flash upgrade method
2311. Longest binary subsequence less than or equal to K
Chris LATTNER, the father of llvm: why should we rebuild AI infrastructure software
Ros- learn basic knowledge of 0 ROS - nodes, running ROS nodes, topics, services, etc
优先级队列(堆)
Composition of applet code
Oracle advanced (III) detailed explanation of data dictionary
Golang foundation -- map, array and slice store different types of data
asp.net(c#)的货币格式化
notepad++
Hi Fun Summer, play SQL planner with starrocks!
Summary and Reflection on issues related to seq2seq, attention and transformer in hands-on deep learning
Confusing basic concepts member variables local variables global variables


