What is Baseline JPEG and Progressive JPEG?

转载 2012年07月09日 10:15:04

What is Baseline JPEG and Progressive JPEG?

10DEC

There are two types of saving image file in jpeg format. They are Baseline JPEG and Progressive JPEG. Both format will have the same size and data. The extension also remains the same. The only difference is how it displays. Want to know how it will display?

Baseline JPEG


This type of JPEG file opens line by line starting from top left to bottom right like how we write. When you save a file in “Save As” method by default the image will get saved in Baseline JPEG format. As the image will start loading with the available data in sequence the user will be able to see  the image partially. Once all data is received the image will be display completely.

baselineJPEG

baselineJPEG

In some sites users will upload a high resolution image directly with out processing it. When you try to see those you can notice the image loading line by line. There is no advantage in this type of JPEG. So, It is always recommended to use Progressive JPEG

Progressive JPEG


In Progressive JPEG format full image loads with available data at first instance but will look blurred. It scans for the data in certain cycles mentioned while saving. So after each cycle the image will look better. Once the complete data is received the image will appear clear.

progressiveJPEG

progressiveJPEG

The main advantage of the Progressive JPEG format is when the internet connection is slower the user will be able to see at least the blurred image and will have an idea about the loading image. You can notice this type in mobile phones. When you open a high resolution image it shows the full image instantly with blur and in few seconds it becomes clear.

相关文章推荐

Java tif多页文件转jpg问题,Decoding of old style JPEG-in-TIFF data is not supported问题

Tiff文件转jpg图片有多种做法,网上大多数是采用java的JAI,其实还可以采用jdk自带的imageio进行解析转换。java的JAI暂时还不支持对旧式JPEG-in-TIFF数据的解码,也就是...

Windows下OpenGL轻松加载BMP, GIF, JPEG, PNG, and TIFF图片

Windows下轻松加载BMP, GIF, JPEG, PNG, and TIFF图片,并用OpenGL生成纹理 /* window下OpenGL加载纹理,图片格式BMP, GIF, JPEG,...

C++ String: What is the difference between '\n' and '\r\n'?

C++ String: What is the difference between '\n' and '\r\n'? Q: What is the difference between...

What is the difference between a definition and a declaration?

原帖: http://stackoverflow.com/questions/1410563/what-is-the-difference-between-a-definition-and-a-dec...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:深度学习:神经网络中的前向传播和反向传播算法推导
举报原因:
原因补充:

(最多只允许输入30个字)