MS Proposes JPEG Alternative 633
automatix writes "Microsoft's new competitor to the omnipresent JPEG format has been shown at WinHEC and is discussed on CNET. The Windows Media Photo format has many promises associated with it. The program manager is claiming 'We can do it in half the size of a JPEG file.'. While 'the philosophy has been that licensing should not be a restriction', it is interesting that the specification requires a click-through agreement to even read it."
Re:Ummmm why? (Score:4, Informative)
Lossless AND Lossy (Score:1, Informative)
If you look at JPEG, the Wikipedia article states: And now you see that it only supports lossy. There are other lossless formats out there but I don't think there is another popular MIME file format that is widely used to support both lossy and lossless.
The big selling point here seems to be that you can have one file format to do all regardless of what kind of compression you prefer. I do agree that if it's not released open to the public, it will fail.
Re:Lossless AND Lossy (Score:2, Informative)
In computing, JPEG (pronounced jay-peg) is a commonly used standard method of lossy compression for photographic images.
And now you see that it only supports lossy. There are other lossless formats out there but I don't think there is another popular MIME file format that is widely used to support both lossy and lossless.
Actually, JPEG can do both lossy and lossless, no matter what the Wikipedia article might say (I haven't read it).
Re:JPEG 2000 (Score:5, Informative)
JPEG 2000 is not widely supported in present software due to the perceived danger of software patents on the mathematics of the compression method, this area of mathematics being heavily patented in general. JPEG 2000 is by itself not license-free, but the contributing companies and organizations agreed that licenses for its first part - the core coding system - can be obtained free of charge from all contributors.
So basically, it's free for the moment, but who knows if it'll stay that way.
It is TIFF hijacked (Score:5, Informative)
Re:first reaction, second reaction (Score:3, Informative)
My first reaction is:
GIF, JPG, and PNG do everything I need -- why a new image format?
There are patents on certain parts of JPEG. Including the ones everyone uses, where the claim is highly disputed, by Microsoft and others are already paying licensing fees.
My second reaction is:
Ok, I'm innovative, so maybe there is a good reason for a new image format. Maybe I'll read more. But then I re-read it's from Microsoft and it's got called Windows in it's name, and I think I've got enough MS and Win in my life -- I really don't want more.
If they came up with a great file format I see no reason why MS would be a problem. Microsoft also helped defining TIFF, so what.
Re:Another Debate (Score:3, Informative)
"Government funding should be for work that is available to everybody."
Even this is MS classic twisting of words.
Open Source work *is* available to everybody. It is so available that no one (commercial company or not) is allowed to take it and lock it up into something that is NOT available to everybody.
"The way the license is written, if you use any open-source software, you have to make the rest of your software open source."
You can *USE* any (Free and/or "Open") software you want, and no requirements are imposed. However, you are not permitted to make that software *part* of *your* software unless *your* software is also 'available to everybody'
Contrast this with proprietary software, where you aren't permitted to use it unless you fork over dough to its 'owners', you arent allowed to inspect it or modify it, or heaven forbid make it part of your software, at all.
Re:Why? (Score:5, Informative)
JPEG-LS Vs JPEG (Score:3, Informative)
I'm not even sure if my browser supports JPEG-LS and I know that programming with JPEG-LS can be a pain if you're looking for libraries to read/write lossless compression image files.
Re:first reaction, second reaction (Score:2, Informative)
My gut says it doesn't trust Microsoft to properly handle an open image format, but part of me also knows it might take a huge company like Microsoft to move everyone out of the jpg era.
Re:Is JPG open? (Score:3, Informative)
JPEG [wikipedia.org] is a standard, created by the Joint Photographic Experts Group. The problem with it is that it's entirely lossy. It's great for final images but any time you edit an image you'll lose more and more of the detail.
PNG [wikipedia.org] is a newer open standard that was created in part to address the issue of loss. Prior to PNG many people used the GIF format, which is losless as well, but GIF has licensing/patent issues. Most mainstream web browsers, graphics editors, etc. now support PNG graphics natively.
Re:Ummmm why? (Score:1, Informative)
You must agree to their license to get the specification.
Re:first reaction, second reaction (Score:2, Informative)
AA! Don't kill me! [ntlworld.com]
Re:JPEG-LS Vs JPEG (Score:5, Informative)
Unfortunately, no-one supports Jpeg2000.
Re:it exists already (Score:4, Informative)
Re:first reaction, second reaction (Score:4, Informative)
My other reaction is regarding the photography side of it. Professional photographers aren't going to stop using tiff/raw formats anytime soon, and non-pros are happy enough with jpg because they don't know or care about the format, and really just want something they can get at easily and share/print easily.
Oh, and I don't trust MS not to mess up a potentially good format (if it is that) with licensing issues or other such trickery.
click-through agreement (Score:3, Informative)
"MICROSOFT MAKES NO WARRANTY OF ANY KIND"
"If
"Microsoft may freely use, reproduce, license, distribute, and otherwise commercialize Your Feedback"
"You will not give Microsoft any Feedback (i) that You have reason to believe is subject to any
"Microsoft has no obligation to maintain the confidentiality
"You waive any defenses allowing the dispute to be litigated elsewhere"
"If any part of this Agreement is unenforceable, it will be considered modified to the extent necessary to make it enforceable"
from "Windows Media Photo Specification license agreement [microsoft.com].
Re:Even a better one (Score:3, Informative)
http://en.wikipedia.org/wiki/Png [wikipedia.org]
Re:Ummmm why? (Score:5, Informative)
If anyone is interested and wants some not-so-light reading, check out http://foulard.ece.cornell.edu/publications/chand
It'd be awesome if someone made a compressor for regular images using this technique.
Re:Alternative or Replacement? (Score:3, Informative)
Re:Ummmm why? (Score:5, Informative)
I only did one Google search, but easily came up with this [macnn.com] old article from last October. I haven't really followed the case, but it's one reason why MS may have done this.
Re:Big claims indeed! (Score:3, Informative)
License to read (Score:2, Informative)
1.You may read the specs only if you use them to write software which work with Microsoft products, or
2. To provide feedback on the Specs to Microsoft.
Duh... where's the "I wanna know if it's any good" option? I did a google of "Windows Media Photo" to see if there was any more stuff to read, but I didn't get anything more informative than the linked cnet article.
Re:Another Debate (Score:3, Informative)
You do realize that JPEG can be lossless, right? Just completely skip the quantization step (or, equivalently, use a quantization matrix of ones) and you've got lossless. It's all in the Q matrix.
Re:It is TIFF hijacked (Score:4, Informative)
Re:Ummmm why? (Score:4, Informative)
Re:JPEG-LS Vs JPEG (Score:2, Informative)
But, still. That's not going to butter any parsnips.
JPEG alternative (Score:1, Informative)
Re:Another Debate (Score:4, Informative)
Microsoft never made only operating systems. Go learn about BASIC.
Re:Ummmm why? (Score:3, Informative)
There's just too many software patents out there (and too many broad ones) for MS to work their way around all of them, forgent will just buy up some company with a patent on entropy encoding & turn around & sue MS.
If jpeg patents are MS's fear, a new image format is only going to buy them a little time, but if DRM is their goal, it makes perfect sense.
Licensing should not be a restriction? Try FAT (Score:4, Informative)
Re:Another Debate (Score:3, Informative)
*) PNGs are nice and work a lot of places, but things like their alpha channel aren't properly supported on Windows, meaning that they don't work properly eveywhere.
*) All of GIF's patents have expired by now, or were held by IBM, never enforced, and are due to expire in ~2 months. Its lawsuit history is largely irrelevant now, except as historical anectdote. You should feel free to evaluate the recently-unencumbered format on its own merits.
http://en.wikipedia.org/wiki/GIF#Unisys_and_LZW_p
Re:Ummmm why? (Score:5, Informative)
Imagine you have a back and white image which is pure white noise. Consider what a single horizontal line of that image would look like if you drew it as you would a sound wave, with the bright pixels being high, and the dark pixels being low.
As you step from one pixel to the next, you could have a change of up to 255. There's no predictable pattern. The "frequency" of this noise is high, because the potential difference from one pixel to the next is great.
Now imagine that you apply a smoothing filter to this line of noise, and bring the changes from one pixel down. That is what you get if you blur an image. Now the max differences from one pixel to the next is much lower. The frequencies in a blurry image are low.
There's other ways to consider the frequencies of an image as well. In Wavelets, you would scale the image down to 2x2, and this would be one layer of the image. Then you'd scale it down to 4x4, and scale up the 2x2 image with bilinear filtering and subtract it from the 4x4 image. The 4x4 difference image now represents a different set of frequencies than the 2x2 image did. You store the difference because what you're interested in is the frequency of the 4x4 layer. You want to add that frequency on top of the 2x2 layer when you reconstruct the image, and if you have that "frequency" seperated out, you can compress the data better.
Another way of looking for frequencies in an image is to seperate the image into bitplanes. I think TIFF does this, because it comrpessed the image about the same as seperating the image into bitplanes then compressing with zip. Anyway the idea here is to take all the first bits of each pixel and stick them one after another, and then stick the second bits of all the pixels one after the other... You'll end up with 8 images this way, and you'll find that the image with the highest bits is easily recognizeable and has clear sharp edges, but when you get to the image with the lowest bits, all you have is noise. If you discard that noise when reconstructing the image then you will get banding in the image, but you could in theory interpolate the values of the band above to fill in the noise. You'll lose noise in the image though so stuff will look smoother than it did. Wavelet does somethign similar when it discards the differences and smooths the portions of the image that are in between sharp edges.
Re:JPEG-LS Vs JPEG (Score:5, Informative)
Re:Another Debate (Score:2, Informative)
Not exactly. It's close, but it's not lossless. The reason for this is that the DCT is not fully reversible, and even if it were, the JPEG standard does not have a precision standard for the DCT/IDCT in encoders/decoders (not even IEEE-1180 like MPEG1/MPEG2), which means that there can be quite large differences between different encoders/decoders.
And JPEG-LS doesn't even use the DCT...
http://www.jpeg.org/jpeg/jpegls.html [jpeg.org]
Marketing vs. Technical Gore (Score:5, Informative)
If you click on the "I accept this agreement and want to download the Windows Media Photo Specification" button, it submits "I accept this agreement and want to download the Windows Media Photo Specification", and should take you to http://www.microsoft.com/whdc/xps/wmphotodwn.mspx? [microsoft.com]. However, I didn't verify that.
Instead, I chose to look at the HTML, and manually submitted my own prefered value via manually entering the URL: http://www.microsoft.com/whdc/xps/wmphotodwn.mspx? I_Reject_The_Agreement_Terms_and_Suspect_Bill_Gate s_Blows_Goats [microsoft.com]. I also got taken to the download page. This page contains the notice "By installing, copying, or otherwise using the software, you agree to be bound by the terms of the license agreement [microsoft.com].", and a download link to the actual specification document at http://download.microsoft.com/download/1/6/a/16acc 601-1b7a-42ad-8d4e-4f0aa156ec3e/WMPhotoSpec_v09.do c [microsoft.com]....
Oops.
Now, while I Am Not A Lawyer, I submitted my rejection of their license terms, so I'd argue in court I shouldn't be bound by them; and since this is a specification, and not itself software, I would also argue that the notice on the page I reached is moot. I suppose the case could be made that since Word macros are a turing-complete programming language, the word document is software, so I thought I'd look through using "less" to be on the safe side. Lo and behold, there is another license embedded:
Of course, if someone at a unix command prompt incanted something clever (say, curl -o Bill_Blows_Goats.txt -C 8261 http://download.microsoft.com/download/1/6/a/16acc 601-1b7a-42ad-8d4e-4f0aa156ec3e/WMPhotoSpec_v09.do c [microsoft.com] — and don't forget to remove the Slashdot inserted spaces) the Microsoft server would only give them the meaty parts (albeit in a form even OpenOffice would probably gag on), and omit the license. I'd be amused to hear the opinion of a Real Lawyer as to how binding the agreement co
Re:JPEG-LS Vs JPEG (Score:2, Informative)
Half right (Score:3, Informative)
Or they wanted alpha channels and greater bit depths and better compression options.
ZIP is good enough. RAR and 7z (and bz2 and
WAV is not a compressed format. Apples and oranges.
Damn straight
MP3 is good enough. AAC is evil. (hint - the difference isn't quality, it is control)
AAC is MP4, a patented but open standard - just like MP3. Apples use of AAC in ITMS wraps the Fairplay DRM around that you are so coyly referring to, but really has nothing to do with AAC itself.
The original comparison stands in two cases.
Re:Marketing vs. Technical Gore (Score:3, Informative)
So, you know it's a loophole, Microsoft knows it's a loophole -- I bet the judge will know too, and shoot it down. I don't really know the answer, but I suspect that you would stand up and say, "your honor, I read the html, and found a way to respond that would trick the machine into giving me the benefit of the contract without sending back the exact text I was supposed to." Microsoft would stand up and say, "your honor, this is like figuring out a way to get a vending machine to give you candy without putting in any money. What would happen if that was legal?"
Re:What advantages does it offer? (Score:1, Informative)
I do it all the time with jpegtran.
You can also crop and a number of other operations, without ever decoding and reencoding the file.
The MS shill clearly has not heard of it.
I'm really not sure why it's not more used, but somehow it's not.
Re:Ummmm why? (Score:4, Informative)
Objectives for Introducing a New Still Image Format
Today's file formats for continuous tone images present many limitations in maintaining the highest image quality or delivering the most optimal system performance. Windows Media(TM) Photo was designed to remove these limitations. The design objectives include:
Windows Media(TM) Photo is the only format that offers high dynamic range image encoding, lossless or lossy compression, multiple color formats, and performance that enables practical in-device implementation.
Re:Yeah, Mk... (Score:4, Informative)
http://www.microsoft.com/mscorp/ip/tech/fat.asp [microsoft.com]
Re:Ummmm why? (Score:5, Informative)
No. MP3 is MPEG-1 audio layer 3. It was part of the initial MPEG specification. It was about as good as could be done with the processing power available at the time, but used a fairly primitive psycho-acoustic model and had noticeable artefacts. The MPEG-2 specification introduced an additional way of encoding audio, the Advanced Audio CODEC (AAC), which gave significantly better compression. This was refined (new profiles were added) in MPEG-4. All of these provided significant improvement over the original.
bzip2 serves a different purpose to zip and is more of a pointless replacement for gzip
No. Gzip is a stream compressor. Bzip2 is a block compressor. You can add gzip to a stream with minimal latency. Bzip2 requires blocks of 100-900KB to work with. If you sent an IM session through bzip2, then it would add huge delays. Gzip would not. This is why gzip is used for things like HTTP - you can just add it into the output stream and decompress it at the browser's end. Bzip2, however, gives significantly better compression ratios on files, for precisely the same reason. They do not serve the same purpose (although some people do seem to persist in using gzip as if it were a block compressor).
Hello new feature, same as the old. (Score:3, Informative)
Re:first reaction, second reaction (Score:2, Informative)
As near as I can tell (from what testing I have done), the PNG support in IE7 is excellent. There are still some issues with CSS2, but PNG support seems to be good to go.
IE Support of PNG as good as GIF (Score:1, Informative)
"But wait," I hear you say! "The slashbots are always saying that IE support of PNG is bad! Why are you disagreeing?" And the answer, my friend, is that I'm not disagreeing. GIF is very primitive format compared to PNG. There are many advanced features of PNG that GIF does not support that IE does not always support.
For example, GIF is limited to 8-bit color and optional 1-bit transparency. This means that a GIF image can only display 256 colors, with one color optionally labled as "transparent". GIF cannot do true color, it cannot do alpha transparency. If you are willing to use GIF instead of PNG, you are by definition not using these features of PNG, because GIF does not support them in the first place.
Guess what? 8-bit PNGs with 1-bit transparency work just fine in IE, and are smaller than GIF! Exactly the same features, which work just as well! I'll take a moment to note that some versions of the GIMP that I've used will not produce 8-bit PNGs with 1-bit transparency and require some command-line post processing to produce them, but that's a problem with the GIMP, not a limitation of the PNG specification or a flaw in IE's rendering of 8-bit PNGs with 1-bit transparency.
PNG can also do 16-bit, 24-bit and I believe 32-bit color, and guess what? IE supports it! So you can produce richer, more colorful graphics with PNGs than you can with GIFs.
Then, there's alpha transparency, the holy grail of PNG. With alpha transparency, you can produce anti-aliased text that will display properly on any background, along with a host of other effects that anyone who has tried web-design for more than about two hours will tell you is sorely needed. This feature -- which GIF doesn't support either -- is not supported properly by IE (although there is a hack that can make it work, apparently).
So let's recap: everything you can do with GIF (with the exception of animation) can be done with PNG with better compression to boot, and without creating any problems with IE. There are some things that PNG can do that GIF can't do anyway (like alpha transparency) that IE chokes on. If you're using GIF in your websites because IE doesn't handle PNG's alpha transparency features properly, then you're stupid, because GIF doesn't either.
Capiche?