Slashdot Mirror


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?

147 of 609 comments (clear)

  1. GO IBM! by bernywork · · Score: 4, Insightful

    Do it for the common good. Aside from business, really what open source is for!

    --
    Curiosity was framed; ignorance killed the cat. -- Author unknown
  2. If the poster is correct by Timesprout · · Score: 5, Insightful

    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
    1. Re:If the poster is correct by I+confirm+I'm+not+a · · Score: 5, Insightful

      Well, one reason is that, once-upon-a-time, we had to build apps for browsers that didn't support .png, so even though we could handle .pngs, we had to consider our clients who were stuck with .gifs. Thankfully, even the lowliest of browser almost supports .png these days.

      --
      This is where the serious fun begins.
    2. Re:If the poster is correct by Ghengis · · Score: 5, Informative

      Because GIF is used MUCH more, so people writing software that make use of images in general (browsers, image editors, etc.) have to deal with this patented algorithm, or risk losing users because their software doesn't support one of the most widely used formats.

      --

      "The best laid plans of mice and men gang oft agley..." - ROBERT BURNS

    3. Re:If the poster is correct by Anonymous Coward · · Score: 5, Informative

      It's hard to do away with GIF because GIF's are animated. PNG's are not. There's the MNG standard, which is basically an animated PNG, but it isn't widely supported yet.

    4. Re:If the poster is correct by Azrael+Newtype · · Score: 3, Insightful

      Principle mostly, and perhaps gif development can make it better than png if it becomes free. It's possible anyway. And png does offer better compression/quality from what I've seen in my admittedly limited experience, but the free software community that basically dominatess /. (not a knock, just saying the OSS community here is pretty big) would like it free as a victory for OSS, regardless of its usefulness. Just my $0.02

      --
      I'm always right and I can prove it, because to the best of my knowledge, I've never been wrong.
    5. Re:If the poster is correct by Davak · · Score: 4, Informative

      Quick source view of the main slashdot page shows that "gif" is found about 50 times.

      "png" is found twice -- both of which are related to the original post.

      Now you know why we care. The web community uses gif more than png. For better or worse...

      Davak

    6. Re:If the poster is correct by DrEldarion · · Score: 5, Insightful

      There are many "better" things that, for whatever reason, just aren't as popular compared to other "inferior" things.

      The PNG and GIF situation is like the OGG and MP3 situation. Sure, OGG may be better, but everyone already knows what MP3 is, has all their songs in MP3 format, has programs that know what do wo with MP3s, has players that know what MP3s are, etc. etc.

    7. Re:If the poster is correct by AKnightCowboy · · Score: 2, Interesting
      and png truly is a better standard why should geeks care what happens to gif?

      Because most people still use GIFs and most older browsers and paint programs don't support the PNG format. If GIFs are unencumbered by patents then it becomes the preferred format for activist web-nerds again since there's no need to worry about PNG incompatibilities with older software.

    8. Re:If the poster is correct by Anonymous Coward · · Score: 2, Funny

      Animated gifs are the one thing holding you back? Can't live without that animated mailbox flashing on your website? Or perhaps it is the dancing hamsters that keeps attached.

      Is there a legitimate practical use for animated gifs that I am missing?

    9. Re:If the poster is correct by SillyNickName4me · · Score: 3, Insightful

      > Is there a legitimate practical use for animated gifs that I am missing?

      Two issues with this:

      1. THe fact that you cannot imagine a practical use doesn't mean there isn't one.

      2. Seeing the popularity of flash to create animated advertisements, banners and such, there may not be a 'need', but defintiely a very strong wish to use such things.

    10. Re:If the poster is correct by HungSquirrel · · Score: 2, Insightful

      Not many. Animated GIFs are being replaced by Flash in the advertisement arena. GIF's only real purposes now are transparency and compression. PNG's alpha transparency makes it an image format with nearly limitless web potential, but alas, Microsoft only cared about supporting standards when they almost had competition from another browser...

      --
      $ whatis themeaningoflife
      themeaningoflife: not found
    11. Re:If the poster is correct by afidel · · Score: 2, Interesting

      hmm, that's funny, the first thing I do when setting up a new computer with Mozilla is to set image.animation_mode(once). I can't stand being distracted by annoying animations at the corner of my vision. In fact on the rare occasion where there IS a need for animation you can either do DHTML tricks or use flash.

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
    12. Re:If the poster is correct by kwoff · · Score: 2, Insightful

      I've found that PNG is oftentimes way more bloated than GIF. Maybe it's not a general rule but related to the particular image software I was using.

    13. Re:If the poster is correct by Planesdragon · · Score: 2, Informative

      Because of the LZW compression algorhythm.

      It's still superior to PNG's compression and I hazard a guess that PNG can be modified to use LZW.

    14. Re:If the poster is correct by Tet · · Score: 2, Insightful
      people pronounced .GIF as "jiff." SORRY! Come again! Better luck next time! There is another format- called jiff, the JPEG Interchange File Format.

      Actually, it's JFIF -- the JPEG File Interchange Format.

      --
      "The invisible and the non-existent look very much alike." -- Delos B. McKown
    15. Re:If the poster is correct by iantri · · Score: 4, Informative

      Except the browsers all support PNG (minus alpha, but GIF and JPG don't have that anyway), where as most MP3 players can't play Vorbis..

    16. Re:If the poster is correct by Jabes · · Score: 5, Informative

      GIF is pronounced JIF.

      Bob Berry, the developer of CompuShow for CompuServe (remember them - the people that invented the GIF format?) included with it an animated GIF89 format file that had a picture of him. It had a speach bubble with him saying:

      Oh, incidentally, it's pronounced "JIF"

      A quick google later and I've found a web site which has this, and other evidence that .GIF files are pronounced JIF

      http://www.olsenhome.com/gif/

      Thanks for playing

    17. Re:If the poster is correct by SiMac · · Score: 5, Informative

      PNG transparency works just fine in Internet Explorer. It's just a pain in the ass.

      This website will tell you how to turn it on. You can see it working on my website.

      No idea why it's not on by default, but if it works...

    18. Re:If the poster is correct by Short+Circuit · · Score: 2, Insightful

      Considering GIF is about to go public domain, I'd rather have that as an option for animation than have to learn to propgram Flash. (Or even install the damn plugin.)

    19. Re:If the poster is correct by SillyNickName4me · · Score: 2, Insightful

      > You are saying that advertisements is a legitimate practical use?

      Yes, that is indeed what I am saying.

      We can argue a lot about improper advertisement and such, but meanwhile advertisements are paying for the fact that we can discuss here at all.

      So no, I didn't ignore your question I think.

    20. Re:If the poster is correct by Citizen+of+Earth · · Score: 2, Insightful

      It's still superior to PNG's compression

      You can only claim that it is "superior" in that it executes more quickly. However, it produces significantly larger files. PNG should be redefined to also use BZIP2 compression, since that produces even smaller image files than GZIP compression. (BZIP2 is also particularly good at XML data--if you ever hear anyone talking about proprietary XML compression, mention that BZIP2 is the generic method to beat, not GZIP.)

    21. Re:If the poster is correct by lahvak · · Score: 2, Insightful

      Lot of math sites use animated gifs to display animates graphs, rotating 3D objects etc. You do not want to make your audience (in many cases - when teaching remedial level math - quite computer illiterate) download whole sorts op plugins just to view few simple animations. Besides, most of other options for viewing animations are not exactly cross-platform.

      --
      AccountKiller
    22. Re:If the poster is correct by htmlboy · · Score: 2, Informative
      Quick source view of the main slashdot page shows that "gif" is found about 50 times.

      "png" is found twice -- both of which are related to the original post.

      Now you know why we care. The web community uses gif more than png. For better or worse...


      i'm not sure this web community would be pleased that slashdot's being used as an example of currently-accepted design choices. at least on the front end, slashdot's code is dated and inefficient. alistapart.com has a fun article on how it could be made better.
    23. Re:If the poster is correct by Coneasfast · · Score: 2, Informative

      bingo! mod parent up. everyone should be using PNG now. IE supports png binary transparency just fine. so you can do a straight conversion of all your gif->png and you will have no problem.

      also, png's will almost always be smaller if optipng is used to optimize the compression

      --
      Marge, get me your address book, 4 beers, and my conversation hat.
    24. Re:If the poster is correct by ScytheBlade1 · · Score: 3, Informative

      Main #1 problem with that: it relies on DirectX, which, if you have any brains, is turned OFF on IE.

      Oh wait.

      I forgot all of the morons who leave it on.

      My Mistake. Guess it will work after all.

    25. Re:If the poster is correct by Speare · · Score: 2, Funny

      You're a git.

      So, as the "G" in "GIF" is short for "Graphics", it's pronounced like the "G" in "Graphics" -- giving "guif".

      Do you pronounce the Computer Emergency Response Team as "Kert"?

      Or the Center (for) Observations, Modeling (and) Prediction At Scripps as "Som-pass"?

      How about the Graphic Environment Operating System we all know as "Guh-Eeyos"?

      Or maybe the REmote Graphics Instruction Set is "Re-guiss"?

      Is your senator a fan of the General Agreement on Tariffs and Trade, or "Jatt"?

      --
      [ .sig file not found ]
  3. If they were really cool... by Karpe · · Score: 2, Interesting

    They should enforce the patent and only license it to products who would implement PNG (correctly) as well as GIF. ;)

  4. Why do we need GIF anymore? by NoMercy · · Score: 5, Informative

    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.

    1. Re:Why do we need GIF anymore? by AuraBorealis · · Score: 5, Funny

      Yes, because what we really need is alpha-transparent flashing adverts!

    2. Re:Why do we need GIF anymore? by stripyd · · Score: 3, Insightful

      Sadly whilst few web designers care that my browser doesn't render Arial and my system doesn't play windows media, they *do* care about the large number of punters out there whose old windows 9x system's browser doesn't support png...

    3. Re:Why do we need GIF anymore? by julesh · · Score: 4, Informative

      Compatibility. A huge number of existing web sites still use GIF as their primary image format. We need to be able to produce software that can manipulate these images if we want any hope of penetrating the web authoring market. This has prompted many workarounds in the past (such as libungif, a piece of software that produces GIF files without using the patented algorithm -- but unfortunately this means not having any compression) which will become obsolete once all patent issues have been cleared up.

    4. Re:Why do we need GIF anymore? by NoMercy · · Score: 4, Informative

      Everything which supports modern CSS styling supports PNG... it's just not everything supports all the features of PNG, the most noted case being IE doesn't support alpha-transparency.

      Many people also believe PNG's to generally produce larger images to GIF, if youre generating PNG's using the 'recomended settings' then yes for many images this is the case, but if your image doesn't need 16.7 milion colors and full alpha-transparency, don't enable them switch to pallete based with no-transparnecy.

    5. Re:Why do we need GIF anymore? by griblik · · Score: 5, Interesting

      Actually, I think the reason most people think pngs produce larger filesize images is that most professional graphics bods use photoshop, which, despite being a fantastic bit of software, is shit at optimising pngs.

      The GIMP does a much better job of it.

      --
      Warning: May contain nuts
    6. Re:Why do we need GIF anymore? by Anonymous Coward · · Score: 2, Informative

      pngcrush is better still, go grab it off sourceforge.

    7. Re:Why do we need GIF anymore? by ajs · · Score: 4, Informative

      Alpha transparency is critical to good Web site design for many reasons. Among them:

      1. Blending with any background means you can change the background globally and not worry about re-blending all of the images.
      2. An image which is produced externally (e.g. by a partner) can blend with your layout cleanly without being customized.

      However, MOST uses of alpha blending in web design would ACTUALLY be better done in SVG if SVG in browsers could finally get first-class status.

      Why? Well, just for starters, LCDs and CRTs have different optimial anti-aliasing strategies. If I want to put a circle on a Web page, right now I have to choose one of those strategies ahead of time (or resort to a plug-in). If we allow SVG "images", then we can simply render that circle however the user directs it to be (presumably because they've selected a "CRT-friendly" or "LCD-friendly" preference in their browser or desktop).

      Once you eliminate anti-aliasing as a concern, there are still reasons to do alpha-blending in regular images (such as those above), but the general case (logos, text, shapes, etc) will be handled more cleanly.

    8. Re:Why do we need GIF anymore? by AnotherBlackHat · · Score: 4, Insightful

      Alpha transparency is critical to good Web site design ...


      The quality of a web site is determined more by it's substance than by it's appearance.
      Good web site design doesn't even require images.

      Alpha blending is not critical.
      It's nice, but IMO it's ranks below "spell checker" in the hierarchy of good web site design tools.

      -- less is better.

    9. Re:Why do we need GIF anymore? by mrchaotica · · Score: 3, Insightful

      What he meant is that alpha-blending is important in making consistent, standards-compliant pages. In other words, although it's possible to hack around it by pre-blending your images, but you have to re-blend them every time the background changes color. For example, what if you wanted to let the user choose the background color as an accessibility measure (i.e. a normal version and a high-contrast version)? There's no good way to do that without alpha-blended PNGs; you'd have to resort to javascript.

      It's like CSS for positioning: you don't need it (you could use tables instead), but it makes for better design, because you can separate content from presentation. PNG is like this because then the image is "my_logo.png" rather than "my_logo_over_white_background.gif", "my_logo_over_black_background.gif", "my_logo_over_blue_background.gif", "my_logo_over_puke_green_background.gif",
      "my_log o_over_orange_and_purple_polka_dots.gif", etc.

      --

      "[Regarding the 'cloud,'] ownership was what made America different than Russia." -- Woz

  5. This is cause for celebration. by solarmist · · Score: 3, Insightful

    Having one of the most commonly used compression algorithms in the public domain is going to be a huge boon for me as a student because it'll allow me to finally see how commonly LHZ is implimented and let me study compression.

    Anyone happen to have a copy of the alg. lying around?

    --
    "Curiouser and Curiouser" - Alice
    1. Re:This is cause for celebration. by djmurdoch · · Score: 5, Informative

      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.

    2. Re:This is cause for celebration. by gl4ss · · Score: 4, Informative

      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.
  6. Why should we care by ultrabot · · Score: 5, Insightful

    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
  7. Not in the old days by DrDebug · · Score: 4, Interesting

    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.

  8. Sorry, botched the link by ultrabot · · Score: 2, Informative

    Real link is here

    --
    Save your wrists today - switch to Dvorak
  9. The other patent should constitute prior art by N+Monkey · · Score: 2, Insightful

    Unless the IBM patent introduces something new (but I couldn't see anything like that in the first claim) and you were actually using it then, assuming the expired patent was filed before the IBM patent, the former should constitute (public) prior art. You should be able to use it without concerns .

    Of course, the lawyer types might still want to argue the case since that's how that make their money

    1. Re:The other patent should constitute prior art by N+Monkey · · Score: 2, Informative

      I suspect that it was a combination of several things:
      1) Until recently, the US didn't publish the applications, only the granted patents, and the lifetime of the patent was from date or grant, not date of filing. There was the tendancy for the applicants not to bother rushing things through. (dare I say submarining).

      Note that elsewhere, patent applications became public after, IIRC, 18 months and their lifetime started from the date of filing - there was no point in being tardy.

      2) I suspect that, back then, searching existing patents was probably a lot more difficult. It wouldn't surprise me if it was all done manually which'd be utterly tedious. It's bad enough with online electronic systems. :-(

      3)It is the responsibility of the patenter to inform the patent office if new information/documents comes to light and to update their patents accordingly (I've done this with one of mine) but I guess researchers can move on to other fields, change employers, or simply lose interest. (shrug)

  10. Re:GIF sucks. Move on. by I+confirm+I'm+not+a · · Score: 4, Informative

    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.
  11. GIF by dcordeiro · · Score: 2, Interesting

    Give
    It
    Free

  12. Re:PNG's..... by eddy · · Score: 5, Informative

    You can't make animations with PNG files....

    Sure you can, only the result is called MNG.

    --
    Belief is the currency of delusion.
  13. Obligatory Troy ref. by WormholeFiend · · Score: 4, Funny

    Beware of Geeks bearing GIF's

  14. Chest Thumping by Samus · · Score: 4, Insightful

    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.
  15. not even close! by Ender+Ryan · · Score: 4, Informative
    IE does not support the #1 most useful aspect of PNG, namely, alpha transparency. Without alpha transparency, you may as well use JPEG or GIF in most circumstances.

    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
    1. Re:not even close! by HungSquirrel · · Score: 3, Funny

      Cha-ching! I'd use PNG, but if the browser with 95%+ market dominance doesn't support its most useful feature...

      --
      $ whatis themeaningoflife
      themeaningoflife: not found
    2. Re:not even close! by I+confirm+I'm+not+a · · Score: 2, Insightful

      if the browser with 95%+ market dominance doesn't support its most useful feature...

      ...then what's stopping you from using it? 5% or browsers will benefit; and you'll benefit from not having to update your site in 1..100 years when MS release the next IE.

      Still, if you're happier using a proprietary format that may still be patent-encumbered, in preference to an open format, hey! That's your call.

      --
      This is where the serious fun begins.
    3. Re:not even close! by jkitchel · · Score: 2, Interesting

      Some people don't have the option to live in an ideological world and must live in a realistic one.


    4. Re:not even close! by I+confirm+I'm+not+a · · Score: 4, Insightful

      Some people don't have the option to live in an ideological world and must live in a realistic one.

      Elsewehere in this thread I've mentioned that I continue to use .gifs, because it's not realistic to ditch them. Regardless; I'd hardly descibe my position as "ideological" or "unrealistic" - it's one based on:

      1. Portable Network Graphics work with all major browsers - now (IE doesn't support one area of PNGs, but it doesn't lose any functionality over GIFs, as GIFs don't provide 8-bit alpha-blending anyway);

      2. GIFs may - as this article is about - still be patent-encumbered.

      In what way is promoting increased use of PNGs unrealistic?

      --
      This is where the serious fun begins.
    5. Re:not even close! by Mr_Silver · · Score: 3, Informative
      ...then what's stopping you from using it? 5% or browsers will benefit;

      Because when you're working on a corporate project that costs money, it's very difficult to put a business case forward for something which will only be of benefit to a very small number of visitors.

      Most clients would rather pay for something that directly benefits the browsing experience of the other 95%.

      --
      Avantslash - View Slashdot cleanly on your mobile phone.
    6. Re:not even close! by I+confirm+I'm+not+a · · Score: 3, Insightful

      you were implying that we should go ahead and use the uber-PNG features, and then wait for IE to catch up to see them.

      Indeed, and why not? An image is just an image in IE; who cares if only 5%, 6%, 7% (and rising) of the browsing population see it as it was intended? It'll be visible in all its glory once IE 7 is available, or once punters start making the switch to more modern browsers. In the meantime IE users won't be adversely affected, and it might even prompt them to drag themselves into the 21st century, browser-wise.

      --
      This is where the serious fun begins.
    7. Re:not even close! by I+confirm+I'm+not+a · · Score: 4, Insightful

      Switching to PNG because 5% or browsers will benefit is the unrealistic part.

      Well, all browsers, including IE, can use PNGs. I presume you're refering to alpha-blending, which IE can't - currently - use? Use of non-IE browsers is steadily rising, as support for IE seems either non-existent or focused on "IE7" or whatever it'll be called. This suggusts - to me - two things:

      1. Increasing numbers of people are using browsers - now - that do support alpha-blending;

      2. The next iteration of IE is likely to support alpha-blending and is probably due soon (maybe soon like Longhorn, but soon, anyway...);

      Either way, catering for the present-and-the-not-too-distant future doesn't seem that unrealistic.

      --
      This is where the serious fun begins.
    8. Re:not even close! by TheLink · · Score: 2, Insightful

      GIFs work on practically all browsers that support images. Elsewhere in the world the GIF patents may not apply.

      If _your_country_ is patent encumbered, I don't see it as a problem with the technology, I see it as a problem with your country.

      --
    9. Re:not even close! by gamgee5273 · · Score: 2, Insightful

      Most clients aren't wise enough to know what you're doing if you make sure it works for both the 5% and the 95%. Thus, you get paid and you play by standard rules, not the rules MS wants you to play by. Frankly, if it works in Mozilla, it will usually work in IE... unless you are using some bastardized code like ASP or JSP. In that case - you can keep the site... I'll just end up going to one of your client's competitors, anyhow.

    10. Re:not even close! by PeterPumpkin · · Score: 2, Informative

      In what way is promoting increased use of PNGs unrealistic?

      Well you have to promote them fully. Alpha transparency works fine in IE 5.5+, you just have to know the hack. See this site for a working example.

      The method is explained here

    11. Re:not even close! by ncc74656 · · Score: 2, Informative
      IE does not support the #1 most useful aspect of PNG, namely, alpha transparency. Without alpha transparency, you may as well use JPEG or GIF in most circumstances.

      FWIW, there's a hack to display transparent PNGs in IE without breaking things for other browsers. Try this script:

      <script type="text/javascript">
      function DisplayPNG (id, path, xdim, ydim, alttext)
      {
      if ( navigator.userAgent.indexOf ("MSIE") != -1 )
      {
      document.write ( '<div style="height: ' + ydim + 'px; width: ' + xdim + 'px; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader (src = \''+path+'\', sizingMethod=\'scale\')"> </div>');
      }
      else
      {
      document.write ('<img src="'+path+'" width='+xdim+' height='+ydim+' alt="'+alttext+'" title="'+alttext+'">');
      }
      document.getElementById(id).innerHTML = "";
      }
      </script>

      I inserted a few extra spaces so that /. would hopefully not mangle it into non-working form, but if it doesn't work, you can get a working copy of the script here.

      Where you'd normally put an IMG element to load a PNG, use something like this instead:

      <span id="foo">
      <img src="graphics/foo.png" width=320 height=240 alt="This is the Foo image" title="This is the Foo image">
      </span>
      <script type="text/javascript">
      DisplayPNG("foo","graphics/foo.png",320,240,"This is the Foo image");
      </script>

      The first parameter of the DisplayPNG script is the ID of the span element that precedes it; this displays the PNG if JavaScript is disabled (though it won't be transparent on IE). The second parameter is the path to the file, the third and fourth are the dimensions, and the fifth is some identifying text that'll show up in the image's tooltip.

      I'll allow that it would be better if Microsoft had done a proper implementation of PNG in IE, but this gets the job done until that happens (if it ever does).

      --
      20 January 2017: the End of an Error.
    12. Re:not even close! by gnu-generation-one · · Score: 3, Interesting

      "Because when you're working on a corporate project that costs money, it's very difficult to put a business case forward for something which will only be of benefit to a very small number of visitors. Most clients would rather pay for something that directly benefits the browsing experience of the other 95%."

      So what's the business case for Java applets and Macromedia shockwave and Flash? Do we just hand-wave the lack of installed compatibility when we're talking about a buzzword?

      "25% of our customers will see a blank screen instead of our website. Screw 'em!"

  16. PNG by HungSquirrel · · Score: 5, Insightful

    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
    1. Re:PNG by caseih · · Score: 4, Informative

      See http://www.daltonlp.com/daltonlp.cgi?item_type=1&i tem_id=217 for how to get pngs to display transparency on IE 5.5 and IE 6. This is now a well-known technique that works pretty well universally. Combine with CSS or javascript and you should be able to use pngs entirely.

    2. Re:PNG by RAMMS+EIN · · Score: 4, Funny

      I feel your pain.

      Too bad all the exploits I wrote have failed to convince people to switch to functional web browsers and rid the world of MSIE once and for all.

      Or maybe I shouldn't have said that.

      --
      Please correct me if I got my facts wrong.
  17. LZW tiff, too by Willard+B.+Trophy · · Score: 2, Informative
    Does this mean we can get LZW compression back in libtiff too, then? It would be really nice to be able to supply compressed press-ready images to printing houses.

    Yeah, I know there are deflated TIFFs, but they can be like "wha...?" in the prepress world.

    1. Re:LZW tiff, too by BitwizeGHC · · Score: 3, Insightful

      If you're sending stuff to press, chances are you're not using GIMP, you're using Adobe Photoshop. Adobe is a licensee of all the relevant patents, not that it's necessary since most houses will simply accept your PSD's (which format is doubtless protected by a suite of patents of its own).

      Either way, you're safe.

      --
      N4st0r, trixx0r h0bb1tz0rz! Th3y st0l3 0ur pr3c10uzz!
  18. My only question... by lacrymology.com · · Score: 2, Funny

    All I want to know is how will this effect my collection of mid-90s era pr0n?

    -m

    --

    #
    # Modus Ponens
    #
  19. jamie needs to hit the books. by Sheepdot · · Score: 3, Insightful
    So how about it, IBM? You've got nothing to lose!

    Why yes, nothing to lose. Which is exactly why you're practically begging them.

    ... though the consensus seems to be that IBM would lose any court action it tried to bring.

    No offense jamie, but you should really refrain from making things up like this. There is no one anywhere with any sort of legal background that would agree with this. Hell, it's probably libel to say that. It most assuredly is an outright lie.

    If IBM releases it, then that's great, but don't try to badger them into it.

    1. Re:jamie needs to hit the books. by julesh · · Score: 2, Insightful

      Actually, he's almost certainly right. Ask any patent attorney - they'll tell you that a patent that contains no actual invention (i.e. something that is possible using the method they suggest that wasn't before) cannot be enforced. If what is said is true (I read the Unisys patent a while ago, but haven't read the IBM one), then they don't have an enforceable patent.

      He's free to say that there is a concensus without providing links. The consensus could well have been between his two lawyer friends.

    2. Re:jamie needs to hit the books. by jamie · · Score: 4, Insightful
      "No offense jamie, but you should really refrain from making things up like this. There is no one anywhere with any sort of legal background that would agree with this. Hell, it's probably libel to say that."

      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.

  20. Am I missing something? by solarmist · · Score: 5, Insightful

    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
    1. Re:Am I missing something? by julesh · · Score: 2, Informative

      Because Unisys only ever threatened users of the GIF format with legal action; they considered other uses of LZW as acceptable.

  21. Re:IBM is NOT friendly by Anonymous Coward · · Score: 4, Interesting

    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.

  22. Re:PNG's..... by 91degrees · · Score: 2, Informative

    But GIF is the worst format for animations ever!

  23. IBM isn't going after anybody.. by k98sven · · Score: 3, Insightful

    I really doubt IBM is going to go after anybody.

    Unisys was collecting money on GIF licenses for years, if IBM wanted to capitalize on this, they would've sued Unisys back then.

    Besides that, there is good reason: It is, by all accounts I've read, the same algorithm.
    The Unisys LZW patent had even been granted before the IBM patent had been applied. It had priority by a mile. The IBM patent is simply worthless.

    Developers shouldn't concern themselves with bogus patents. I for one have written programs which save GIF files, and although I respect(ed) the Unisys patent, I'm not at all worried about the IBM one.

  24. Re:in any case by Anonymous Coward · · Score: 2, Informative

    Alpha channels are useful for antialiased drawings that are not dependant on a specific background.

  25. Re:Mod parent up! by Anonymous Coward · · Score: 2, Informative

    But Slashdot's current HTML isn't standard either. I've had modern browsers completely barf on some of the slashcode output, splitting the screen in half. They are still using the CENTER and FONT tags, and ANY properly-written older browser will ignore newer HTML or CSS stuff. If you are running a low end machine, stick with a properly written low end browser. Don't blame new standards for odd rendering in old, crappy browsers.

  26. Re:What have they got to lose... by FinestLittleSpace · · Score: 2, Informative

    AFAIK, lossless means that no matter how many times you RE-save an image, it doesnt lose image data; in which case, yes, a GIF IS lossless.

  27. SCO v IBM - This Patent Is Being Actively Used by yourruinreverse · · Score: 5, Informative
    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?

    Actually that patent is being used in IBM's (second amended) counterclaims in the SCO v IBM case.

    --
    JeR
    1. Re:SCO v IBM - This Patent Is Being Actively Used by Alizarin+Erythrosin · · Score: 4, Informative
      This is true. It is counterclaim #175:

      175. IBM is the lawful owner, by assignment, of the entire right, title and interest in United States Patent No. 4814746 ("the '746 Patent"), duly and legally issued on March 21, 1989 to Miller et aI., entitled "Data Compression Method". A copy of the ' 746 Patent is attached hereto as Exhibit X.

      176. Upon information and belief, SCO has infringed, contributorily infringed and/or actively induced others to infringe the '746 Patent within this judicial district and elsewhere in violation of35 U. C. 9271 by, without authority or license from IBM, (a) making, using, selling and/or offering to sell products, including Unix Ware and Open Server, that practice one or more claims of the '746 Patent and (b) actively, knowingly and intentionally causing and assisting others to infringe one or more claims of the' 746 Patent.

      While it would be nice for IBM to release the patent to the public domain, they would have to drop this particular claim from the SCO lawsuit if they did.
      --
      There are only 10 kinds of people in this world... those who understand binary and those who don't
    2. Re:SCO v IBM - This Patent Is Being Actively Used by drinkypoo · · Score: 3, Interesting

      While it would be nice for IBM to release the patent to the public domain, they would have to drop this particular claim from the SCO lawsuit if they did.

      I'm not sure that's true, but IANAL. The current status of the patent probably has little to do with the status of the patent at the time of infringement.

      It would probably reduce the amount of damages but would still achieve the primary purpose of making SCO burn through cash. We all know [or at lwast strongly suspect] that the total damages to IBM by SCO will far exceed the value of SCO...

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    3. Re:SCO v IBM - This Patent Is Being Actively Used by Citizen+of+Earth · · Score: 2, Insightful

      While it would be nice for IBM to release the patent to the public domain, they would have to drop this particular claim from the SCO lawsuit if they did.

      It might be strategic to drop that anyway, since it will be just about the only thing that SCO will be able to crow about winning when the case is over. Pushing an obviously bogus patent also brings suspicion on the credibility of all their other patents.

  28. Re:in any case by RazzleFrog · · Score: 4, Informative

    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?

  29. Except from what I've understood... by Kjella · · Score: 4, Informative

    ...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
  30. IE can work with PNG by Patik · · Score: 3, Informative

    Just use Sleight to make PNG transparency work with IE on your site.

  31. Re:PNG's..... by tuffy · · Score: 2, Insightful
    yes, and it's even less common used than png ... why create an extra format ?

    Animated GIFs are an ugly hack that the PNG people didn't want to repeat. Splitting animated and non-animated images into two formats was the right thing to do. Unfortunately, since MNG supports so many fancy features beyond just simple animations, its adoption has been virtually nil - unlike PNG which is widely supported even on Windows with IE (for the most part).

    --

    Ita erat quando hic adveni.

  32. Re:in any case by RazzleFrog · · Score: 2, Interesting

    Well I really don't have time to do 1000 logos and checking their file size. I can tell you from experience, though, that tranparency does not cause bloat. That was really my main point.

  33. Re:in any case by Ender+Ryan · · Score: 4, Insightful
    It supports PNG enough as to substitute GIF in any case.

    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
  34. PNG vs. JPEG by hey · · Score: 3, Interesting

    A while ago a told a colleague that PNG was the best format for loss-less graphics (not photos) and we should use PNG for an application.
    After all that the textbook line.
    But then he sent me a JPEG with the quality turn to max and it looked perfect and was way smaller than PNG. Do the textbooks have it all wrong?

    1. Re:PNG vs. JPEG by julesh · · Score: 4, Informative

      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.

    2. Re:PNG vs. JPEG by RAMMS+EIN · · Score: 4, Informative

      I'll bite.

      JPEG, like MPEG (and Vorbis, Theora, ...) 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.

      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.
    3. Re:PNG vs. JPEG by pclminion · · Score: 2, Informative
      But that didn't answer his question at all. He mentioned a specific example, and you give a textbook response.

      The question is, why not use JPEG if it results in smaller files and no visible artifacts? I think the answer to that question is, there IS no reason not to. If the compression fits your application, use it. Don't make decisions based on generalizations and textbook answers.

      Will there be artifacts? Perhaps. But what is relevant, of course, is whether they are perceptible, and beyond that, whether they are distracting.

      Don't just blindly follow rules of thumb. Do a real experiment, like the OP's colleague did. If a certain type of compression works best in your application, then use it. Don't discard options based on theory, especially when direct experience contradicts it.

      Oh, and a small nitpick: PNG is not optionally compressed. The compression is mandatory.

  35. Re:in any case by Venner · · Score: 4, Interesting

    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.
  36. Slashdot uses GIFs by klapton · · Score: 2

    If the PNG format is so much better, then why does Slashdot continue to use GIF images? I know this is trolling, but one would think a forum such as Slashdot would bestow the same ideals in its operation as it does in the stories it carries.

    1. Re:Slashdot uses GIFs by kodeman · · Score: 2, Insightful

      PNG vs. GIF

      Well, I can't speak for Slashdot or anyone else. But , in my experience, PNG is a great format suffering from a few problems not of the format's making.

      There is the infamous lack of alpha support in MSIE. That is fine. You can use 256 colors with 1 binary transparency color. Except, there is also the gamma correction problem.

      Gammas on different computers being different, the gamma correction in PNG is supposed to take care of inconsistencies, providing a correctly displayed image across the various displays. However, this is not the case. Because the gamma correction relies on correct interpretation of the gamma value (embedded in the PNG) by the display system in order to make the correction. Effectively, this makes it a suggestion, not the law. As we all know, this opens up a can of worms. As one might expect, some display systems handle the gamma correction correctly, most do not. The net result is that you get slight intensity differences in the color matching of the background and the 'transparent' color of your 256-color PNG. This makes a shoddy-looking block around your image. This is probably undesireable.

      GIF has no such correction scheme, but as such, triggers no mishandling of a gamma value. Instead, most display systems match the transparent value to the nearest color on the current palette. The result is (sometimes) a slightly off-color GIF. But, this is not a problem, since people detect differences in intensity of light, not subtle color change. The alterations go unnoticed. In Web browsers, the CSS color palette is (most often) used to do this color alteration. Hence, you get a GIF whose transparent color precisely matches the background it appears over. This is an advantage.

      For fairness in our consideration, there is still the fact that many times PNG can get smaller file sizes than GIF. But, there are other times GIF beats PNG. It's all a matter of the number of colors saved in the palette of the image and the level of dithering used to maintain the desired clarity of the image (because many dithering algorithms increase the amount of data saved per row of pixles in the bitmap, due to the way areas of like color are compressed).

      PNG vs. JPEG

      Now, there are many times PNG is smaller than JPEG. This is the case when large areas of the image are close in color and intensity. The bulk of the size in the PNG is reserved for the detailed areas. Given that PNG can be lossless, you can maintain a higher-quality image at a given file size than JPEG in these circumstances.

      However, JPEG excells in details.. and will usually beat a PNG for 24 bit images with low contrast or large areas of precision detail. JPEG can simply handle detail better, since PNG gains its greatest efficiency in storing and regenerating larger areas of like color and intensity.

      CONCLUSIONS

      So it comes down to this:

      * If you want transparent images for the Web that work in all browsers: GIF

      * If you want non-transparent images for the Web with large areas of like color or intensity and that work in all browsers: PNG

      * If you want non-transparent images for the Web with large amounts of detail and that work in all browsers: test between PNG and JPEG

      * If you want alpha-transparent images for the Web that work in all browsers: wait for hell to freeze over ;)

      ONE MORE THING...

      Oh, yeah. As for which format one should use -- its a matter of pragmatism. You may well decide that this is a FOSS vs. EvilEmpire thing, but most cannot afford the luxury of basing all of our decisions on politics/philosophy.

      In a slightly more perfect world where the formats are unencumbered by implementation and outside factors, many more people may well have been inclined to choose based on our personal convictions. The best one can hope for is that we put our convictions front and center when we do have a choice. I would like to think that when a JPEG and PNG are similar in file size and image quality FOSS supporters and other idealists would use the PNG on principle.

      OBLIGATORY WORDS OF WISDOM(?)

      Remember, nothing casts a greater shadow upon principle than pragmatism.

      Best Regards

  37. Re:What have they got to lose... by Azrael+Newtype · · Score: 2, Informative
    Ha, beat me to it by being more concise. And to think he got the informative mod. C'est La Vie

    To reiterate, GIF is essentially lossless, but only in two conditions: The image is less than 256 colors raw, or the image was a gif originally (basically the same condition.) Now, PNG is also lossless, and while GIF is still the most common standard, Mozilla supports PNG well, and IE pretends to support it resulting in an okay method, meaning it doesn't have to remain standard. After all, [intentionally ridiculous analogy]the horse and buggy was once the standard for transportation.[/intentionally ridiculous analogy]

    --
    I'm always right and I can prove it, because to the best of my knowledge, I've never been wrong.
  38. Alpha-Transparency by The-Bus · · Score: 4, Interesting

    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.

    1. Re:Alpha-Transparency by RAMMS+EIN · · Score: 2, Informative

      ``Basically it's just a much nicer version of GIF's transparency.''

      Or, actually, what GIFs have is transparency, whereas PNGs have an alpha channel, which allows for the specification of translucency - or opacity which is the opposite quality.

      --
      Please correct me if I got my facts wrong.
  39. LZW is USEFUL and NON-OBVIOUS by callipygian-showsyst · · Score: 4, Insightful
    It never really bothered me that these compression algorithms were patented.

    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.

    1. Re:LZW is USEFUL and NON-OBVIOUS by CoughDropAddict · · Score: 2, Informative

      Hello? People don't complain that LZW is obvious. They complain that Unisys sat on the patent for ten years while it found its way into standard data formats like gif and compress. Hence the term "submarine patent."

  40. hmm. by OS24Ever · · Score: 2, Insightful

    I for one am the first to admit I don't quite get all this 'patents are evil' that seems to come from Slashdot articles.

    A quick cursory overview of the patent link on IBM's patent doesn't say one thing about the GIF format, just the compression algorithm (with JCL code).

    What if this patent doesn't cover GIF at all, but a hardware implementation of compression on a hard drive, or a MO drive, or some other device? They can't exactly release all claims to it that easily.

    Just seems silly to 'call out' a company to release a patent. Contrary to popular belief the bigger companies out there can't turn on a dime and have hundreds of processes to do things to keep a rogue employee from releasing all claim to all patents or something crazy like that, so it could take them two years just to release something that's going to die quietly anyway.

    Also speculating on what a company will/won't do with a patent based on some arbitrary IANAL comment from the editor seems a bit risky. While IBM is into Open Source heavily they're not there to stop making their stockholders money either. Patenting things lets them do so.

    --

    As a rock-in-roll Physicist once said, No matter where you go, there you are.

    1. Re:hmm. by k98sven · · Score: 2, Interesting

      I for one am the first to admit I don't quite get all this 'patents are evil' that seems to come from Slashdot articles.

      It's not all patents, just software patents. It's debatable, but most programmers and OSS advocates are against software patents. Lots of info is available if you want to see where they're coming from.

      A quick cursory overview of the patent link on IBM's patent doesn't say one thing about the GIF format, just the compression algorithm

      No it doesn't. It covers the LZW algorithm. The most significant use of that algorithm today is in the GIF image format. It has been supplanted by better algorithms for general compression use.

      Just seems silly to 'call out' a company to release a patent.

      Not so silly, the patent is likely worthless since the same algorithm had already been patented by Unisys, and IBM probably knows it.
      (Although, as noted, it didn't stop them from throwing it into the mix against SCO, but then, why not? Additional counterclaims are cheap)

  41. Re:in any case by photon317 · · Score: 4, Informative

    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
  42. Re:PNG's..... by boutell · · Score: 5, Informative

    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/
  43. Intimidated? by Mr_Silver · · Score: 2, Insightful
    When the submarine patent surfaced ten years later, its new owner Unisys intimidated developers and web authors into moving away from GIFs

    Not very well I hasten to add, GIF's are still used rather a lot and even Slashdot hasn't bothered to convert all their images to PNG.

    --
    Avantslash - View Slashdot cleanly on your mobile phone.
  44. Improved JPEG compression possible, too! by Thagg · · Score: 4, Interesting

    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.
  45. Re:PNG's..... by TuxPaper · · Score: 2, Interesting
    MNG supports so many fancy features beyond just simple animations

    I'll expand on this statement a bit. MNG has so much extra stuff, it starts to feel like Flash animation. So, the question for designers becomes "is it a straight forward animation, or does it need some cool logic and effects?". The answer is either GIF, or Flash, respectively. MNG is not good enough for the 2nd choice, and overboard for the first choice. Sure, you can use MNG for the first choice, but then you feel dirty for not using it to its fullest potential. (Plus, as others have said, it's not supported by popular apps)

  46. Animations... by jefu · · Score: 2, Insightful
    And this is a bad thing?

    Native support in the browser for SVG and SVG animation would more than replace animated GIFs as well as providing lots of interesting capabilities that could be useful in other areas.

    Of course, that too would be left unused because IE doesn't support it (or worse yet IE would support some bizarre proprietary MS reworking of the basic ideas).

  47. oh well.... by zogger · · Score: 3, Insightful

    I guess me marching in civil rights demos and taking the gas was of no use, because in the practical real world, black people were treated as non human sub standard citizens, by the majority. I guess me marching in the anti war and anti draft marches was illogical, as you know it's the states right to concoct wars based on uttered untruths, and to place people into involuntary servitude in order to..push some agendas, and this was the default position of the majority at the time. I guess me demonstrating and lobbying against some corporate polluters was impractical, because at the time almost all the corporations just dumped whatever toxic waste they wanted to anyplace they felt like it. Over 95% of them did so. they were the "practical majority". You were going against the norm then if you sought changes or did something different, it was impractical to do so, you had to struggle harder in 'the real world" to make a point, your "side" was barely 5%, so we shouldn't have done that, according to your logic.

    You see, that was "the real world" back then, the "practical" world. It was "impractical" to go against thw societal norm, and in that case it was physically impractical, as you could have been gassed, beat, arrested, serve jail time, and etc. So heaven forbid you have some internet surfer be inconvenienced by a semi non standard format on your web page,you or your corporation might suffer some "inconvenience" in your profits or something. Your profits are obviously of more worth to you, so go ahead, protect your profits, that is your right.

    Let's always leave things exactly as they are now, let's none of us ever go against the norm, it is impractical, we might lose money,and as we all know, money is the most important thing in the known universe,95% of the people agree, nothing is as important as money, all other aspects of society should revolve around money, it's accumulation and restriction in as many diverse ways as can be imagined. Let's all "work" for a small number of large corporations, always seek to do those things that are dictated to us by our "betters" in those corporations and pseudo legitimate governmental agencies, because they, having the most money,and the most "practical" power and influence currently, must always surely know a better way to do anything, correct? I mean, they are the majority, so they must be "correct".

    1. Re:oh well.... by Throtex · · Score: 4, Funny

      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!

    2. Re:oh well.... by operagost · · Score: 2, Informative

      Somehow, your post reminded me of this.

      --

      Gamingmuseum.com: Give your 3D accelerator a rest.
    3. Re:oh well.... by valmont · · Score: 2, Funny

      eh ... dude ... when was the last time u got laid?

  48. what do you mean by 'better standard'? by OrangeTide · · Score: 2, Funny

    If PNG is so great why doesn't it support animation? And don't say MNG, because not even my fancy open source web browser supports them yet. JNG doesn't seem to be supported by my fancy browser either.

    --
    “Common sense is not so common.” — Voltaire
  49. It expired a year ago in the US anyway! by chopper749 · · Score: 3, Interesting

    From the GNU website...
    "We were able to search the patent databases of the USA, Canada, Japan, and the European Union. The Unisys patent expired on 20 June 2003 in the USA, in Europe it expired on 18 June 2004, in Japan patent expired on 20 June 2004 and in Canada until 7 July 2004. "

  50. who cares? by mqx · · Score: 2, Interesting


    The point is that once GIF was obviously encumbered, people developed and moved to new (and, in fact, better) technologies. You could argue that if it wasn't for GIF patent protection, we might have been lazier about moving forward with PNG, JPG or otherwise. I don't see that there is any "hell" going on here. I bet the majority of readers here have something to do with images on a day to day basis: tell me just what proportion of this involves GIF - in other words, apart from the nice ability to slag off patents again, just who in practice is inhibited by this?

  51. How to use Alpha-transparency by Nurgled · · Score: 2, Informative

    In some limited circumstances it's possible to use alpha-transparency while gracefully degrading in IE.

    For example, if you are using a solid-colour or almost-solid-colour partially-transparent image to achieve some kind of shading or tinting of the underlying background, you can do this and let IE display it as solid rather than transparent. People who only use IE will never know it was meant to be transparent and thus won't care.

    The major trip-up here is that IE renders alpha-transparent PNG onto an unpredictable background colour. However, you can bypass this by adding a background colour chunk (bKGD, or something like that; it's been a while) specifying which solid colour you wish IE to render to. It will then render to that color and create the image with that color "showing through".

    The limitations of IE's rendering are due to how IE was originally built to handle images. The image loaders hand the rendering component some kind of bitmap and a 1-bit transparency mask. This was a good choice at the time, but then alpha-transparent PNG came along, and since at the time GDI didn't have any mechanism to support alpha-transparency they just bodged it with the background color. At the time it didn't matter because no-one was using PNG anyway.

    The new version of IE will hopefully support alpha-transparency since as of Windows 2000 GDI supports 32-bit images with (alpha,r,g,b) components, and there's already a PNG loader in the gdiplus library, so supporting it will be pretty trivial.

  52. MNGs (Animated PNGs) and Mozilla by DVega · · Score: 4, Informative
    Mozilla used to support MNGs, but that support was removed in orther to reduce "cruft".

    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!
  53. No, they use this in the SCO case by r00t · · Score: 5, Interesting

    UnixWare's compress program (for *.Z files) is
    infringing on this patent.

    1. Re:No, they use this in the SCO case by Eunuchswear · · Score: 2, Interesting
      Ah, "UnixWare's compress program".

      This one?

      $ uname -a
      UnixWare xxxx 5 7.1.1 i386 x86at SCO UNIX_SVR5
      $ /usr/bin/compress -V
      $Header: compress.c 1.2 91/09/09 $, Berkeley 5.9 5/11/86
      Options: BITS = 16

      Looks like there might be a little colateral damage!

      --
      Watch this Heartland Institute video
  54. How do you pronounce "gif"? by hugesmile · · Score: 4, Interesting
    Found this on Usenet, proving that geeks have too much time on their hands:

    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!

    1. Re:How do you pronounce "gif"? by narcc · · Score: 2, Interesting

      How many people say My Es Que El?

      I do, for one. I just can't stand "sequel". It's like hearing nails on a chalkboard!

      I heard someone pronounce it "Squirrel" once. I wanted to slap them.

  55. Re:in any case by Anonymous Coward · · Score: 2, Funny

    Standard compliant xhtml, css, png. Clearly you're not a full time web developer. If you were, you'd have done it all in ugly flash!

  56. wimps by zogger · · Score: 2, Interesting

    you do realise I was commenting on the fact that sometimes it is better to do the currently impractical thing, if a long range better goal is of interest to you? I was using my examples, which are real, in an atrempt to literally shame some recognition and some minimal level of courage of this fact into people, to show that being afraid for your profits over such a trivial matter as a differing image format is..trivial. It is not any longer "inconvenient" in the slightest for any websurfer to stay stuck with a propietary web browser that seeks restrictions on what you use the web for, when the alternatives are at most three clicks away. It is short sighted stupidity. Even on dialup modems it is just not that hard to download and install a superior alternative. We used to have webpages that displayed a simple text message, such as "this website is optimised for.."such and such, usually a display resolution or a particular browser past a certain release number. There is no reason webpages can't be still doing that, and incorporating a link to a superior browser, superior in many ways in fact. You are doing your potential customers/visitors a favor by turning them on to a better web browser, as it is a more worthy goal to do so, if you are concerned with anything like a long term goal of improving the web in general. And to be afraid of a temporary loss of money for a longer term goal, one that will most likely make you more money in the future, is short sighted illogical business sense. If people can be impractically inconcnveninced to help bring about change for the better on very important topics,such as my original examples, than it is outright weenie cowardice to be "afraid to do it" on trivial matters such as politely informing your web page viewers they will get a better and more secure surfing experience by using a superior browser. If our society has de evolved into such ...outright cowardice and weenieness, than perhaps we deserve to be dictated to by a few corporations which seek to dominate everyone's computer experience. Perhaps people now are just so brainwashed to not go against the convenient norm that any deviation from that norm is just too scary for them to even contemplate, let alone implement. Yes, an image format is a trivial deal, that's why I was making righteous fun and using sarcasm and examples of other instances of going against the norm, the "practical real world", where it was of much more importance.

    To be afraid to suggest to someone, your web page viewer, that perhaps they would be better off with another browser because you might lose a sum of money, is to me, cowardice, and also a long range business impracticality. That is my opiniopn, others may have other opinions, but I'll call "weenie coward" and "bad long range business planning" when I see it, and in this case, I definetly see it.

    Here it is again, "weenie coward" and "bad long range business sense".

    No wonder we have so much political wrongness going on now. People are cowards on inconsequential things, calling it "impractical",so how are they going to deal with *important* consequential things? The answer is "they won't". Weenies. A society of cud chewing, mooing, herd following drones, taught to never think for themselves or to go against some artifical "norm" dictated to them by some greedy assholes and by insane governments. Order followers, content to be lead around by the nose, to always do what they are told to do, to accept a shit sandwhich and to be trained to repeat "mmm, mmm good!" every time it shows up on their plate. Weenies, lead around by the nose by a handful of big corporations and a corrupt bribed and blackmailed government. Wimps.

    And if your company/corporation/government insists you be a wimp or a coward or a retard, spit in their face and go do something else, that's what a real human with just a smidgen of integrity of courage would do.

    If that offends anyone, too bad, it was intended to shame and offend.

  57. Common standards are based on the 'consumer' by TS020 · · Score: 2, Interesting
    If everyone shared this point of view - we use it more often so it's a waste of time to use different standards - then we'd still be living in the middle ages (John Ashcroft is trying to take us back to it, but that's another issue).

    It is of utmost importance, that we, as the end user, voice our dissaproval of the inability of IE to display png's correctly by:

    1. Using nonproprietary images
    2. Using browsers that properly display nonproprietary images correctly.
    Without this, nothing will change. Because of the way the government is run these days, it is only a matter of time before the length on patents is extended by corporation force on the legislature (This hasn't happened in patenting, but I believe that it will, based on the copyright extensions that happened several years ago).

    Because of this, we need to practice what we preach. If we want the Web to be free (well ... whatever) and be able to develop our websites and whatnot without the fear of retaliation, we have to push the advancement.

    Konqueror and Netscape on Linux both display png images correctly. I guess I'm just trying to step out of the dark ages.

  58. Well, gee by rd_syringe · · Score: 2

    I traded email with several people who know the history of this algorithm and its patents fairly well.

    Typical Slashdot journalism. Unnamed people you e-mailed today who "know the history of this algorithm." That's certainly a good reason to go ahead and make such a legal claim.

  59. Re:Purpose of patents? by BlueWonder · · Score: 2, Informative
    A patent is open, so everybody can learn from it, but making money of it is limited to the patent holder.

    Actually, you cannot (legally) use a patented technology without permission from the patent holder, even if you don't make money from it.

  60. Indeed they do. by Xenographic · · Score: 4, Insightful

    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.

    1. Re:Indeed they do. by HaggiZ · · Score: 2, Informative

      IANAL, but my understanding of patent law is that when the patent is granted you must prosecute any infringements you are aware of. No getting to pick your battles. And you must file suit within a reasonable time period.

      Failing to do so voids your patent.

      At least, I'm almost certain that is how it works here in Australia.

  61. this is me going off topic by Snowmit · · Score: 3, Informative

    Item 2 has been shot down because the majority doesn't rule on matters of punctuation. (pronounciation?)

    Actually, the majority do rule on matters of pronounciation when it comes to English. The major linguistic project of English (the Oxford English Dictionary) is a descriptive not a prescriptive document. That means that once a significant minority of English users use or pronounce a word in a certain way, it'll get recorded in the dictionary.

    All this is just to say that both "jif" and "gif" are acceptable pronounciations of GIF.

    --
    I have a lot of opinions about Cyborgs and Architects
  62. It does, you just have to work at it by carou · · Score: 2, Informative

    You can indeed get IE 5.5 and above on Windows to display PNG images with alpha transparency, by using IE's built-in DirectX filters against themselves. For example:

    <div style =" width: 36px; height: 52px; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader (src='images/next.png', sizingMethod='scale', enabled='true'); display:inline-block"><img src="images/next.png" alt="IE-compatibility link" width="36" height="52" style="filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0) ;"></div>

    This doesn't interfere with other browsers which support PNG natively because they just see the standard IMG tag and ignore the filter stuff. Whereas on IE, the filter in the IMG tag prevents the (wrong) image from being displayed, and the one in the DIV tag actually does display it properly. Goodness knows why they make you jump through the hoops though; given the IE on MacOS just works, it's obvious that Microsoft as a company don't have a problem with understanding or implementing the specs. Do they just not share code between platforms in Redmond, or what?

  63. How to force IE to do PNG Alpha properly by chrish · · Score: 3, Informative

    And here is how you force IE into properly supporting PNG transparency.

    Works like a charm, doesn't introduce any MS "extensions" into your documents, and doesn't do anything if the user is smart enough to be using a web browser that actually supports standards.

    --
    - chrish
  64. Getting alpha transparency to work in IE by 5n3ak3rp1mp · · Score: 3, Informative

    This is actually doable, it's just convoluted and requires a browser-detect. I did this at a client last year. Google "alphaimageloader png internet explorer" for info.

  65. Re:Png: A Flash Killer? by Ctrl-Z · · Score: 2, Funny

    Forget Lynx; use Telnet instead. If the content is not readable it's probably not worth it anyway.

    --
    www.timcoleman.com is a total waste of your time. Never go there.
  66. Re:Patents are still ineffective by callipygian-showsyst · · Score: 2, Informative
    Here's an animation of how L-Z compression works.

    If you're smart enough to come up with the next great compression algoritm, I encourage you to do so!

  67. This is why gzip exists by r00t · · Score: 2, Insightful

    The very oldest Linux-related archive files
    are often in the UNIX compress *.tar.Z format.
    People at the Free Software Foundation saw this
    to be a problem for their GNU system project,
    so they had the patent-free gzip program written.

    The *BSD projects essentially beg for a lawsuit.

    BTW, the original bzip (not bzip2) and the better
    type of JPEG compression both infringe on a
    different IBM patent. That's the one we should
    want to have opened. IBM would even gain some
    licensing fees if they did a GPL-only license
    for it.

  68. Transparency not a *required* part of PNG by maggard · · Score: 5, Insightful
    Its become received wisdom the IE6 sux for (among other reasons) "not supporting PNG".

    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.
  69. IE only has an 80% market share -- and shrinking. by AJWM · · Score: 3, Insightful

    According to the stats at this link (thanks to an earlier poster), IE share is declining, with IE6 being only 72% and IE5 just over 8%. Mozilla (>12%) makes up most of the rest, with Opera, Netscape and others trailing.

    The 95% figure may be the Windows share of the market (more like 94.5% by that link), but not everyone using Windows uses IE. (If I'm setting up a desktop that has to have Windows, Mozilla is the first app I load on it, and then remove the IE icon from the desktop.)

    The recent notices from Homeland Security about IE being unsafe will only accelerate this.

    --
    -- Alastair
  70. IBM uses it's patent portfolio defensively by laika$chi · · Score: 2, Interesting

    Mostly, IBM uses it's patent portfolio defensively - just to allow it to do anything it wants without fear from some ridiculous lawsuit. Though I am sure they sue egregious offenders offensively, I don't think I've heard of any high-profile case like on-click or the like with IBM at the plantiff's table.

    Marc

  71. Re:No process within IBM by God+of+Lemmings · · Score: 3, Insightful

    I doubt that something like this may be the case, but it does sound quite possible. However I don't feel that they would be willing to let this go.

    I have heard that IBM uses its large warehouse of patents purely as a method of protecting itself from lawsuits. Upon digging around a bit, I found that IBM had done the same thing to Sun that it is now trying against SCO.

    http://www.forbes.com/asap/2002/0624/044.html

    The number of patents that IBM has surely must number in the millions by now. I wouldn't be surprised if they had patented parts of most of what you see in the computer world these days. Either that or have patents on its prior art.
    I find it unlikely that IBM would really want to go to the effort of launching lawsuits against nearly everybody and everything that ever touched code and become another SCO.

    We've also already heard that IBM does not prosecute their patents against open source developers.

    http://bca.cryst.bbk.ac.uk/bca/cnews/2003/MAR03/ LC link.htm

    So I really have no problem with them sitting on it and suing other companies that try and leverage it as intellectual property against them.

    --
    Non sequitur: Your facts are uncoordinated.
  72. Those are server-side technologies, bub by sideshow · · Score: 2, Informative

    The browser could never know if ASP or JSP or neither was used.

    --

    Hollow words will burn and hollow men will burn.

  73. PNG Standard Hypocrisy by AntiMac · · Score: 3, Insightful

    a better standard (referring to PNG) , though sadly still a less popular one

    Not that I'm trying to be flamebait for OSDN, but the very icons applied to this article (in the upper-right corner) are none other than the very GIF standard that was put down in this article. Just thought I'd point that out.

    --
    ========== .sig
    Intelligence should not be rewarded; ignorance should be punished
    ==========
  74. A little opinionated there, lol by ^_^x · · Score: 2, Informative

    GIFs can be used properly to good effect. Just don't convert a high-color picture to GIF automatically. *shrug* Much the same way you could compress an AVI in 16 colors then say AVI sucks.

  75. sue anyone that uses GIF by CAIMLAS · · Score: 2, Funny

    IBM should sue anyone that uses GIF, simply on principle of it being an old, tired format. What's the benefit of GIF? Only thing I can think of is low-color strobing ads. Yeah, great benefit.

    Instead of do anything with the patent, IBM should make note of the patent, and then tell people that PNG is better... or something like that.

    --
    ~/ssh slashdot.org ssh: connect to host slashdot.org port 22: too many beers
  76. Full-Alpha PNG in IE without changing all IMG tags by santiago · · Score: 2, Informative
    Several people have posted workarounds to enable the full-alpha support of PNGs under IE, but all the ones I saw require changing each and every image tag that points to a PNG. The following chunk of JavaScript takes care of all PNGs without any other changes to the HTML source. (Like other methods, it requires a 1 x 1 pixel transparent GIF image as a placeholder.)
    if (navigator.platform == "Win32" && navigator.appName == "Microsoft Internet Explorer" && window.attachEvent) {
    document.writeln('<style type="text/css">img { visibility:hidden; } </style>');
    window.attachEvent("onload", fnLoadPngs);
    }

    function fnLoadPngs() {
    var rslt = navigator.appVersion.match(/MSIE (\d+\.\d+)/, '');
    var itsAllGood = (rslt != null && Number(rslt[1]) >= 5.5);

    for (var i = document.images.length - 1, img = null; (img = document.images[i]); i--) {
    if (itsAllGood && img.src.match(/\.png$/i) != null) {
    var src = img.src;
    img.style.width = img.width + "px";
    img.style.height = img.height + "px";
    img.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoade r(src='" + src + "', sizingMethod='scale')"
    img.src = "/blank1x1.gif";
    }
    img.style.visibility = "visible";
    }
    }