I heard you. Many users commented on my previous news post saying that they weren’t happy with the tests I performed. I understand where you were coming from, and I plan to address what I believe is probably the most important of the tests that were suggested. Now that an overview of the plug-in for WDP is out there, let’s verify Microsoft’s claim: “It compresses data twice as efficiently as JPEG, with either twice the quality at a given file size or half the file size at a given quality.”
My final test was performed by taking the two file formats in question and comparing which one can offer the smallest compression, without a major loss in quality. I saved the same file in both formats with lower and lower quality settings, until I hit visible artifacts. I then saved the file again a step up in quality (without artifacts) and compared to see if there were any obvious quality differences, while noting the file sizes. As I concluded in my previous article, WDP offers a much broader range of quality settings, and I wanted to see if this is why Microsoft claims that it can compress data twice as efficiently. Here are my findings for five images, two in black and white and three in colour:
- A 1.0MB black and white TIFF image of a crouching man, at a resolution of 1024 x 1024
- JPG: 75.6KB (Quality: 0/12)
- WDP: 42.3KB (Quality: 0.3/1)
- A 1.85MB colour TIF aerial image of the world, at a resolution of 2048 x 1024
- JPG: 86.5KB (Quality: 0/12)
- WDP: 83.1KB (Quality: 0.4/1)
- A 12.9MB black and white TIF image of a boxer, at a resolution of 4096 x 3038
- JPG: 209KB (Quality: 0/12)
- WDP: 92.0KB (Quality: 0.4/1)
- A 10.3MB colour CR2 image of Dave Legg’s laptop taken by the man himself, at a resolution of 3888 x 2592, with a Canon EOS 400d 10.1MP camera.
- JPG: 206KB (Quality: 0/12)
- WDP: 115KB (Quality: 0.4/1)
- A 13.4MB colour Olympus Raw File of a metal art plate, at a resolution of 3264 x 2448
- JPG: 252KB (Quality: 0/12)
- WDP: 169KB (Quality: 0.4/1)
So, what happens when the two images are compared at the same compression percentage? Firstly, you will notice very little or no difference in quality. Will you notice a difference in size? Yes. Will it be half the size? Not always.
- A 1.0MB black and white TIFF image of a crouching man, at a resolution of 1024 x 1024
- JPG: 309KB at 75% (9/12)
- WDP: 253KB at 75% (0.75/1)
- JPG: 211KB at 50% (6/12)
- WDP: 83.2KB at 50% (0.5/1)
- A 1.85MB colour TIF aerial image of the world, at a resolution of 2048 x 1024
- JPG: 340KB at 75% (9/12)
- WDP: 335KB at 75% (0.75/1)
- JPG: 204KB at 50% (6/12)
- WDP: 121KB at 50% (0.5/1)
- A 12.9MB black and white TIF image of a boxer, at a resolution of 4096 x 3038
- JPG: 979KB at 75% (9/12)
- WDP: 642KB at 75% (0.75/1)
- JPG: 603KB at 50% (6/12)
- WDP: 124KB at 50% (0.5/1)
- A 10.3MB colour CR2 image of Dave Legg’s laptop taken by the man himself, at a resolution of 3888 x 2592, with a Canon EOS 400d 10.1MP camera.
- JPG: 1.06MB at 75% (9/12)
- WDP: 766KB at 75% (0.75/1)
- JPG: 558KB at 50% (6/12)
- WDP: 160KB at 50% (0.5/1)
- A 13.4MB colour Olympus Raw File of a metal art plate, at a resolution of 3264 x 2448
- JPG: 959KB at 75% (9/12)
- WDP: 528KB at 75% (0.75/1)
- JPG: 581KB at 50% (6/12)
- WDP: 221KB at 50% (0.5/1)
Note: If you are wondering why there are no images that you can compare by yourself, it is because to get a true comparison, I would have to display both WDP and JPG. Browsers currently do not display WDP images. The links are there for you to do the tests yourself, or you can just take my word for it!
















Another thing is that HD Photo's rival should really be JPEG2000, not JPEG. Comparing HD Photo to JPEG is like comparing VC1 or H.264 to MPEG1.
Is this beta software selecting the right parameters when saving the image.
May be the default parameters are teaked for performance rather than quality or completely wrong who knows for sure.
Conversely although Microsoft hold patents on the technology in HD Photo they have agreed to license it to anyone for free.
Mog
And Safari can display JPEG2000
And Safari can display JPEG2000
Even if they could, would they? I think the answer is no, HDP in it's final form (because this is still a beta plug-in), could be the best thing ever and OSS guys still wouldn't like it anyways, it's an MS made format thus it's evil!.
The licensing could be totally open to them also and they still wouldn't like it, They'll insted try to make their own version just for the hell of it.
Fact is though, it's doing more or less what MS said it would, bigger HD photos are being shrunk to smaller sizes with the same or better quality of JPEG. I don't know about the rest of you, but If I can get it to look as good but shave off even 100kb, then i'll switch over to HDP. The size difference might not be exactly hafl, but 30%-40% adds up with every new picture you take and store on your memory card or PC.
The licensing could be totally open to them also and they still wouldn't like it, They'll insted try to make their own version just for the hell of it.
Who are those OSS guys you're talking about, and who do you think you are to speak in their name?
The licensing could be totally open to them also and they still wouldn't like it, They'll insted try to make their own version just for the hell of it.
Who are those OSS guys you're talking about, and who do you think you are to speak in their name?
And who are you? I like everyone else who posts am stating my opinion of the subject at hand.
The licensing could be totally open to them also and they still wouldn't like it, They'll insted try to make their own version just for the hell of it.
Who are those OSS guys you're talking about, and who do you think you are to speak in their name?
And who are you? I like everyone else who posts am stating my opinion of the subject at hand.
I'm and OSS user and developer, so maybe I should take it personally when you go talking BS about what those "OSS guys" would or wouldn't do.
I'm not sure jpeg2000 is even relevant, regardless of its abilities, it's been out for years now and I have yet to see one image posted anywhere that uses that format... ok except for today when someone posted one in Emil's earlier thread....before that, never. It sounds like this is due to licensing costs, which will no doubt, never change so I'm not sure why it keeps getting brought up.
Thanx for the more indepth and useful comparison Emil.
Frazer
JPG: 75.6KB (Quality: 0/12)
JPG: 86.5KB (Quality: 0/12)
JPG: 209KB (Quality: 0/12)
JPG: 206KB (Quality: 0/12)
JPG: 252KB (Quality: 0/12)
Is this a typo or are you trying to make me believe the a jpeg saved at maximum compression doesn't have artifacts?
* JPG: 86.5KB (Quality: 0/12)
* WDP: 83.1KB (Quality: 0.5/1)
* JPG: 340KB at 75% (9/12)
* WDP: 335KB at 75% (0.75/1)
* JPG: 204KB at 50% (6/12)
* WDP: 121KB at 50% (0.5/1)
At 75%, there is no visible difference in quality but WDP is nowhere near half the size of JPG. At 50%, WDP is nearing half the size and a loss in quality can be perceived.
Here you have the same image with different filesize at WDP@0.5/1. How did that happen?
EDIT: Sorry, didn't see that that was the typo. But what about jpeg @ 0/12?
HD Photo Versus JPEG
HD Photo is based on lapped biorthogonal transform (LBT), which in itself is based of discrete cosine transform (DCT), which is based on discrete fourier transform (DFT).
LBT was developed to handle the blocking issue that occurs between borders with a normal DCT.
So if you're comparing JPEG to HD Photo, of course HD Photo is going to look better, but at the cost of performance because of the additional "smoothing" operations.
Also, since LBT is based on DFT, they are both going to distort at approximately the same rate. This means that as you drop the file size the image quality for both HD Photo and JPEG should drop by the same amount.
HD Photo Versus JPEG 2000
JPEG 2000 is based of this new concept called discrete wavelet tranform (DWT).
Fourier Transform basically takes a function and tries to represent it with sines and cosines. The coefficients are the values that are stored, which makes the images smaller.
Wavelets on the other hand try to generalize what the Fourier Transform does by allowing basis functions other then sine and cosine. The basis functions must still average to zero, just like the sine and cosine functions.
Theoretically speaking, wavelets allow for better compactification versus fourier because you can choose the optimal basis function that allows you to represent the signal you're working with.
Here is an paper that shows that JPEG 2000 can be significantly better then HD Photo as you compress the images more. Remember, PSNR is logarithmic, therefore any small change in PSNR dramatically alters the quality of the image.
http://www.compression.ru/video/codec_comp...mparison_en.pdf
Last edited by dduardo on 11 Mar 2007 - 03:44
ERvery Jpeg2000 image I have seen at any quality level smooths out details at a very agressive level.
ERvery Jpeg2000 image I have seen at any quality level smooths out details at a very agressive level.
It's possible that you've seen a crummy implementation or just bad compression settings of JPEG 2000.
because picture viewer uses advanced interpolation, this doesn't mean the detail is there, picture viewer just makes it up
because picture viewer uses advanced interpolation, this doesn't mean the detail is there, picture viewer just makes it up
It's still largely a "this is what i notice" test, but it's still a good indicator.
Also, there is a difference between Black and White (1bit), Grayscale (8/16bit) and Color (24/48bit). Grayscale != Black and White.
you can see difference only if you compress picture to the maximum, and who will make that ? If you converting picture you like to be good not to be distorted. When converting from RAW or PSD there is not difference. I take shot with my Canon 400D with RAW quality and compare pictures. There is not BIG differences. It is hard to compare all formats because WDP format can be opened an seen only in Windows Photo Gallery in Vista and Photoshop. PSD format can't be seen in Windows Photo Gallery so you can't compare this formats here. Programs like ACDSee or XnView have support for PSD, JPG, JPEG2000 but not for WDP, so I compare all formats but screenshot is only from WDP 16 bit at Low quality and JPG 8 bit at Low quality saved with Photoshop (0 quality). It's a part of a picture. Test archive with all formats is 35,0 MB I can't post it here.
This is RapidShare link: Compare fileformats
I used the same size for the Jp2 files as for the Wdp files in the test above to have a good base for comparison.
I've uploaded Jpg and Jp2 in a zip here so you can compare for yourself:
http://rapidshare.com/files/20515297/Neowi...rison2.zip.html
First part (lowest Jpg quality)
1) Crouching man
With nearly half the size of the Jpg file, Jp2 doesn't have any artifacts, but loses a little bit of sharpness.
2) World map
With hardly any difference in file size, the quality of Jp2 is clearly superior to Jpg (which by itself is superior to Wdp... now there's food for thought).
3) Boxer
Even though the Jp2 file has less than half the size of the Jpg file, it still has clearly better quality.
4) Dave Legg’s laptop
Again, the Jp2 file has a clearly better quality than Jpg, even though the Jp2 is only about half the size.
5) Metal art plate
Even with the lowest quality possible (1%), I couldn't get the Jpg smaller than 377kB. With Jp2, I easily hit 173kB at a quality of 20% (so it could've got quite a bit smaller still). Again, the Jp2 quality beats that of the Jpg.
Second Part (Jpg 50% quality)
1) Crouching man
At 50% quality, the Jpg is 100kB, while the Jp2 is 51kB. Pretty much half the file size for the same quality.
2) World map
Here, the Jpg is 331kB with 50%, while Jp2 is 308kB, but retains a better quality. With a quality of 20%, Jp2 has a comparable quality with a file size of 123kB (well below half).
3) Boxer
Jpg with 50% quality reaches 410kB, while Jp2 is reaching 200kB there (less than half).
4) Dave Legg’s laptop
Using 50% quality, Jpg takes still 2.5MB, while Jp2 takes only 1.4MB while still having better quality. Jp2 reaches a comparable quality at 25% with a file size of 737kB (less than a third).
5) Metal art plate
A full 2.6MB is the space a Jpg with 50% quality still requires here. Jp2 manages quite an amazing feat here as its file at 50% quality is only 411kB, which is only about 16% of the size!
Conclusion:
With greyscale pics, Jp2 generally has half the file size (or even less) of Jpg at the same quality setting.
With colour pics, the quality setting though is not comparable. While Jp2 pics with the same setting (e.g. 50%) are still bigger than half the size, they still have better quality, so you generally can reduce the setting to get a file with half the file size and still have a quality that is comparable to the Jpg file.
In essence, one could say that Jp2 (unlike Wpd) fully fulfills the claim: “It compresses data twice as efficiently as JPEG, with either twice the quality at a given file size or half the file size at a given quality.”
Here's an example showing exactly what I mean. To me, the HDP version doesn't look nearly as good:
http://farm1.static.flickr.com/128/4176383...745780e3c_o.png
You should have compressed that picture in a completely lossy format. It would have looked better.
Last edited by dduardo on 11 Mar 2007 - 17:28
For further illustration, here's a comparison between Jp2 (Jpeg2000) and Jpg.
The pic used for this comparison is the uncompressed Tiff showing the world map (pic 2 from the test):
http://veimages.gsfc.nasa.gov/2433/land_sh...w_topo_2048.tif
It has been saved to Jpg and Jp2 with the same file size of 87kB! While the Jp2 on the left still looks nice, the Jpg on the right rather looks like something you would find in the Museum for Modern Art
The two files, along with the other comparison pics, are included in this archive, so you can see for yourself:
http://rapidshare.com/files/20515297/Neowi...rison2.zip.html
JPEG is a lossy format that removes high frequency information in order to compact the image
You can't compare apples to oranges. They serve two different purposes.
PNG are good for web buttons and such while JPEG are good for photos.
Aren't both PNG and JPEG files considered to be image formats?
Aren't both PNG and JPEG files considered to be image formats?
Spaceships and automobiles are considered vehicles, but they serve two different purposes.
Which is what I did a few posts up. I'm shocked that the HDP doesn't look as good as JPEG in this case at the same file size. I've posted on Bill Crow's blog about this and I'm interested in seeing his response.
who cares????
as long as it looks gd and doensnt eat my space..im happy
If a high resolution picture of a letterboard, maybe submitted in raw format from someone who has a camera capable enough is posted ... will that not be a better judge than a few pictures with fine details that getlost and unnoticed?
Either you don't get it, or you are trying to create controversy that doesn't exist.
HD Photo DOES several things you cannot do univerally in other formats, including JPG. The fact that the image quality is on par with JPeg is just one of the side effects.
Here is what IS important about HD Photo...
• HD Photo does Mipmaps (for example, a website could provide a HIGH RESOLUTION IMAGE in HD Photo format, but only the displayed thumbnail size selected is sent to the client. Examples of this can be found in the British Library applications that are using HD Photo and Microsoft's 3D Photo project that combines photos in high resolution into a semi virtual 3D space.)
• HD Photo provides higher bit storage than JPEG, this gives professional photographers the ability to use the full spectrum of what the new digital imaging chips are producing, even though most people cannot see the difference with the naked eye. And yes the extra bits are VERY important when dealing with image manipulation and output.)
• HD Photo allows for BOTH Lossy and Non-Lossy compression. JPEG is Lossy only, and other formats are usually all non-Lossy. HD Photo gives the best of both world options in one format. (i.e. Non-Lossy great for Text and Graphic Arts, Lossy Great for Photos)
• HD Photo is designed to chunk data specifically in the way digital imaging devices capture the Raw image, this speeds up the process of getting the data from the imager to the storage device on the card, and by also being faster than JPEG extra speed is added even further.
There currently is NO image format standard that meets just these features that HD Photo does in one format. Right now we are having to choose between PNG, TIFF, JPG, etc. And each has advantages and limitations making any form of universal image currently not possible. For example, you could decide to go with PNG for your media, but PNG doesn't support meta tags, or you could go with TIFF, but it is more of an enclosure layer and the compression used inside can be many different types and cause problems with software that don't understand the internal compression, or you could choose JPG, but lose resolution, color fidelity and lossless compression.
Instead, you could use HD Photo which doesn't have the same limitations, and we could eventually move to a universal image format that not only does more than what we need today, but is extensible enough to support even future imaging needs.
All this comparing JPG to HD Photo is crap, as you are using beta software and then trying to determine the quality based on your eye. And if your monitor is more contrasted than someone else’s, one format is going to look better, and if your monitor is less contrasted another format is going to look better. Let alone the fact you are viewing these images on LCDs and Monitors that CANNOT even product the entire spectrum of the format in the first place. If you think you can see the difference between 24bit and 36bit on an LCD that displays at 18bit, you are insane.
So please stop the comparisons..
And I apologize to the person who wrote this article in advanced, but if this is your knowledge and understanding of digital imaging, you need to find someone else to do these types of reviews.
Commenting has either been disabled on this article or you are not logged in. Click here to login or register, its free!
Note: Anonymous commenting is disabled in order to keep the quality of responses to a high standard.