GIF Slips Away From Unisys; Your Move, IBM
Twenty years ago, Terry Welch's improvement on Lempel-Ziv compression appeared in IEEE Computer magazine. The authors of unix 'compress' and the GIF standard incorporated that algorithm without realizing it was patent-pending. When the submarine patent surfaced ten years later, its new owner Unisys intimidated developers and web authors into moving away from GIFs, inspiring the creation of a better standard, though sadly still a less popular one. Today, July 7, 2004, Unisys's last LZW patent (in Canada) expires, leaving GIF once again free... almost. See, there's the small matter of IBM's patent, granted on the same algorithm, which is valid for another two years. That still has a chilling effect on GIF development, though the consensus seems to be that IBM would lose any court action it tried to bring. So how about it, IBM? You've got nothing to lose! Want to make a lot of geeks happy and release that final patent into the public domain?
Do it for the common good. Aside from business, really what open source is for!
Curiosity was framed; ignorance killed the cat. -- Author unknown
and png truly is a better standard why should geeks care what happens to gif?
Do not try to read the dupe, thats impossible. Instead, only try to realize the truth
What truth?
There is no dupe
I'm not sure on the merits of the GIF format after all these years, the only thing it brings to the web expierence is flashing adverts, PNG provides full alpha-transparency which is really required for the future of web design.
What would be the benefit of giving up the patent? We've already got .png, right?
What would be more interesting is suing someone over it. This patent "cold war" is annoying - it would be more beneficial to see an all-out war where large companies crumble, and the idiocy of software patents is demonstrated once and for all. Cold war only server to suffocate, and masses never learn of the damage being done, because it's so invisible.
Interesting article on how IP law conflicts with ancient chinese tradition is here
Save your wrists today - switch to Dvorak
In the 1980's I'm pretty sure that IBM would fight tooth and nail for any patent infringement. But those were the days when IBM was the 800 pound gorilla and what Microsoft wanted to be (and eventually became).
Nowadays IBM is on the rebound, and wants to put forth a kinder and gentler face. In as such, along with the almost impossible task of enforcing a practically public domain standard, it would be politically correct for them to just look the other way on GIFs.
You're talking about an obsolete technology [GIF] that nobody cares about.
I'd question that. Check Google images and see how many web sites still exclusively use .gifs. Not to mention a certain main-stream browser whose support for .pngs is still patchy.
I guess you and I have different definitions of "obsolete".
This is where the serious fun begins.
You can't make animations with PNG files....
Sure you can, only the result is called MNG.
Belief is the currency of delusion.
Beware of Geeks bearing GIF's
For all the chest thumping that has gone on on slashdot about the gif patent it never made sense to me why they never replaced their gifs. How hard would it have been to have a page with gifs and a page with pngs and then switched between them based on user agent string? I think all the arguments that were made would have had much more weight if they would have put their money where their mouth is.
In Republican America phones tap you.
Indeed, the web would be much more beautiful if IE supported alpha transparency in PNGs.
Sticking feathers up your butt does not make you a chicken - Tyler Durden
Internet Explorer still fails to correctly support PNG's superior transparency capabilities. Otherwise I would have adopted it much sooner in my web development. Can't run round incorporating standards into your websites that the browser that holds 95% market dominance does not support.
</TokenMicroSuckJab>
$ whatis themeaningoflife
themeaningoflife: not found
Is there a reason that the writer of this topic chose to talk about the implications about having GIF open to the public rather than talk about having LZW open?
I personally think having LZW is of much more significance than GIF.
"Curiouser and Curiouser" - Alice
The original Welch paper is pretty readable:
Terry A. Welch, "A Technique for High Performance Data Compression", IEEE Computer, Vol. 17, No. 6, 1984, pp. 8-19.
If you don't want to go to a library and look that up, then Google will find you about 12000 hits on "Welch LZW", and the first few all seem to be exactly what you want.
IBM does enforce its patents on any company they think can pay. The did it to my company and to other companies that I know of.
Stop spreading the lie that IBM only "defends" itself using patents.
the whole ruckus was because they did publish the algorithm widely and it got used widely - and only then did they reveal their submarine.
the algo is/was very widely known.
world was created 5 seconds before this post as it is.
Actually that patent is being used in IBM's (second amended) counterclaims in the SCO v IBM case.
JeR
bloating their sites with transparent effects where it is not needed.
Every once in a while somebody seems to open their mouth without realizing they have no clue what they are talking about.
How exactly is a transparent image bloat? I did a test. As a gif a logo I have is 3.32K without alpha and 3.33K with alpha. A PNG (both regular and alpha) it was 3.45K. That should dispel both the claims that PNG is bigger and that transparency adds bloat.
And what do you do everytime you change a websites background color? Change the image?
...MNG code is not very good to begin with, I believe MNG support was ditched from Mozilla as well, which makes it supported in approximately 0% of the web browsers out there.
I use PNG quite a bit, but mainly as a competitor to TIF files, but I do prefer to use PNG over GIF in websites too. However, I'm only using non-transparent, plain PNGs for maximum compatibility.
Animated GIFs? Oh, right. I turned those off, along with pop-ups. If I wanted that, I'd actually use flash or something like that. I figure either you don't block stuff (which means GIF + flash) or you block stuff, in which case you don't see either. Either way, I don't see much room for GIF files...
Kjella
Live today, because you never know what tomorrow brings
Your comment makes no sense in this context.
IE doesn't support alpha transparency in PNGs, and that's substandard on their part, but I don't think the web would change much if it did unless everybody started bloating their sites with transparent effects where it is not needed.
You couldn't be more wrong. If people could use PNG the way it's supposed to be used, we could have rounded corner graphics that don't suck, change background colors without having to modify all images to match, have different background colors on different pages without the need for extra graphics for each different color background, allow user-selectable page colors, et cetera. It would actually save a lot of bandwidth.
As it is, there is very little benefit to using PNG in most cases, so people don't switch.
And PNGs with alpha-transparency are not "bloated" by any means.
Sticking feathers up your butt does not make you a chicken - Tyler Durden
I think the previous poster meant that IE lacks support for PNG-24's 8 bit alpha.
See, PNG supports 256 levels of transparency. Gradients. Oh, the joy of no jagged edges.
The problem is, yes, a 24 bit PNG with 8 bits of alpha can get rather large, especially when they are used for what they weren't intended for; replacing JPGs.
Open up this link in anything but IE (I tested it with Mozilla and Opera) to see some 8-bit alpha. And a cool little demo to boot.
A preposition is a terrible thing to end a sentence with.
So people know what an "alpha-transparency is" -- it's this very beautiful flower... which is also on this page, unless you're using IE, in which case it's just blank. Some examples are also available here. Basically it's just a much nicer version of GIF's transparency.
Small potatoes make the steak look bigger.
It was a big breakthrough when algorithms like LZW, which compressed data that contained repeated multi-byte patterns (like text, or bitmap drawings), were developed. The previous state of the art was to pre-analyze the data and build a table that would have to be exchanged before the data could be decompressed (like Huffman encoding). LZW lets you built the table on-the-fly as the data is compressed, and exchange it on-the-fly as its being decoded (because the compression "table" and the data stream are actually the same.)
LZW does seem simple to us now; in fact one standard Job Interview question I ask is to put the LZW algorithm on the whiteboard! However, for those of use who have been around for more than 20 years, it was a significant breakthrough.
Best Buy can have you arrested
Exactly. I'm not a full-time web developer, so I don't even think on these issues too hard most of the time. Recently I had to write a little network-monitoring app. I coded the output in standards-compliant XHTML 1.1, standards-compliant CSS for styling stuff, and I used PNGs with transparent backgrounds for certain little icons. I only tested my app in Firefox (yeah, my mistake). Later someone who actually uses IE tried to use my little web app, and found gray background squares around all my supposedly transparent-backgrounded images. Sucked. Now I know what all you web developers already knew - I have to put a background color on these pngs which matches the background they're placed on that I specified in my stylesheet. How redundant and stupid.
11*43+456^2
Just to set the record straight:
When I led the process of drafting the PNG specification, GIF animation did not yet exist. Animation was not part of the original GIF specification. The GIF89a specification *did* offer a mechanism for including multiple images in a single file, and a very basic (but, in retrospect, effective) mechanism for replacing only a specified part of the preceding image. But whether this was supposed to be animation with a time component was never defined, and there was in fact no way to specify how long each frame was supposed to appear, probably because the real intent was to be able to compose a single final still image from many sections. Multiple image GIFs were a footnote to the GIF specification which hardly anybody used until Netscape stepped in.
Netscape's animated GIF format was a clever hack on top of this: they defined a new GIF chunk to specify the pause between frames.
Here's the kicker: Netscape was repeatedly invited to participate in the PNG design process. They had someone reading the list, I gather, but they never offered any suggestions or contributions. If they had, they would likely have been considered very seriously.
But instead, the first we heard of GIF animation was its public release in Netscape (2.0 beta, if I recall correctly). They could have contributed to the design of a PNG or MNG that did include animation and, by way of that compelling feature, would have been more likely to quickly replace GIF. But they didn't.
We (the PNG designers) did consider retrofitting animation into PNG when Netscape's animated GIF appeared. In fact, I lobbied for that at one point. Unfortunately we had already finalized the functional specification and there was no hope of reaching agreement on how to "jam in" the animation feature at the last minute on top of an otherwise pretty elegant image format.
Instead, the MNG group was formed to create a specification for a powerful lossless animation format. And they succeeded -- but MNG has yet to really catch fire, and animated vector formats like SWF and SVG are gradually replacing animated GIF anyway for most purposes. At the end of the day, lossless bitmap animation is a pretty bandwidth-intensive proposition.
Check out the Apostrophe open-source CMS: http://www.apostrophenow.com/
No. JPEG at max quality looks perfect to the human eye, but it still has differences from the original image. Lossy compression should be avoided in situations where images are going to be decoded and recoded many times, as these errors build up to the point where they can become noticeable.
Also: make sure your PNG encoder is configured correctly. In most cases you want to be using the 'adaptive' filter.
In the JPEG standard, there are two possible compression modes for the DCT coefficients, Huffman and Arithmetic encoding. The arithmetic coding is about 10% smaller, far faster to compute, but is unfortunately proscribed by the IBM patent.
If IBM would release this patent, we could change some #defines in the JPEG code and get 10% smaller pictures with no change in quality.
Thad Beier
I love Mondays. On a Monday, anything is possible.
You do realize we were talking about a file format for displaying images, right? You sound like you're willing to lay your life down for the cause of alpha transparency!
I'll bite.
...) changes an image in such a way that humans don't percieve the difference, but it can be stored more efficiently. At lower qualities, you will begin to notice some artifacts. It can go all the way down to a completely useless collection of pixels. It's a common misconception that 100% quality JPEG images are not distorted in any way. I don't know what 100% means, other than the lowest compression your encoder supports.
JPEG, like MPEG (and Vorbis, Theora,
PNG images, on the other hand, encode the image exactly as it looks. Basically, a PNG image is a collection of pixels, some metadata, optionally compressed with deflate (same algorithm used by gzip).
JPEG images are the better choice for photograpic images (which is what they are intended for), where the exact pixel colors don't matter that much. PNG is better for line drawings, text, high contrast images; basically anything that doesn't bear slight changes to the colors. For large images, JPEG can be significantly smaller, making the case for using JPEG for screen dumps and such.
Please correct me if I got my facts wrong.
I traded email with several people who know the history of this algorithm and its patents fairly well. I wasn't able to get a quote from a legal expert backing this up by press time, but it hardly matters because this opinion indeed is the consensus of those I have talked to. And I mentioned the duplicate-patent issue to an IBM PR rep, who had plenty of time but didn't offer a correction.
I stand by what I wrote.
If you would like to get MNG back into Mozilla, then you can follow/vote/contribute to Bugzilla bug 18574
http://bugzilla.mozilla.org/show_bug.cgi?id=1857 4
(Please don't post useless comments on that bug)
MOD THE CHILD UP!
UnixWare's compress program (for *.Z files) is
infringing on this patent.
OK.. I have been watching the debate for several years (it's like watching the grass grow). Here's where things are:
There are several arguments for GIF being pronounced with a HARD G:
1) "G" stands for Graphical. Graphical has a hard G.
2) The majority of people pronounce it that way.
3) Most words that start with G have a hard G.
The main case for Soft G is that the designers of the file format specifically stated in their specification document that it's a soft G.
Item 1 has been shot down as follows: Yes, G stands for graphical (*as specified by the designers of the file format*). Three problems with that:
a) The technical pronounciation of Graphical is gha-raf-i-cal. So it's not the same phonetical sound as hard G. You would need to then pronounce it Gh-IF, NOT hard G "GIF".
b) What something stands for has nothing to do with how an acronym is pronounced. Modem, for example, stands for modulation/demodulation. Is it pronounced "mah-deem"? Laser would be pronounced as if it rhymes with brassiere... etc. The fact that g stands for graphical has nothing to do with the pronounciation of the acronym.
c) If you are referring to the word "graphical" as the basis for the argument, then you are basing your argument on the the words picked by the designers, and used in the specification. And in that specification, the designers said that it's pronounced JIFF like the peanut butter. So for consistency, if you go back to the specification to determine what it stands for, then you must live by their specified pronounciation.
Item 2 has been shot down because the majority doesn't rule on matters of punctuation. (pronounciation?)
Item 3 has been shot down because there is no rule. There are MANY words that have a soft G pronounciation. People have even argued that GIF is part of Gift, and so they should sound the same. (Gin (soft g) and gink (hard g) are examples that shoot down that logic.)
So we go back to the specification... no one seems to be able to logically shoot this down. The folks who invented the file format decided what it would be called, and how to pronounce it. If you want to invent your own file format, you can pronounce it any way you want. You can even pick a symbol, and then be referred to as "The file format formerly known as Prince". But as inventor, it's your call.
I want to say this in a *gentle* way... the *gist* of my message is that most GIF pronounciation arguments amount to *gibberish*, when you consider the *general* logic behind them. I'll let the *genie* out of the bottle here: Have a *gin* and tonic, and cool your *genitals*. You have to go back to the *genesis* of the file format, at the *germination* of the idea, when they first *generated* the specification. to determine the correct pronounciation. It is soft G, like JIFF.
(it's really fun to read the posts where people write.. "Those who pronounce GIF as JIF..." and correctly read that aloud ("Those who pronounce JIF as JIF"))
OK.. let this be the definitive guide to pronouncing GIF. You can pronounce it any way you want, but if you are one who insists on being "correct", get used to saying JIF. And I haven't read a logical, solid argument YET for pronouncing it with a hard G. Right now, Soft G is winning the debate, and it's not even close!
He's right; it's one of IBM's counterclaims against SCO. Of course, if any part of SCO's motion to bifurcate (split off the patent suits), IBM could elect to drop it and later dispose of the patent somehow. You can read a transcript of the relevant hearing here on Groklaw.
SCO's answer to IBM's counterclaims accuses it, among other things, of selectively enforcing it. I'm not quite sure what basis there is in law for using that as a defense, however, or if that was just boilerplate text in SCO's reply.
Wrong.
That's a techie urban-legend. The truth is that IE6 does support all required PNG features. Therefore it "supports PNG".
Yes, IE6 doesn't support PNG transparency, at least not in any easy way. However PNG transparency is an optional part of the PNG spec. That IE6 doesn't support transparency properly is unfortunate but doesn't invalidate their meeting the required PNG spec.
Furthermore as others have pointed out there are indeed work-arounds (ugly ones) that will enable reliable PNG transparency on IE6. Also as others have pointed out (including MS staffers) even if IE7 were to ship tomorrow and support PNG et al we'd still be stuck with a huge IE6-using population for years to come.
It would be great if IE, and indeed all of the browsers, were to fully meet all relevant standards. It would also be great if they were to then go on and meet more of the optional parts of those standards, including PNG transparency. However lets hold everyone's feet to the fire on these, not pick on one author's neglecting a feature many would like while they and others are still missing more fundamental required parts of specs.
I don't read ACs: If a post isn't worth so much as a nom de plume to its author then I wont bother either.