The Computer Oracle

Progressive JPEG quality compare to normal JPEG?

--------------------------------------------------
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
and get $2,000 discount on your first invoice
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: RPG Blues Looping

--

Chapters
00:00 Progressive Jpeg Quality Compare To Normal Jpeg?
00:33 Answer 1 Score 2
01:06 Accepted Answer Score 12
02:53 Thank you

--

Full question
https://superuser.com/questions/463477/p...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#compression #jpeg

#avk47



ACCEPTED ANSWER

Score 12


There are a couple of nice posts here that seem to describe why Progressive compression may be better and it seems to come down to the fact that in Progressive JPEG the compressed data is ordered more efficiently and that blocky image data and noise get separated and compressed separately.

I've highlighted the important pieces below, they describe it better than I ever could.

As a result I would expect that progressive JPEG is better compression, but not any significant change in image quality.

Progressive JPEG has two different coding features:

  1. Spectral Selection
  2. Successive Approximation

What you describe is just the first feature (first DC, then AC bands). However, it is the second feature which is the major reason for different coding efficiency of Progressive JPEG. With Successive Approximation, you first store the higher bits of the coefficients (low precision, coarse image), then the lower bits (high precision, detailed image). In usual images, the noise is concentrated in the lower bits. Therefore, the Huffman encoder can be more efficient in symbol coding in the higher bit range where less noise is. The Successive Approximation coding thus separates the noise from the image, and that is the reason for better coding efficiency (noise is hardly compressible).

The more noise (detail) the image has, the better the coding efficiency of Progressive JPEG. The less noise (blur) the image has, the better the coding efficiency of Sequential (Non-progressive) JPEG.

Note that most Progressive JPEG coders use a mixture of Spectral Selection coding and Successive Approximation coding. For better coding efficiency, mainly Successive Approximation is relevant, and you can try to find optimal Successive Approximation paramters (the point where to separate the precision - Ah/Al in the JPEG standard) for your class of images. For example, I sometimes found an optimal point Al=4 for my images (4 lower bits separately coded).




ANSWER 2

Score 2


The advantage of progressive JPEG is that if an image is being viewed on-the-fly as it is transmitted, one can see an approximation to the whole image very quickly, with gradual improvement of quality as one waits longer; this is much nicer than a slow top-to-bottom display of the image. The disadvantage is that each scan takes about the same amount of computation to display as a whole baseline JPEG file would.

The image should be exactly the same, it only takes more processing to display.

Source