Slashdot Mirror


Presenting APNG: Like MNG, Only Better

An anonymous reader writes "It's fair to say that most people love PNG images (or at least hate GIFs). However, the one advantage GIFs have over PNGs is that they can be animated. There is, of course, an animated version of PNG, MNG, but few programs can view these images (mainly because the MNG decoder is so large that the likes of Mozilla refuse to include it). But there may be an answer coming: Vladimir Vukicevic and Stuart 'Pavlov' Parmenter (of Mozilla fame) have put together a specification for APNG (Animated Portable Network Graphics)." (Read more below.)

"Unlike MNG, APNG is not a separate file format, but rather an extension to PNG. Thus, APNG images are just normal PNG images (with the .png extension) but can be animated. The system is fully backwards-compatable, so any program that can open a PNG image will be able to open an APNG image (though non-APNG viewers will only show the first frame). Vitally, the decoder just adds an extra few kilobytes onto a standard PNG decoder. APNG support is in the process of being checked into Mozilla. Hopefully, other programs will follow suit."

424 comments

  1. Too bad we can't use it by Anonymous Coward · · Score: 5, Funny

    IE won't support it until 2012, and even then, it'll only support half the features.

    1. Re:Too bad we can't use it by Epistax · · Score: 1

      But it'll add many new ones! Of course the number of new ones will essentially be the same as the excluded ones, but with a better standard.

    2. Re:Too bad we can't use it by Anonymous Coward · · Score: 0

      I agree. I ran it in IE the other day, and it only displayed every second frame.

    3. Re:Too bad we can't use it by Daniel+Ellard · · Score: 4, Insightful
      IE won't support it until 2012...

      Sarcasm aside, this is a valid point. If IE doesn't support it, most authors won't use it on their web pages, and there aren't any IE updates scheduled any time soon...

      --
      Disclaimer: I work for a company, but I don't speak for them.
    4. Re:Too bad we can't use it by john_smith_45678 · · Score: 2, Funny

      and even then, it'll only support half the features

      You optimist ;P

    5. Re:Too bad we can't use it by gusgizmo · · Score: 0

      ~50% of the traffic on my site is from non-IE browsers. I have personally converted 30% of my forum members from IE. So now I have the discretion of choosing what format I use. Guess what it is? PNG. GG microsoft.

    6. Re:Too bad we can't use it by cgsamurai · · Score: 0

      Actually, IE already supports it.... ...through Flash though:)

    7. Re:Too bad we can't use it by josh3736 · · Score: 3, Informative
      Much like regular PNGs as it is.

      I hate the fact that when IE loads my PNGs with alpha it gives it an ugly solid bluish background. You have to hack it just to get my damned images to display correctly in IE. As a result, no one uses regular PNGs.

    8. Re:Too bad we can't use it by Anonymous Coward · · Score: 0

      What he means is that it'll support all the features, but only some random 50% of the code for each feature will be written.

    9. Re:Too bad we can't use it by talaphid · · Score: 1

      Half the features:

      Will support displaying an image

      Will not support cycling it.

    10. Re:Too bad we can't use it by Matt+Moyer · · Score: 1

      Seriously though, one cool part of the spec is that it's backwards compatible with regular PNG so any PNG-complient viewers will just display the first frame of the animation. It might not be acceptable for all applications, but it would be for most.

    11. Re:Too bad we can't use it by Ark42 · · Score: 4, Informative



      If you don't want to use the ugly IE5.5+ hack for alpha PNGs, you can at least set the background color setting in the PNG, which IE will use to blend into. I think you can set the background color tag from a pngcrush command line parameter if your software doesn't support that feature.

      For example alpha-msg.png should show a message written in magenta (the background color) if your browser blends using the background color of the PNG instead of the background color of the page. If your background color is white, you won't see any message if you are using Mozilla/Firefox/Opera. If you put that image in a div with a white background and use a IE5.5+ alpha hack of some sort, the image's message actually makes sense too.

    12. Re:Too bad we can't use it by rjch · · Score: 3, Interesting
      IE won't support it until 2012, and even then, it'll only support half the features.

      (sarcasm)You think it'll be that quick, do you?(/sarcasm)


      All jokes aside, I wouldn't be so sure of that. If FireFox and Mozilla make as much inroads into the browser market as some people think it will then Microsoft will either have to pull their finger out and keep IE up-to-date and standards-compliant or drop out of the market - something I seriously doubt will happen.


      FireFox is already a long way there. One department at work got so sick of the pop-up infested site they needed to use for some of their work that they demanded something be done about it. Our MIS deparment said nothing could be done until I suggested (and proofed) FireFox. Now it's a standard browser for that department and is being looked at for the rest of the organisation as well.

    13. Re:Too bad we can't use it by Anonymous Coward · · Score: 0

      exactly, even PC Magazine is suggesting alternatives to I.E. now. Why? because it just makes less sense for the consumer to keep I.E. when there are free alternatives. Trust me the numbers of the discontented are on the rise. A lot of my college friends use opera or foxfire. (Saddly I still can't convince my old school dad to switch)

    14. Re:Too bad we can't use it by Dwonis · · Score: 1

      Maybe IE won't support it until 2012, but hopefully IE will be irrelevent to web developers by 2007.

    15. Re:Too bad we can't use it by Inominate · · Score: 1

      This is a half-truth.

      IE does not support the alpha channel in PNG's.
      IE _DOES_ support indexed transparency.

      So all of the features of gif(minus animation) are available with PNG's under IE. Many of the more advanced features of png remain unsupported under IE, but using that as an excuse to cling to the gif is silly.

    16. Re:Too bad we can't use it by WalksOnDirt · · Score: 1

      I am using Firefox, and the message shows up for me. This is the sort of thing I would find very confusing if I saw it while browsing.

      I suppose this because I have my background color very dark and my text color light. I really don't see how people can tolerate this dark text on a white field standard that all the GUIs use.

      --
      a,e,i,o,u and sometimes w and y (at be if of up cwm by)
    17. Re:Too bad we can't use it by It'sYerMam · · Score: 2, Funny

      Never heard of ink and paper than? Naa, too bad.

      --
      im in ur .sig, writin ur memes.
    18. Re:Too bad we can't use it by rikkus-x · · Score: 1

      The text on the image claims it isn't visible on IE 5.5 or higher, but it shows up on IE 6.

      Rik

    19. Re:Too bad we can't use it by Kent+Recal · · Score: 1

      IE _DOES_ support indexed transparency.

      Last time I tried it didn't.
      Does it need some kind of sick css-kludge or something?

      I eventually went back to .gif and expect to stick with them for another few years. Just don't want my visitors to see ugly blocks where it's supposed to be transparent. - No matter what broken version of IE they happen to be using...

    20. Re:Too bad we can't use it by Baki · · Score: 1

      Just put a "designed for any browser except IE" on your page.

    21. Re:Too bad we can't use it by Moderatbastard · · Score: 1
      Never heard of ink and paper than? Naa, too bad.
      I seem to remember my grandmother mentioning them ... were they something to do with the second world war?
      --
      1/3 of jokes get modded OT. If you get the joke, mod 1 in 3 insightful/interesting/underrated to restore karma balance.
    22. Re:Too bad we can't use it by Anonymous Coward · · Score: 0

      I don't give a shit. I wont design my website around the requirements of Lynx users, why should I design my website around the requirements of Internet Explorer users? I just stick to standards, and if a certain browser happens to be broken then tough shit; either get a better browser or tell your vendor to fix their bugs. Why cave to user apathy?

    23. Re:Too bad we can't use it by legirons · · Score: 1

      "IE won't support it until 2012, and even then, it'll only support half the features."

      Yeah, but by then IE will have become so insecure that someone will have written a virus that deletes it and installs mozilla, just to protect their servers from the ten-billionth attempted MySQL exploit.

    24. Re:Too bad we can't use it by Anonymous Coward · · Score: 0

      Just put a "designed for any browser except IE" on your page.

      Hey, IE isn't the only browser out there that doesn't support PNG transparency!

      Think of us poor Lynx users, will ya?!

    25. Re:Too bad we can't use it by dastrike · · Score: 2, Informative

      See for yourselves.

      IE supports the 1-bit transparency in 8-bit indexed PNGs. The problem with this transparency method is that it is the same way GIF uses transparency, which results in ugly jaggies in most cases.

      IE does not support the alpha-channel transparency in 32-bit RGBA PNGs without using the fugly proprietary CSS mess that invokes some DirectX stuff to make the transparency work.

      --
      while true; do eject; eject -t; done
    26. Re:Too bad we can't use it by Kent+Recal · · Score: 1

      Well, I'm not sure which version of IE I tried (used some wintendo box at work) but as long as there are older IE-versions in use that don't support even 1-bit transparency I see no point in deploying transparent pngs. Unless you don't care about IE-users at all.

    27. Re:Too bad we can't use it by jc42 · · Score: 1

      If IE doesn't support it, most authors won't use it on their web pages,

      Well, that's good. Now if there were a reliable way to turn off "active" images of other types.

      With mozilla, I've found that after I've gotten my usual flock of windows up after the latest mozilla crash, it tries to use at least 90% of the cpu. I then turn off everything "active", including changing images, and its cpu usage drops to around 10%. This is still too much cpu for a supposedly-idle process, but it does let other programs run.

      OTOH, it seems that firefox has nothing like this. If it does, I can't find it. So all its active images stay active and soak up cpu time. So those ads on all the news/blog sites completely soak up your cpu, even if firefox is "idle", and there's nothing you can do about it except shut down firefox and start from scratch. (Just closing those windows has a small effect, but even when I get it to just a single empty window, firefox still grabs 20% to 30% of my cpu. Anyone know what it's so busy doing when it'd "idle"?)

      It would help a lot if there were some way to globally stop all "active" images. I'd like my cpu back!

      (One cool thing that mozilla has is a "once through" setting for images. I haven't found this on any other browser, and it really helps free up the cpu, while letting you see such things when you download them and are actually looking at the window. I wonder if firefox will ever pick this up?)

      --
      Those who do study history are doomed to stand helplessly by while everyone else repeats it.
    28. Re:Too bad we can't use it by Ark42 · · Score: 1


      Exactly like I said, if your background color is not white, it will show up. Put the png in a div or span with a white background and apply the IE5.5+ hack and the message makes sense. The point is the png uses #ff00ff as the background color, and IE/NS4/etc that do not support true alpha transparency will typically blend the alpha into the background color specified in the png.

    29. Re:Too bad we can't use it by Ark42 · · Score: 1


      Read my message again. You are just looking at the png without the IE hack or even in a background thats guaranteed to be white.

    30. Re:Too bad we can't use it by CmdrTHAC0 · · Score: 1
      (One cool thing that mozilla has is a "once through" setting for images. I haven't found this on any other browser, and it really helps free up the cpu, while letting you see such things when you download them and are actually looking at the window. I wonder if firefox will ever pick this up?)

      Enter "about:config" in the location bar, click the filter box, enter "anim", wait a second. You should get the single result "image.animation_mode". Right-click that line, select "Modify", enter "once" in the box, and click "OK". Voila! Any future windows/tabs opened will only loop images once, and this is saved in your profile automagically.

      Having to use about:config sure sucks. I'd fix it, but the developers won't listen to anything regarding their lame decisions because they're the almighty "professional" UI designers.

      --
      __CmdrTHAC0__
      In Soviet Russia, Spanish Inquisition doesn't expect YOU!!
    31. Re:Too bad we can't use it by jc42 · · Score: 1

      That's really bizarre! And when I clicked the OK button, a litte white box appeared over the "image.animation_mode" text, and a spinning "busy" thingy appeared for the pointer. The cpu was pegged, with firefox the top process. This lasted for 15 to 20 minutes, nothing ever appeared in that white box, and then suddenly it all cleared up. So maybe it worked. I'll do a bit of checking. I do notice that firefox is still using 20% - 25% of the cpu, but that's better than the roughly 50% before.

      Sure is a strange way to do it. I don't think there's any chance I'll remember it if I ever need it again.

      I wonder if any of this is documented. Or do you just play with it until you get an inkling of what it's doing? (Like the way you learn things on Windows. ;-)

      --
      Those who do study history are doomed to stand helplessly by while everyone else repeats it.
    32. Re:Too bad we can't use it by Eideewt · · Score: 1

      I for one, don't. That would change in a hurry if I were making a web site or an image that actually needed to be accessible to the unwashed masses, but, as matters stand, I figure that the best thing to do is follow my .png-ish whims. I'd encourage others (if they asked me) to do so as well in their personal pages and such. My theory goes that while people will simply be annoyed when a page they must visit (some company's web page, maybe) looks bad, they may actually be upset when something they actually want to look at is corrupted. I admit, it may not be accurate to assume that people do want to look at what I produce, but someone must.

    33. Re:Too bad we can't use it by CmdrTHAC0 · · Score: 1

      I haven't seen any documentation on it. I saw the news when it was checked in, and it comes up on the Mozillazine forums from time to time. Other than that, it's fairly secret.

      --
      __CmdrTHAC0__
      In Soviet Russia, Spanish Inquisition doesn't expect YOU!!
    34. Re:Too bad we can't use it by Anonymous Coward · · Score: 0

      Paper doesn't emit enough light to light up the entire room. The screen does.

      Black text on a white screen is somewhat like trying to read the watt rating of a light bulb without turning it off.

  2. The burning question is... by whiteranger99x · · Score: 5, Insightful

    how soon will such functionality be implented in major graphic manipulation programs like Photoshop?

    Oh, and yeah, I'm sure someone will make it work with The Gimp, so don't flog me over that detail. :P

    --
    Join the TWIT army now!
    1. Re:The burning question is... by Anonymous Coward · · Score: 1, Insightful

      Photoshop was never interested in the animted things, it didn't even support animated GIFs. I guess you meant Adobe's ImageReady.

    2. Re:The burning question is... by whiteranger99x · · Score: 1

      Shucks, you're right, I did mean ImageReady:)

      I must've been thinking of how IR and PS "integrates" with one another

      --
      Join the TWIT army now!
    3. Re:The burning question is... by Anonymous Coward · · Score: 0

      I'm sure someone [else] will make it work

      That's the old Open Source community spirit!

  3. It's all about Microsoft by screwedcork · · Score: 4, Interesting

    Microsoft holds the power in their hands as to what file formats become standards. Hopefully they'll make the right decision...

    1. Re:It's all about Microsoft by rubz · · Score: 1

      They will probably slightly alter it and then call it their own "amazing" new technology which "enhances your quality of life!"

    2. Re:It's all about Microsoft by extra+the+woos · · Score: 1

      they might sorta hold the power, because people say they do.. but its pretty much changed... i promise if everyone started making web pages that only displayed right in mozilla variants, the whole web would switch...

      EVERYONE i know uses firefox... my mom and dad use firefox since i got it for them.. the guy down the road that doesnt even know the difference between memory and disk space uses mozilla.... /shrug...

      --
      replacing it with NEW Folger's Crystals! (lets see if they notice the difference)
    3. Re:It's all about Microsoft by Anonymous Coward · · Score: 0

      Yeah, cuz without Microsoft we'd never be using SWF, PDF, MP3...

    4. Re:It's all about Microsoft by Anonymous Coward · · Score: 0

      "Hopefully they'll make the right decision..."

      I'm sure we can all trust MS to make the "right decision", when it comes to open standards... Coincidentally, when you said "right decision" you did mean whatever makes MS the most amount of money regardless of ethics or any notion of a social contract right?

    5. Re:It's all about Microsoft by Eideewt · · Score: 1

      What? There is no life without Windows Media PNGs! They're the first museum-quality image format.

    6. Re:It's all about Microsoft by Eideewt · · Score: 0, Offtopic

      I'm trying to picture a valid flame. I haven't got it yet, but give me a minute.

  4. WIP by Mekabyte · · Score: 5, Informative

    Discussion can be found here: http://bugzilla.mozilla.org/show_bug.cgi?id=257263

  5. Don't hate it by andyrut · · Score: 4, Insightful

    It's fair to say that most people love PNG images (or at least hate GIFs).

    Now that Unisys's patent has expired across the globe, I certainly don't hate GIFs.

    1. Re:Don't hate it by Anonymous Coward · · Score: 4, Informative

      Why not? They're generally bigger than PNG, don't support 24-bit color, 8-bit transparency, etc.

    2. Re:Don't hate it by Ark42 · · Score: 3, Interesting


      I'll give you the transparency (which IE does not support on PNG without gross hacks) but GIF supports infinite colors basically, in increments of 256.
      gif-with-32697-colors

    3. Re:Don't hate it by rolocroz · · Score: 1

      ...supported by Internet Explorer...

      --

      I meta-mod all positive moderation Unfair, because it's abuse of the system.

    4. Re:Don't hate it by Anonymous Coward · · Score: 0

      Bullshit. Usually they're smaller than PNGs, even when using special command line utilities to squeeze the last bit out of those PNGs. Yes, GIF doesn't support 24bit color or a real alpha channel, but for many if not most animations it's quite the real thing.

    5. Re:Don't hate it by Anonymous Coward · · Score: 1, Informative

      Not true. Photoshop and other programs may created bloated PNGs, but PNGOUT can slim them right down. The only time GIFs are smaller are very small images (a few pixels) due to the overhead of the headers.

    6. Re:Don't hate it by Coneasfast · · Score: 1

      also, using optipng you can make it smaller, so png's are almost always smaller (fair comparison is if they are both 8-bit since that's only what gif supports)

      --
      Marge, get me your address book, 4 beers, and my conversation hat.
    7. Re:Don't hate it by bofkentucky · · Score: 4, Informative

      Can someone mod the parent down, PNG and Gif are both lossless (If you are talking about a 256 color (8 bit) palette.

      --
      09f911029d74e35bd84156c5635688c0
    8. Re:Don't hate it by Ziviyr · · Score: 1

      16,777,216 != infinity :-)

      --

      Someone set us up the bomb, so shine we are!
    9. Re:Don't hate it by anethema · · Score: 1

      Yeah sorry...Mod me down -1 idiot ;)

      GIF is lossless.

      --


      It's easier to fight for one's principles than to live up to them.
    10. Re:Don't hate it by name773 · · Score: 1

      that looked really cool while it was loading, it loaded in square chunks :)
      (konqueror)

    11. Re:Don't hate it by X_Caffeine · · Score: 5, Interesting

      Why not? Alpha blending allows web developers to make fine adjustments to page layouts with necessitating the "recutting" of overlapping layers in Photoshop. It also allows for variance in browser layout without causing visible breaks -- thus Mozilla and KDE don't need to render "exactly" like MSIE down to the last pixel in order for layouts to basically look the same.

      GIF is gunk. Can we step into the 21st century yet?

      --
      // I will show you fear in a handful of jellybeans.
    12. Re:Don't hate it by Anonymous Coward · · Score: 0

      As said in my original posting, I already used various programs including PNGOUT, but the resulting file was already bigger than the GIF. While the image wasn't screen-filling it wasn't that small.

    13. Re:Don't hate it by cheekyboy · · Score: 1

      in my previous company, we used the gif codec in our application for 6 years, not that we cared about the patent at all, what patent? :) we were too small to be found out any way ( ~10000 customers ) Maybe since I dont work for those sorry-asses anymore, should I notify unisys? :)

      --
      Liberty freedom are no1, not dicks in suits.
    14. Re:Don't hate it by Anonymous Coward · · Score: 0

      since when is 32697 an increment of 256?

      and btw, i never knew gifs could support more than 256 colors.

    15. Re:Don't hate it by Anonymous Coward · · Score: 0

      Somewhere I can grab it and try?

    16. Re:Don't hate it by Anonymous Coward · · Score: 0

      That's because it's animated, you idiot.

    17. Re:Don't hate it by Clockwurk · · Score: 1

      I think it is an animated gif... Loading in FF did the square loading trick and setting it as my desktop in windows made it render the same way.

    18. Re:Don't hate it by Anonymous Coward · · Score: 0

      What?

    19. Re:Don't hate it by damiam · · Score: 2, Insightful

      And that's not a "gross hack"? It takes eons to load and is 9 times the size of the equivilent PNG.

      --
      It's hard to be religious when certain people are never incinerated by bolts of lightning.
    20. Re:Don't hate it by david.given · · Score: 4, Interesting
      and btw, i never knew gifs could support more than 256 colors.

      It's a very neat trick. I remember marvelling at it the last time it came round.

      It works because each frame in an animated GIF has its own palette --- but that palette doesn't have to match the palette in the other frames. So the first frame draws the first 256 colours, then the second frame draws the next, etc. The test image has been slowed down so you can see it load.

      Of course, it's not actually useful --- the resulting image is far larger than, say, the PNG version --- but it's a clever hack anyway and I wish I'd thought of it...

    21. Re:Don't hate it by Anonymous Coward · · Score: 0

      he never said 256 color, so in this case he is correct, gif is not lossless.

      back in the old days it was considered lossless before the time of 24-bit technology

    22. Re:Don't hate it by mgv · · Score: 5, Informative

      16,777,216 != infinity :-)

      Actually, there is no point getting an infinite number of colours because:

      1) Most displays cannot show that many colour
      2) Even with a display that does 16 777 216 colours, the human eye cannot distinguish between that many shades (particularly in the blue region) which is why 16 bit colour (which has 5 + 6 + 5 bits to divide amongst the red, green & blue) puts the extra information into the green (I think, could also be red, but its never the blue)

      3) Most RGB displays, while they have gradations finer than the eye can distinguish, cannot show the full spectrum in width (from 400nm to 700nm wavelengths). You can put as many bits as you want on to any consumer display, there are colours it simply cannot do.

      4) Humans vary in their ability to see colour, making alot of the finer gradations imprecise. 8% of males have altered colour vision - as do a small percentage of women and those bits are really wasted on them. On the other hand, if you have had cataract surgery, the implantable lens will let in low end ultraviolet (which your retina can see) that our natural lens does not allow through. Not that I'm suggesting that it is good to see into the UV range :)

      My 2c worth

      Michael

      --
      There is no cryptographic solution to the problem where the intended receiver and the attacker are the same entity.
    23. Re:Don't hate it by rlmassie · · Score: 1

      It's lossless except when it isn't. You can set lossy encoding in photoshop for 8 bit (look at the save to web option). Though, it does look like someone took a key and scratched all over your image.

    24. Re:Don't hate it by tyler_larson · · Score: 2, Insightful
      Why not? Alpha blending allows web developers to make fine adjustments to page layouts with necessitating the "recutting" of overlapping layers in Photoshop. It also allows for variance in browser layout without causing visible breaks -- thus Mozilla and KDE don't need to render "exactly" like MSIE down to the last pixel in order for layouts to basically look the same.

      Yes... now if only MSIE would correctly render alpha transparency in PNGs (without resorting to absurd coding tricks).

      --
      "With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea...."
      RFC 1925
    25. Re:Don't hate it by ca1v1n · · Score: 1

      When doing BW conversions from RGB, all you do is multiply R by .29, G by .60, and B by .11 This roughly corresponds to the sensitivity of the human eye. 16-bit color is pretty much always 5-6-5. 8-bit color is sometimes 3-3-2, but having a 256-entry lookup table isn't really that expensive. Of course, this can lead to some pretty nasty side effects, like the color palette issues in some implementations of X, as the active window gets to set the palette for everything on the screen. It's really annoying when you want to get work done, but it's also kind of fun in the same way that pressing F9 over and over with Expose on a Mac can be.

    26. Re:Don't hate it by Anonymous Coward · · Score: 0

      >> And btw, i never knew gifs could support more than 256 colors.

      You can do a similar thing by storing each of the RGB channels as a separate grayscale frame in a GIF.

      Only problem is, the person receiving it has to have Photoshop (or similar) to glue the channels back together by hand! ;)

    27. Re:Don't hate it by josh3736 · · Score: 0
      PNG and Gif are both lossless (If you are talking about a 256 color (8 bit) palette.

      At this day in the age of pretty high-color widgets and whatnot, I would definately call only 256 colors lossy. No one is limited to a 256 color display anymore. Even my phone has 65K colors (and supports PNG!). 24bit+8alpha is just about required now for your graphics to look good and fit in with the OS.

    28. Re:Don't hate it by simcop2387 · · Score: 1

      did you make sure the png was also 256 colors?

    29. Re:Don't hate it by jericho4.0 · · Score: 2, Funny

      Your original posting? Oh! You're that Anonymous Coward character.

      --
      "A language that doesn't affect the way you think about programming, is not worth knowing" - Alan Perlis
    30. Re:Don't hate it by jericho4.0 · · Score: 1

      Who's talking about an 8-bit palette? Pretty much the only reason to work in 8 bit anymore is to make gifs for IE.

      --
      "A language that doesn't affect the way you think about programming, is not worth knowing" - Alan Perlis
    31. Re:Don't hate it by TelJanin · · Score: 1

      Maybe, just maybe, because it's animated.

    32. Re:Don't hate it by damiam · · Score: 4, Insightful

      The point is that it's not possible to do that in a GIF without animation, so anything >256 colors would have to be animated. I think it's fair to call that a hack.

      --
      It's hard to be religious when certain people are never incinerated by bolts of lightning.
    33. Re:Don't hate it by Anonymous Coward · · Score: 0
      At this day in the age of pretty high-color widgets and whatnot, I would definately call only 256 colors lossy.

      In this context, "lossless" simply means the decoder for your compression method gives you back exactly what was put in, and "lossy" doesn't.

      Yes, an indexed color palette can be "lossy" in the context of color spaces, but not always-- it depends on the image.

      I think it's better if we keep the term "lossy" in reference to compression, and not to image quality.

    34. Re:Don't hate it by haruchai · · Score: 1

      I think that the RIAA has proven that no-one is too small to be found out.

      --
      Pain is merely failure leaving the body
    35. Re:Don't hate it by josh3736 · · Score: 1
      In this context, "lossless" simply means the decoder for your compression method gives you back exactly what was put in, and "lossy" doesn't.

      But that's just the thing -- GIF compression doesn't give me back exactly what I put in.

      My point is that in today's computer graphics world, where everything is antialiased and has shadows and gradients, 256 colors just doesn't cut it unless your image is tiny or is solid.

      If there's one thing I can't stand, it's when someone saves a photograph as a GIF. *shudders* ...it just looks so awful...

    36. Re:Don't hate it by Anonymous Coward · · Score: 0

      >> But that's just the thing -- GIF compression doesn't give me back exactly what I put in.

      Yes, it does-- you put in a 256-color image, and LZW compresses it losslessly in the GIF.

      Read the parent post again, and try to comprehend it this time!

    37. Re:Don't hate it by elegie · · Score: 1

      Though the Unisys patents concerning the GIF format have expired, there is still the IBM patent and there might be other patents elsewhere. The Free Software Foundation still has no GIF images on their site as of June 21, 2004 and they seem to consider the IBM patent (which expires on August 11, 2006) to be an issue. Also, the FSF says that they have only checked for patents in the USA, Canada, Japan, and the European Union as of June 21, 2004.

      The GIF format will likely be remembered as a format which unexpectedly became encumbered to the inconvenience of many.

    38. Re:Don't hate it by josh3736 · · Score: 1
      Yes, it does-- you put in a 256-color image, and LZW compresses it losslessly in the GIF.
      But if I put in a 257+ color image....

      I wasn't talking about LZW losslessly compressing at 256 colors, which is what pretty much everything is now.

    39. Re:Don't hate it by jlmcgraw · · Score: 1

      Wait, so is GIF gunk or junk? Years of debate have yet to settle the issue...

    40. Re:Don't hate it by josh3736 · · Score: 1
      Well that's odd, half of my post disappeared. (haha, I put < instead of <... duh)

      I meant:

      -

      But if I put in a 257+ color image....

      I wasn't talking about LZW losslessly compressing at <=256 colors, I was talking about the GIF format being lossy at >256 colors, which is what pretty much everything is now.

    41. Re:Don't hate it by dustman · · Score: 2, Informative

      I was talking about the GIF format being lossy at >256 colors

      And, by talking this way, you are using the term "lossy" in a way that nobody else uses. Hence the confusion. Hence the request to use the word "lossy" to describe the actual compression of data, rather than the quantization of the image.

      If you compress a 256 color image using JPEG, what comes out isn't what you put in. That's why JPEG is called a lossy format. GIF is lossless.

    42. Re:Don't hate it by Anonymous Coward · · Score: 0

      >> I wasn't talking about LZW losslessly compressing at 256 colors, which is what pretty much everything is now.

      No, not everything is more than 256 colors.

      You still don't understand that color space (palette) conversion is not the same as "lossless/lossy" compression. LZW will losslessly compress palettes >256 colors. GIF doesn't take palettes larger than 8 bits, so you *can't* put in 257 colors.

      When you call 256 colors "lossy," you're complaining about color space conversion, not compression. And yes, you do lose color information converting a true color image to 256 colors. Not all images are true color, some are much less. For them, GIF is not lossy. When people call GIF "lossless," they're talking about LZW compression.

      Hope you get it now. Signing off.

    43. Re:Don't hate it by RzUpAnmsCwrds · · Score: 1

      That's not quite true:

      http://phil.ipal.org/tc.html

      At 184KB, it's far inferior to PNG, and it's not compatible with a lot of applications, but the assertion that GIF is limited to 256 colors is simply untrue.

    44. Re:Don't hate it by Anonymous Coward · · Score: 0
      GIF criticism #1: PNGs are smaller.
      Refutation #1: It's distressingly easy to find web pages using 24-bit PNGs which contain fewer than 256 (or even 16) colors. What good is better compression if you don't do color reduction?

      GIF criticism #2: I have to pay patent royalties to use GIFs.
      Refutation #2: Not any more. The Unisys patent expired. Some believe IBM has a patent on the exact same technology (LZW). Unisys was asking for royalties -- is IBM?

      GIF criticism #3: PNG supports alpha transparency, GIF does not.
      Refutation #3: As simple as it is, too many web authors can't get GIF transparency right. What makes you think adding an alpha channel is going to help?

      GIF criticism #4: PNG is a replacement for GIF
      Refutation #4: GIFs can be animated, PNGs can not.

      GIF is gunk. Can we step into the 21st century yet?

      24-bit alpha transparent images in web pages are junk. Can we get some CONTENT yet?

    45. Re:Don't hate it by RzUpAnmsCwrds · · Score: 1

      Yes, but a RGBA image takes up more space than an 8-bit image.

      When I use PNG, I always downsample my images to 8bpp. The program I use (Paint Shop Pro) does an excellent job of dithering, and an 8bpp image compresses better than a 32bpp image.

    46. Re:Don't hate it by Enahs · · Score: 1

      Yeah, real shame about IBM's patent on the same technology...

      --
      Stating on Slashdot that I like cheese since 1997.
    47. Re:Don't hate it by Myen · · Score: 2, Interesting

      It takes eons to load because it's an animated gif demonstrating the concept behind is (which is rather old):

      Each frame of the GIF can have up to 255 colours (+ transparent); but separate frames can have separate palettes. So frame #2 uses a different palette from frame #1, and so on. For real use, you can easily set the time interval between each frame to be zero (so they looks like it's done in one go).

      I remember seeing another image like this - I believe it was a picture of a ship of some sort - a few years back. It was actually neater, as it was loaded 'progressively' - it first presented a 8-bit version like a normal GIF, then overlaid extra colours on top. Certainly more interesting than this demo.

      It's bigger than PNG because it is limited to 8bits per pass - can't really look at how adjacent pixels have similiar (but not exactly matching) colours. Probably, anyway; I have not tried to dig deep into either GIF nor PNG :)

    48. Re:Don't hate it by Sparr0 · · Score: 3, Insightful

      you do realize that by dithering in anything other than an ordered fashion ruins your compression ratio right?

    49. Re:Don't hate it by glpierce · · Score: 1

      "Most RGB displays [...] cannot show the full spectrum"

      To be more accurate, no RGB display can show the full spectrum. The range of hues perceived by humans is plotted over an arc - no triange (three points, e.g. RGB) can cover it all.

      --
      G
    50. Re:Don't hate it by Anonymous Coward · · Score: 0

      GIF is lossless. Converting 24-bit color to a 256 color palette is not lossless. If you try to save a 24-bit color image as GIF, you must first reduce the color depth, introducing a lossy step BEFORE using GIF. The GIF file format is lossless, converting to GIF may not be.

      And there are still many places where 256 colors is enough. eg if you have a tiny 16x16 icon someplace, there's is no possible way you'll have more than 256 colors. (think ugly smiley graphics) An antialiased, two- or three-color logo would probably use far fewer than 256 colors as well.

    51. Re:Don't hate it by gfody · · Score: 1

      this is a good idea, seems like it would be the natural way to extend gif to true color. alpha transparency could be another seperate grayscale gif at 4bpp even

      --

      bite my glorious golden ass.
    52. Re:Don't hate it by damiam · · Score: 1

      Yeah, I understand that it's animated, but it also takes eons to load because it's 184KB. The equivalent PNG is 20KB. A true-color GIF takes a lot more effort, space, and CPU time than a true-color PNG, and that's why I said it's a hack.

      --
      It's hard to be religious when certain people are never incinerated by bolts of lightning.
    53. Re:Don't hate it by Anonymous Coward · · Score: 0

      http://www.peda.com/iag/layers.html

    54. Re:Don't hate it by Frank+T.+Lofaro+Jr. · · Score: 1, Interesting

      Humans have 3 types of cone cells.

      Make the phosphors only excite one cone type each, and you can generate all the colors the eye can see.

      Now, monitor manufacturers, listen up! We need a reasonable green that isn't yellowish. I can *so* tell the difference. I can see cerulean blue (a most lovely color - the color of some TDK CD-Rs) in real life, but not on a monitor.

      --
      Just because it CAN be done, doesn't mean it should!
    55. Re:Don't hate it by Allnighterking · · Score: 1

      Yes it is an animation. 173 frames to be exact.

      --

      I'm sorry, I'm to tired to be witty at the moment so this message will have to do.

    56. Re:Don't hate it by Jah-Wren+Ryel · · Score: 4, Funny

      A more correct term is idempotent - take the output of a process (e.g. image compression), use it as the input for the next iteration of the exact same process and you will still get the exact same output. Repeat ad infintum. So, gif/png compression is idempotent. JPEG is not idempotent.

      Not to be confused with omnipotent which means the ability to get anything -- male, female, animate, inanimate -- pregnant. If you're omnipotent, the condom gets pregnant.

      --
      When information is power, privacy is freedom.
    57. Re:Don't hate it by Anonymous Coward · · Score: 1, Informative

      http://dean.edwards.name/ie7 has an _easy_ procedure to fix this and other IE standard compatibility bugs

    58. Re:Don't hate it by It'sYerMam · · Score: 1

      I'm colour deficient - I cannot see red properly. I turned the red electron gun to binary (i.e. "off" or "full") forget, and didn't notice until someone said the monitor looked very blue...
      I can't be sure, but I reckon I see more detail in the blue end of the spectrum, perhaps because of this.

      --
      im in ur .sig, writin ur memes.
    59. Re:Don't hate it by Paul+d'Aoust · · Score: 2, Interesting

      Actually, from what I understand, we're least sensitive to variations in red. Which is very funny, because it's the colour our eyes are most sensitive to -- we just can't pick out subtle variations in that colour.

      I hope that makes sense? sensitive to red itself, but not to the differences in various shades of red.

      --
      Standing at the very edge of my imagination, I peered into the inky void and realised -- I couldn't think up a new sig.
    60. Re:Don't hate it by moongha · · Score: 1

      The GIF and PNG image formats are both intended for use in compressing 'line-art' style images - the sort you'd produce in flash or illustrator.

      These images tend to have a lot of areas of block colour, and hence a small colour palette. Even with anti-aliasing, it's still likely to use 256 colours.

      JPEG is for use in images which don't fit the above description, like photographs.

    61. Re:Don't hate it by tesmako · · Score: 1

      I am strictly for anything that makes life harder for web developers who obsess over having the exact right pixel effect everywhere. With any luck the excessive pixel editing in photoshop will wear out their wrists and we will be rid of them before they hit 40.

    62. Re:Don't hate it by Anonymous Coward · · Score: 0

      If you'd have read the GIF spec then you would have realised that this technique was heavily implied. In this technique, the first frame is a preview of up to 256 colours. Subsequent frames allow refinement and, when possible, should be shown without delay. Programs are available which send a 2 colour preview of GIFs.

      In the general case, it would be possible to define sound extension blocks and use .gif like .avi except that it would be less resiliant to corruption. If video was defined in extension blocks then it was be no less resiliant than .asf

    63. Re:Don't hate it by Anonymous Coward · · Score: 0

      > But if I put in a 257+ color image....

      Nitpicking.

      You can't. GIF compress <=256 colors in a lossless way. If you take any <=256 color image, with 24 bits per color, it will come out *exactly* as it was put in. The GIF format do *not* specify how you quantize the color image (which is a lossy process, but is *unrelated* to GIF).

      OTOH, jpeg is lossy. Take any image, encode it, de-compress it, it will be different. The encoding process specifies that the transform will lose information. MPEG, also is lossy.

      Saying "but when I encode a 24 bit image in GIF I lose information" does not mean GIF itself lost the information (in the past, you even had to use different programs to quantize and to encode).

      Of course, in a broader way, you are half-right. If one only uses gif on his web site and have >256 color images, he will have lost info somewhere. (But it won't be because of GIF compression itself)

    64. Re:Don't hate it by cookd · · Score: 2, Interesting

      Make the phosphors only excite one cone type each, and you can generate all the colors the eye can see.

      You are assuming that everybody's cones respond to the same wavelengths identically. That is most definitely not true. Different people's eyes respond to colors differently -- different people's cones have response curves centered at slightly different shades of red, green, and blue. In fact, some women have been found to have 4 different kinds of cones.

      There are two ways to produce a perception of color. One way is to create a beam of light of the correct wavelength. A light with a wavelength between red and green would stimulate both the red and the green cones in my eye, creating the sensation of yellow. Another way is to mix multiple beams of other wavelengths. A mixture of red and green lights would also stimulate the red and green cones in my eye, creating the same sensation.

      I could adjust two different beams of light (one pure yellow, one red + green) until they both appeared to me to be the same color. I would not be able to tell the difference between them. However, somebody else whose "red" cones centered on a slightly different wavelength of red would see the two beams of light to be slightly different colors.

      Monitor manufacturers actually can't make everybody happy. They do their best to pick the shades of red, blue, and green that are most commonly the centers of the response curves for people's cones. If they hit the centers dead-on for you, your monitor would be able to create any color that you could see. But if your centers weren't quite dead-on, or if you were a woman with 4 different types of cones, there would be a significant range of colors that the monitor could never produce properly for you.

      --
      Time flies like an arrow. Fruit flies like a banana.
    65. Re:Don't hate it by mgv · · Score: 1

      Make the phosphors only excite one cone type each, and you can generate all the colors the eye can see.

      Actually, the wavelength response curves of the cones overlap alot (particularly red and green). Which means that there is no light frequency that can stimulate only one cone.

      So if you managed to excite only one cone type, you would produce a colour that you have probably never seen before.

      Michael

      --
      There is no cryptographic solution to the problem where the intended receiver and the attacker are the same entity.
    66. Re:Don't hate it by canavan · · Score: 4, Interesting

      the human eye cannot distinguish between that many shades (particularly in the blue region)

      While it may seem counterintuitive, the human eye is much better at discriminating between shades of blue than between red or green (where it is worst by far). There's a nice graph showing the MacAdam ellipses that represent the amount of variation in chromaticity where no difference can be percieved in this paper. This is obviously different from the responsiveness to brightness.

      16 bit color representaion usually has the 6 bits for green.

      For most people, 8 bit per RGB component on an linear scale, as used in almost all computers, is not enough - you can still see some banding. A logarithmic scale or 10 bit color can fix this.

    67. Re:Don't hate it by JDevers · · Score: 1

      Humans are more sensitive to yellow-green light than red light..

      http://www.ndt-ed.org/EducationResources/Communi ty College/PenetrantTest/Introduction/lightresponse.h tm

    68. Re:Don't hate it by NichG · · Score: 1

      I wonder if you could do this by saturating two of the cones, then looking at an object which is at the center of the third cone's range. After looking at a solid color for some time, the cones that are activated by that color become more and more difficult to activate for a short time after (if you stare at a red object, then look at a white wall, it appears to be cyan for a short time).

    69. Re:Don't hate it by Anonymous Coward · · Score: 0

      I doubt it compresses better. I'd say it comes out smaller because there was less there to begin with. Also, for truly tiny images (~5 KB or less), PNG generally loses against GIF because of header bloat.

    70. Re:Don't hate it by julesh · · Score: 1

      you do realize that by dithering in anything other than an ordered fashion ruins your compression ratio right?

      Which probably makes the images nearly as much larger as having an additional 8 bit alpha channel alongside them does.

    71. Re:Don't hate it by Eideewt · · Score: 1

      I think the usual way to solve these debates is to combine the words together. You could take the beginning of one, and pair it with the ending of the other. So, gunk becomes.... Dang! This is hard.

    72. Re:Don't hate it by Eideewt · · Score: 1

      Numbers one and three aren't .png defects, they're stupid person defects. .pngs do compress smaller in all the cases I've tested. That's a fair number.

    73. Re: Don't hate it by Omniscient+Ferret · · Score: 1

      Not to be confused with omnipotent which means the ability to get anything -- male, female, animate, inanimate -- pregnant. If you're omnipotent, the condom gets pregnant.

      Not to be confused with omniscient (note my nick), which I did for a minute there - I wasn't sure whether to proclaim, "Fear me! I have the mighty seed of DOOM!" or simply attempt to back away from my penis.

  6. Animations by Seft · · Score: 5, Funny

    Haven't they realised that animated GIFs only serve to irritate?

    1. Re:Animations by whiteranger99x · · Score: 1

      True, but you need to think of modern days where Flash reigns supreme of being the great annoyance :)

      (Ok, I'll add that Flash is a great tool to have when used properly :)

      --
      Join the TWIT army now!
    2. Re:Animations by tntguy · · Score: 1

      Animated images/icons can be used to great affect if done in a subtle and sparing way. Large and looped animations tend to annoy me, though.

      I can definately see how alpha-transparency (note: I didn't RTFA so I'm assuming it's available in animations) in an animation would be a Good Thing(tm).

    3. Re:Animations by Anonymous Coward · · Score: 0

      > Haven't they realised that animated
      > GIFs only serve to irritate?

      No, because that is not the case; they merely USUALLY serve to irritate, depending upon the use. Way to generalize, though; you totally have that down.

    4. Re:Animations by sppavlov · · Score: 1

      Think about uses of animations in applications. The Mozilla UI guys would love to be able to do a nice looking (no sharp edges, nice transparency, etc) throbber images.

    5. Re:Animations by bhtooefr · · Score: 1

      Well, APNG is a small EXTENSION on PNG, and non-APNG viewers can see an APNG's first frame, so I would assume so.

    6. Re:Animations by Anonymous Coward · · Score: 0

      There's a lot of irritating people out there, and they could well swing the vote.

    7. Re:Animations by Seft · · Score: 1

      WTF is with the moderation! +5 Funny?? I was expecting +3 Insightful or -1 Troll :/

  7. Good to hear by cyxxon · · Score: 5, Insightful

    Well now, this sounds really nice. I have always wondered why MGN never really took off, but then PNG never really took off either (you all know the MSFT story...). Just never knew this had a big-decoder-problem.

    So naturally I was disappointed when Mozilla took out MNG support back then, but this seems to make it better (read: more chances of survival in the real world out there) standard, and that is always a good thing.

    One more reason to finally get rid of all them GIFs, even if they are no longer patent-encumbered - the format is still not capable of alpha transparency...

    1. Re:Good to hear by Anonymous Coward · · Score: 0

      > [GIF] is still not capable of alpha transparency...

      and doesn't support more than 256 colors...

    2. Re:Good to hear by CRCulver · · Score: 1

      I have always wondered why MGN never really took off, but then PNG never really took off either (you all know the MSFT story...).

      PNG images do not normally pose a problem for Internet Explorer unless one uses certain transparency features. And even if one does, there are hacks to get around it. There is no reason not to use PNGs today. Internet Explorer handles the vast majority of them just fine.

    3. Re:Good to hear by cheekyboy · · Score: 1

      Would it not be easier to improve on the gif format , rather than add new formats?

      1. make a new header (GIF04)
      2. add support for 24bit/32bit alpha channels
      3. add 24bit/animated gif
      4. send source to all GIF making programs/applications people and fax their head office too.
      5. enjoy a new format for all (except MS taking 3 years to support it , not like they would add usefull things to windows update)

      --
      Liberty freedom are no1, not dicks in suits.
    4. Re:Good to hear by bluephone · · Score: 4, Insightful

      Pretend "APNG" is spelled "GIF04" and your solution is here. No, it wouldn't be easier, because your suggestion is essentially creating a new format (been done) and just CALLING it a new GIF format.

      --
      jX [ Make everything as simple as possible, but no simpler. - Einstein ]
    5. Re:Good to hear by Anonymous Coward · · Score: 1, Insightful

      Saying that MNG "never took off" is the understatement of the century. I think you'd have trouble finding a single MNG file anywhere on the WWW excluding some sites devoted to the format.

      (Also, MNG was apparently a lot closer to a fullfledged movie format than something like GIF.)

    6. Re:Good to hear by Fallen_Knight · · Score: 1

      someone should do that... lol

    7. Re:Good to hear by Eideewt · · Score: 1

      .Mngs could be a pain to make as well. All kinds of crazy support for moving stuff around and all I want to do it make some frames play in order. It was a neat concept, but didn't have the simplicity of a .gif.

  8. More importantly by Anonymous Coward · · Score: 0

    When will we get APNGOUT to compress the inefficient Photoshop created APNGs?

  9. We don't like bloat now do we by Rosco+P.+Coltrane · · Score: 5, Funny

    the MNG decoder is so large that the likes of Mozilla refuse to include it

    Yeah, and a damn good thing too, otherwise we'd have a browser that's so huge and bloated that...

    Nevermind...

    --
    "A door is what a dog is perpetually on the wrong side of" - Ogden Nash
    1. Re:We don't like bloat now do we by XaXXon · · Score: 1, Interesting

      Do you actualy consider Firefox bloated? Maybe I'm jaded by some of the stuff becoming so big previously that anything less seems to be lean and mean in relation..

      That said, Firefox seems pretty quick to me.

    2. Re:We don't like bloat now do we by name773 · · Score: 0, Troll

      troll? he has a point, you know

    3. Re:We don't like bloat now do we by LeBlanc_Joey · · Score: 1

      They didn't say Firefox, they said Mozilla(bloated, hence Firefox).

      --

      Everything in moderation, even moderation.

      No, especially moderation.

    4. Re:We don't like bloat now do we by Anonymous Coward · · Score: 0

      Opera

    5. Re:We don't like bloat now do we by XaXXon · · Score: 1

      We don't like ads, either.. (or paying for our browser)

    6. Re:We don't like bloat now do we by legirons · · Score: 1

      "Yeah, and a damn good thing too, otherwise we'd have a browser that's so huge and bloated that..."

      That it's expanded to the point where it can send and receive mail?

  10. What is the greater of two evils... by nerd256 · · Score: 3, Funny

    ...no alternative to animated gifs or no IP fines for annoying dancing lemmings and flashing "under construction" pictures?

    ?$!@...@!$?

  11. Stupid Question by slyckshoes · · Score: 5, Interesting

    This is probably a stupid question, but what are animated gifs used for besides online ads? It seems to me that the animated gif is now an endangered animal found only in annoying online ads, or annoying web-pages that were put together by someone with a rudimentary knowledge of HTML and a free CD of clip-art (or images that they stole from another unattractive site). I would not be sad to see animated gifs (or apngs) disappear entirely. If someone can post a good use of apgns/gifs for which a better solution does not exist, I will humbly retract my opinion and we can all consider this to be have been, indeed, a stupid question.

    1. Re:Stupid Question by Ark42 · · Score: 3, Interesting

      http://sirocco.accuweather.com/nxssa_r1_h_500x620d /r1h/inxr1kgrra_h.gif

      This is better then any alternative java or javascript crap I have seen.

    2. Re:Stupid Question by Anonymous Coward · · Score: 0

      If someone can post a good use of apgns/gifs for which a better solution does not exist, I will humbly retract my opinion and we can all consider this to be have been, indeed, a stupid question.

      Take a look at this poor sap.

      http://wankerbater.net/uckrt/wanksta.gif

      QED.

    3. Re:Stupid Question by carambola5 · · Score: 4, Informative

      Weather radar loops. Rather than have the client dl multiple jpegs and sequence them with javascript (eww, javascript), the client need only download a single apng.

      For an example, check out weather.com's "map in motion" for your locale. Then, check the source of the page. Much cleaner to simply have an <img> tag.

      --
      IWARS.
      People, in general, disappoint me. Politicians even more so.
    4. Re:Stupid Question by Anonymous Coward · · Score: 2, Funny

      That's great and all, but what about those of us who don't live in Michigan? I mean, we need a file format we can use for our weather, too.

    5. Re:Stupid Question by colinramsay · · Score: 1

      I've seen talk about using them for themes in Mozilla. Don't forget that though animated screams flashy images, you can simply think of it as a collection of states for a feature. For example, a single image could contain graphics for ready, busy and error states.

      Whether that is of any use is another matter :)

    6. Re:Stupid Question by Rares+Marian · · Score: 1

      It maybe much cleaner in the browser, but it depends on your implementation. Is it cleaner to have an automatically created file in a format that may be lacking in support or to animate a set of images which can have all the features you could want in each since the format iself doesn't have to anything to do with animation? If my server needs to compute a lot while serving animations I would at least offload the animation script to the client. If my server isn't actually computing anything I can spare the cycles of running an auto-GIF program.

      --
      The message on the other side of this sig is false.
    7. Re:Stupid Question by grm_wnr · · Score: 2, Interesting

      Actually, an animated .gif is the only animation format you can just put into an tag. That makes a huge difference if you are working with systems that don't allow you to write plain HTML. Web forums, for example. Or picture upload sites. And many people think animations are great, even if some don't like them at all. So the need for animated .gifs is there - and right now, there is no alternative.

    8. Re:Stupid Question by stienman · · Score: 3, Informative

      It's great for simple process visualizations.

      Check out uncommon or odd designs for engines, which would be very difficult to imagine from a text description with a few small pictures.

      There are others - google search animated gif "subject" to find useful illustrations for any process.

      -Adam

    9. Re:Stupid Question by justforaday · · Score: 1

      For example, a single image could contain graphics for ready, busy and error states.

      Good point. OS X did this with PDFs for things like the dock 'poof' effect and various menu item states (airport signal, battery, etc). Not sure if they're still using them or not, since that was in the 10.0 and 10.1 days...

      --
      I'll turn into a supernova and burn up everything. Well I'll turn into a black little hole and you'll turn into string.
    10. Re:Stupid Question by Ossur · · Score: 1
    11. Re:Stupid Question by mstieg · · Score: 1

      I have often used animated GIFs in combination with JavaScript to make really cool animating design elements of pages.

      These elements were nice looking and were often confused for being Flash. But of course, they weren't Flash. To me, that's extremely cool, because besides loading faster and being more accessable, it allowed me to use sophisticated animation without using flash for a whole page/site.

      I HATE it when a whole page/site is in flash so they can add some (often-cheesy) visual effect.

      Animated PNGs would makes things much easier all around for design.

      It will also enable 256-bit transparent floating DHTML ads on top of content pages, which probably wouldn't suck any more than the corrent ones, but will still suck none-the-less.

    12. Re:Stupid Question by epine · · Score: 3, Insightful


      That's not a stupid question at all. If Firefox had a setting (that I knew about) to disable all animation effects by default, I'd enable that feature immediately. More than 90% of animated content out there is crap or worse than crap. 100% of animated effects reduce my reading speed and comprehension. I've asked other people about this, and I seem to suffer this effect more than most people, to the extent that I often set my Firefox font size for inch tall letters so that the majority of the text spills below the aggravating imagery. Sometimes if I can't get the animation away from the text I'm readin, I actually hold one hand over the screen to block out the offending flicker. The few people I know who find this similarly annoying tend to be the exceptional readers. One of my close friends claims he sees every word on the printed page (for book reading) simultaneously, and he moves his eyes back and forth mostly for the purpose of getting the words into proper order for mental comprehension. But he usually knows what the author will claim before he gets there, because he knows what words are coming at the bottom of the page.

      For me, there is no "experience" involved in visiting a web page. I go there to suck out the content. I had a jazz musician friend in Montreal who said that he didn't much care if an LP had a gouge the size of the grand canyon, if the performance had "wit" he didn't even hear the clicks and pops. I feel the same way about text. All I'm there to do is discover whether the author has a moment of wit or substance.

      What I've learned about reading, serious reading where the aim is not to hear your own thoughts expressed by another person (or believe such), but to encounter thoughts that clash and spark and scrape the paint, to accomplish this the reader must open an expressway of comprehension that bypasses the internal thought police, the slow border crossings with open trunks and snuffling dogs. It seems to me that people who read at the pace of their own internal mind police do not experience the same distress I feel about the visual flickers of animated content: it's only slowing their visual processing down to the same speed their emotional filters were functioning in the first place.

      My reading style is that I'm a kind of ambulance chaser: I want the content to strike the rock bottom content of my soul in massive wreckage, trailing ambulances, autopsies, coroner's reports, and sprawling cemeteries full of petty self justifications, RIP.

      APNG I can live without.

    13. Re:Stupid Question by Anonymous Coward · · Score: 0

      Your friend is lying. Outside of the macula, words are gibberish. Kill him.

    14. Re:Stupid Question by Anonymous Coward · · Score: 0

      for someone who reads so well you sure write like shit you fucking faggot

    15. Re:Stupid Question by iabervon · · Score: 4, Informative

      Go to about:config, find image.animation_mode, and set it to "no". I actually set mine to "once", which means that I see animated images if I'm actually watching; I generally iconify the browser and do something else while pages load, so I miss all the ads, but I can actually watch a weather image if I want. As far as I can tell, there's no documentation for this anywhere.

    16. Re:Stupid Question by mgv · · Score: 1

      If someone can post a good use of apgns/gifs for which a better solution does not exist, I will humbly retract my opinion and we can all consider this to be have been, indeed, a stupid question.

      How about as an alternative format for movie encoding instead of divx? :)

      Sorry, I just had to say it.

      MGV

      --
      There is no cryptographic solution to the problem where the intended receiver and the attacker are the same entity.
    17. Re:Stupid Question by qbwiz · · Score: 1

      But then you lose the advantage of jpegs, i.e. lossy, space-saving compression.

      --
      Ewige Blumenkraft.
    18. Re:Stupid Question by Saeger · · Score: 2, Interesting
      Rather than have the client dl multiple jpegs and sequence them with javascript

      You don't have to use javascript to sequence jpegs for an animation effect. You can instead stream a recorded or live "jpeg video" by using the 'multipart/x-mixed-replace; boundary=xxxfoobarxxx' mime-type with a frame delay between the boundary. The downside is that you need to keep a persistant connection open to the webserver for the duration of the vid.

      This isn't commonly done anymore, but it is how the first postage-stamp-sized live streaming (pr0n) video was done before the real codecs and players got critical mass. (I should know, I wrote such an "advanced streaming server" back in the 90's.)

      --

      --
      Power to the Peaceful
    19. Re:Stupid Question by sketerpot · · Score: 1

      Rather than using your hand to block out annoying ads, use the Adblock and/or "Nuke Anything" extensions. They work very well.

    20. Re:Stupid Question by Anonymous Coward · · Score: 0

      Can you control the rate of animation, with controls on the page, with an animated GIF file?

    21. Re:Stupid Question by jZnat · · Score: 1

      I remember this being in the Mozilla Suite preferences, but not Firefox's. If you get the Things They Left Out extension, you can see preferences such as these that aren't in the "user-friendly" one of Firefox. Apparently this would be a "useless feature to the average Joe", but I disagree.

      --
      'Yes, firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
    22. Re:Stupid Question by eikonos · · Score: 1

      If animated images bother you that much, you should try the Nuke Image Firefox extension.

    23. Re:Stupid Question by CamTarn · · Score: 1

      I agree that 99.9% of animated gifs are junk, but I've seen some amazing things done with 50x50 forum avatars - mini anime movies done entirely freehand and fitting in under 100K... admittedly, though, although they're wonderful to look at, I do have to use Nuke Anything (or similar plugins) to be able to actually read the forum posts =P

    24. Re:Stupid Question by Anonymous Coward · · Score: 0

      Download the Web Developer extension today. Disable -> Image Animations. 'Nuf said.

    25. Re:Stupid Question by Smack · · Score: 2, Insightful

      That engine page is actually way more interesting than this slashdot article.

    26. Re:Stupid Question by Anonymous Coward · · Score: 0

      i found this to be a pretty good (though imperfect) "documentation" for about:config.
      http://preferential.mozdev.org/preferences.html

    27. Re:Stupid Question by dargaud · · Score: 1

      In *cough, cough* Internet Explorer and/or MyIE2, you just press [Esc] to stop all the animations. I'm not booted into Gentoo right now so I can't see if there's a similar setting in Firefox.

      --
      Non-Linux Penguins ?
    28. Re:Stupid Question by zyche · · Score: 1

      I would say that Firefox with the AdBlock extension is what you want. It's really easy to use: just right-click on annoying images and press ok (you can add wildcards to block all images from a certain server or directory, say ad.doubleclick.com/*). Works for Flash-stuff too.

    29. Re:Stupid Question by Anonymous Coward · · Score: 0

      Some more useful animated gifs for demonstrating technique and construction.

    30. Re:Stupid Question by FyRE666 · · Score: 1

      Yeah great; now let's see you change the speed of the animation, or maybe pick a range of times to view in it, hey and run it backwards, zoom in and alter the colour scheme while you're at it.

      It is what it is, an animated gif. Hardly compares to a programming language.

    31. Re:Stupid Question by FyRE666 · · Score: 2, Informative

      [x-mixed-replace]
      This isn't commonly done anymore...

      Probably the biggest reason being that IE on Windows doesn't support it (surprise, surprise)...

    32. Re:Stupid Question by metamatic · · Score: 1

      You'd probably like my web site then. No tables, no images except occasional photos I've taken, no animations, and the layout's designed to work with any font size and uses relative sizes. Works with Lynx, even.

      --
      GCHQ Quantum Insert installed. If only our tongues were made of glass, how much more careful we would be when we speak
    33. Re:Stupid Question by Fallen_Knight · · Score: 1

      now your just asking for to much

    34. Re:Stupid Question by c · · Score: 1

      Weather radar loops. Rather than have the client dl multiple jpegs and sequence them with javascript (eww, javascript), the client need only download a single apng.

      The downside of using a single animated image (gif or otherwise) for weather (and I'm guilty of this myself) is that when a few frame arrives every 5 to 10 minutes you need to pull down the entire image rather than just grabbing the latest frame. A typical 6-8 frame radar during active weather can clock in at 150-200k or so (depending on background and size, obviously) which kinda sucks for dial-up users.

      A "better" approach would be to have the animated gif approach as a non-scripting fallback and using a Javascript multi-image download where possible. Assuming any technique involving Javascript can ever be described as "better".

      c.

      --
      Log in or piss off.
    35. Re:Stupid Question by Ark42 · · Score: 1


      Well weather.com's silly javascript based animation *never* works for me. I have no idea why, but it takes 10x as much time to load, then doesn't display anything but a white box. I don't want any features but a simple repeating loop, and accuweather.com's is perfect.

    36. Re:Stupid Question by Eil · · Score: 1


      This is better then any alternative java or javascript crap I have seen.

      Except that the user can't adjust the speed, stop on a particular frame, step backwards or forwards, choose to display only certain frames, or really do much of anything else except sit back and watch it go. Besides, every browser I touch image has animations disabled to cut down on all the obnoxious blinking epilepsy-inducing ads.

    37. Re:Stupid Question by Anonymous Coward · · Score: 0

      That used to work in Netscape, too. It occasionally worked in Mozilla and is nonexistent in Firefox.

    38. Re:Stupid Question by iabervon · · Score: 1

      It seems to me like they included practically nothing useful in the "Options..." thing, and that about:config is nice enough anyway. The main thing it's lacking is documentation; smaller things are that it doesn't seem to support a "one of these strings" type and it doesn't seem to have cut-and-paste support (which would be nice for telling people about options in slashdot posts). The "search all the options for one like this" feature is easier to use than the hard-to-remember organizations that all of the "user-friendly" configuration systems have had.

    39. Re:Stupid Question by Anonymous Coward · · Score: 0

      This is better then any alternative java or javascript crap I have seen.

      Those would be called Crapplets .

  12. MNG is being checked out of Firefox by Anonymous Coward · · Score: 0

    MNG is being discontinued, as are a lot of features including the Javascript Console. "Bloat", they calls it.

    1. Re:MNG is being checked out of Firefox by CRCulver · · Score: 4, Informative

      MNG is being discontinued, as are a lot of features including the Javascript Console. "Bloat", they calls it.

      Not to worry, though. Nearly everything that is taken out of the Firefox core can be reimplemented as an extension. I know I've been loving my Mozilla Calendar, and Web Developer extensions. There's no reason that the Javascript Console can't just become a plugin.

    2. Re:MNG is being checked out of Firefox by BigSven · · Score: 1

      Adding MNG support to your version of Firefox is actually pretty simple. Just go to http://stud4.tuwien.ac.at/~e0225227/ and download the extension for your platform.

      I suggest that you also take a look at the filesize of this extension. It's really not as much bloat as people try to make you believe. We are talking about a 270KB library here (for the Linux version).

  13. LZW? by Anonymous Coward · · Score: 2, Insightful

    well now that the lempel-ziv-welch algorithm patent has expired, maybe they should look into whether or not this algorithm could be used for a better *PNG format.

    1. Re:LZW? by Anonymous Coward · · Score: 0

      There is still the IBM patent to worry about. IBM strangely hasn't announced that they'll be making it available freely to all. So we have to wait out the 2 years till the IBM patent expires.

      Thanks IBM, and thanks USPTO. For nothing.

  14. Hate gif? by scheme · · Score: 2, Insightful
    It's fair to say that most people love PNG images (or at least hate GIFs).

    Most people don't know what png images are and they probably couldn't care less whether they get png or gif images.

    --
    "When you sit with a nice girl for two hours, it seems like two minutes. When you sit on a hot stove for two minutes, it
    1. Re:Hate gif? by Anonymous Coward · · Score: 0

      Context.

      Most people don't know, it's true. Most people aren't nerds.

      But I know and I care. This is important news to me. Stuff that matters.

  15. Size? by Anonymous Coward · · Score: 3, Funny

    ...(mainly because the MNG decoder is so large that the likes of Mozilla refuse to include it)

    So large that even Mozilla won't include it, you say?

    Uh huh.

    Ooookay...

    *eyes >10MB binary while whistling*

    1. Re:Size? by Anonymous Coward · · Score: 0

      Thank you, Ted, that was the joke.

  16. If anyone bothered to read the specs.. by WarlockD · · Score: 1

    Its a relative simple upgrade, as it just shows one frame after another. It shouldn't be that hard to upgrade the code in Mozzlia or Opera once the specs reach 1.0

    Of course, if someone in Microsoft could "accidentally" upgrade the PNG code, but if they did that, there wouldn't be an excuse for omitting alpha transparency, unless IE is just not capable.

    1. Re:If anyone bothered to read the specs.. by Anonymous Coward · · Score: 0

      considering all the directx extensions in IE, it's certainly capable of transparency...

    2. Re:If anyone bothered to read the specs.. by MyDixieWrecked · · Score: 1

      what I don't understand is why IE doesn't support the alpha blending properly in PNG, I mean... isn't XP's graphics system based on PNG? I thought that's how it did the transparent icons and stuff.

      I feel I'm probably misinformed on this topic, though.

      --



      ...spike
      Ewwwwww, coconut...
    3. Re:If anyone bothered to read the specs.. by Anonymous Coward · · Score: 0

      IE DOES support transparent PNGs, it just does it in a horribly non-standard way (you need to use an ActiveX style filter thingy). Crap I know, but the code is there for it to do it as standard..

  17. Re:Need help by Anonymous Coward · · Score: 0

    Read your question and you will know the answer!

  18. Love PNG and hate GIF? Most people? by Anonymous Coward · · Score: 3, Insightful
    most people love PNG images (or at least hate GIFs)

    Uh, no. Most people have no freakin' clue about what PNG and GIF are. Only we geeks know or care about the difference.

    And speaking as a fellow geek, if you're feeling emotions like "love" and "hate" over freakin' image formats you really need to get out of the house more often.

  19. Define "better solution" by Jonathan · · Score: 4, Insightful

    Java? Flash? I've seen lots of animated gifs in educational contexts -- showing how changing parameters affects a curve, for example. Yes, Java and Flash can be used, although they tend to be sluggish to load and crash browsers not infrequently,

    1. Re:Define "better solution" by eokyere · · Score: 1

      it's just like an ignorant slashdotter to day something negative about flash and expect to get away with it... seriously, flash crashes your browser? tell me which plugin ver you have... and please don't say you are running IE 5.0

    2. Re:Define "better solution" by Erik+Hollensbe · · Score: 1

      Systems that use the Open Sound System have this problem - basically, most free unix derivatives.

      Basically, the Open Sound System provides no mixing whatsoever - so any program that binds to the OSS interface blocks it - and other programs waiting for the device to become available again come to a screeching halt.

      Creative hackers have built daemons which do the talking to the OSS interface and then provide an API for programs to use it - you might have heard of esd or arts, which is how GNOME and KDE do their sound mixing. Of course, if any program gets the OSS interface before those programs, guess what happens. :) Or, if you have a program that tries to bind to it later, guess what happens to that program?

      Guess what the Flash plugin for linux does?

  20. Re:Need help by Anonymous Coward · · Score: 0

    ur all wrong anyways. he needs to DIVIDE by 2.2, not multiply! :-D

  21. 90%+ Market share... by rmdir+-r+* · · Score: 3, Insightful

    Y'all are missing something. The browser market is dominated by IE, and, if I remember correctly, IE doesn't even support non-animated PNG's perfectly. What are the chances that APNG gets added? And if it doesn't get added, what web designer will use a format that can't be viewed by 93% of their users? I'm not trolling, I'm not dissing Moz, but the reality of the market is there...

    1. Re:90%+ Market share... by Joe+Tie. · · Score: 1

      And if it doesn't get added, what web designer will use a format that can't be viewed by 93% of their users?

      Depends on who the target audience is. I personally wouldn't use a format 93% of the visiters couldn't view. But that's also not much of an issue for me. The only animated content I've ever used on my page is for examples of sprite animation in the format used in an engine I wrote. The somewhat technical content and crossplatform support skewed the viewership heavily away from IE. I scrapped that aspect of the page when mng support was removed from the gecko clients, but before then I think only about 20-30% were using IE. A significant amount, but not enough to bother myself with for something I do for fun. While I agree going the route of apng for a comercial site aimed at the general public would be foolish, thankfully we're not all targeting the general public.

      --
      Everything will be taken away from you.
    2. Re:90%+ Market share... by rmdir+-r+* · · Score: 1

      That's true. I'm just trying to point out that technological evangelism is useless when, in the end, the big decisions are all made by a single entity. This is, of course, barring a massive increase in computing cluefullness by the general public, something that doesn't look like it will be happening any time soon.

    3. Re:90%+ Market share... by imemyself · · Score: 1

      How difficult would it be for someone to maybe make a little ActiveX control that would download and install Mozilla when they view a page? With all the vulnerabilities in IE, I'm sure someone could do it. (half joking, half serious)

      --
      Every time you post an article on Slashdot, I kill a server. Think of the servers!
    4. Re:90%+ Market share... by legirons · · Score: 1

      "Y'all are missing something. The browser market is dominated by IE, and, if I remember correctly, IE doesn't even support non-animated PNG's perfectly."

      IE doesn't yet support the ability to view web-pages without having your computer raped by russian teenagers. Given that rather fundamental limitation, it's hard to see why lack of PNG or MNG or APNG or anything else is even relevant to the users of that program

    5. Re:90%+ Market share... by rmdir+-r+* · · Score: 1

      Yes... you could :P. But, on the other hand, it would do NOTHING for Moz evangelism, just piss off the poor dial-up users.

  22. animated? by carpe_noctem · · Score: 4, Funny

    However, the one advantage GIFs have over PNGs is that they can be animated.

    Surely I am not the only one here to disagree with this statement.... !

    --
    "Quoting famous computer scientists out of context is the root of all evil (or at least most of it) in programming." - K
    1. Re:animated? by lphuberdeau · · Score: 1

      I also believe it's an inconvenient... if only I could configure my browser to stop animating gifs... imagine... less publicity!

      --
      Qui ne va pas à la chasse n'a pas de gibier
      PHP Queb
    2. Re:animated? by Anonymous Coward · · Score: 0

      However, the one advantage GIFs have over PNGs is that they can be animated.

      However, the one advantage Netscape 3.0 has over Safari is that it supports the <blink> tag.

  23. Re:Need help by Anonymous Coward · · Score: 0

    OK, so I'm lost. Which is it, multiply or divide by 2.2?

  24. Re:Need help by Matheus+Villela · · Score: 0, Offtopic

    How do I convert from kilograms to pounds?

    Yeah, i know it's offtopic, but i will show something i like :)

    Search in google:
    Nkg to pounds
    N = the number of Kilograms you want to convert to pounds

    One simple result:
    http://www.google.com/search?q=2kg+to+pounds
    And the google calculator will say to you:
    2 kilograms = 4.40924524 pounds

    I love google :)

  25. Bad "most people" generalization by enosys · · Score: 4, Insightful

    The story begins with: "It's fair to say that most people love PNG images (or at least hate GIFs)." No, it's not fair to say that; it's wrong. Most computer users don't even know the difference and don't care as long as they can see the image. Most people don't know about the GIF patent issues and anyways GIF is now free. Plus why hate a file format? If you really want to hate something then hate what Unisys did.

    1. Re:Bad "most people" generalization by Photar · · Score: 1

      You obviously don't understand the scope of the audience.

      --
      He who knows not and knows he knows not is a wise man. He who knows not and knows not he knows not is a fool.
    2. Re:Bad "most people" generalization by NeoSkandranon · · Score: 1

      You obviously don't know what "most people" means.

      --
      If you can't see the value in jet powered ants you should turn in your nerd card. - Dunbal (464142)
    3. Re:Bad "most people" generalization by Anonymous Coward · · Score: 0

      Allow me to translate:

      It's fair

      It's crazy, but on Slashdot everybody agrees with me, so it's fine.

      to say that most people

      By "most people" I mean most people reading Slashdot who know the difference between GIF, JPEG, and PNG, and have a memory long enough to remember the GIF fiasco that had them sputtering about how Unisys was going to shut down the web several years back.

      love PNG images (or at least hate GIFs).

      In other words, they have emotional sentiments for a file format, because they don't get out of their parents basement enough.

    4. Re:Bad "most people" generalization by Photar · · Score: 1

      Did you even read the fucking article?

      --
      He who knows not and knows he knows not is a wise man. He who knows not and knows not he knows not is a fool.
    5. Re:Bad "most people" generalization by Photar · · Score: 1

      Sorry I almost forgot to add, that its a submission to slashdot for crying out loud.

      --
      He who knows not and knows he knows not is a wise man. He who knows not and knows not he knows not is a fool.
    6. Re:Bad "most people" generalization by sketerpot · · Score: 1
      While there's a difference between "most people" and "most people here", the number of people jumping on the article about it is excessive. Hopefully you can figure out what was meant.

      And why should we hate a file format? Because GIFs don't support more than 256 colors without resorting to nasty hacks, they usually are larger than PNG files, and they have very primitive support for transparency. They're a pain, and they should be relegated forever to the past.

  26. Fully backwards compatible? by Anonymous Coward · · Score: 0

    Well, not yet it seems. The image under the "Test Encoder and Sample Images" section displays as a "1" in Mozilla and as a "5" in Konqueror.

  27. bah, MNG has JNG! by pmsyyz · · Score: 1

    MNG includes the super duper cool JNG

    JNG test-suite

    --
    Phillip
    1. Re:bah, MNG has JNG! by sppavlov · · Score: 1

      JNG won't be part of APNG. JNG is really its own spec and shouldn't really be related to MNG except that libmng can decode JNGs.

  28. Why I don't use PNG by pez · · Score: 4, Insightful

    Web developer has been my full-time job since 1995, and I have tried *so many times* to switch to PNG. And every single time, I slowly (and unfortunately) end up reverting back to GIF.

    The two reasons that PNGs are unsuitable for large-scale use are:

    * MSIE support sucks. It is getting better, but it still sucks (yes, I know this is a Microsoft issue not a PNG issue, but I'm not trying to place blame here.)

    * Gamma value variation. Look at a PNG on one browser, and the blue value will match #0000CC, but look in another browser on another OS, and IT WON'T! Talk about maddening... this is one situation where the extra control by having the ability to specify a gamma value is a curse, not a blessing.

    Yes, I know there are workarounds for both of thses issues. But the fact that they are both fatal flaws, and both have to be worked around, makes PNGs unusable for every-day use.

    1. Re:Why I don't use PNG by IoN_PuLse · · Score: 1

      You should be aware that those aren't flaws in PNG, they are flaws in IE. PNGs can store their gamma, and I've never seen JPGs or GIFs look the same from one OS to another either...

    2. Re:Why I don't use PNG by jesser · · Score: 4, Insightful

      MSIE support sucks. It is getting better, but it still sucks

      I don't see how MSIE's lack of alpha-transparency could stop you from using PNGs, since you use GIFs now.

      --
      The shareholder is always right.
    3. Re:Why I don't use PNG by pez · · Score: 1

      *Of course* MSIE support issue is a flaw in MSIE... I never claimed otherwise. That doesn't change the fact that it impacts whether PNG is usable for today's web developer.

      As far as the gamma value goes, the problem is that PNG has the ability to shoot itself in the foot, and I have neither the tools nor the patience to verify if every single image I publish (some of which I didn't directly produce) has the proper value saved. With GIF, this simply isn't an issue.

      Browsers have a pallete of colors -- #0000ff is as blue as blue can be *on every single browser*. With GIF if I make a pixel in the image #0000ff I am *GUARANTEED* that it will match a DIV with a BACKGROUND-COLOR set to the same hex value.

      The same can't be said for PNGs without verifying each of them by hand. That's the fatal flaw to which I speak -- it's just too damned hard to use them for the types of images they're supposed to be used for.

    4. Re:Why I don't use PNG by typhoonius · · Score: 4, Informative

      * MSIE support sucks. It is getting better, but it still sucks (yes, I know this is a Microsoft issue not a PNG issue, but I'm not trying to place blame here.)

      The only PNG features IE doesn't support are 8-bit transparency and animation.

      Obviously, GIFs don't give you a full alpha channel either, so the first feature is moot. IE supports 1-bit transparency in PNGs, which puts them on par with GIFs.

      PNG animation is a mess (when Mozilla leaves MNG support out because it's too bloated, you know something's wrong), but that a problem APNG hopes to solve. Remember that IE is being worked on again, so who knows? It has a chance of being implemented (certainly moreso than MNG does, anyway).

      * Gamma value variation. Look at a PNG on one browser, and the blue value will match #0000CC, but look in another browser on another OS, and IT WON'T! Talk about maddening... this is one situation where the extra control by having the ability to specify a gamma value is a curse, not a blessing.

      PNGCrush and PNGOut both get rid of the gamma value. You should run all your PNGs through one of those programs anyway to get the smallest file size, so it's a minor issue. Otherwise, get rid of it manually with TweakPNG.

      It sounds like a lot of work to process a single image, but spending time shrinking download time is something web designers have been doing for over a decade (although I know a lot of people are lazy in the broadband age; it really isn't much more work, though, once you get into the habit of doing it and write some scripts to automate most of it, and it's worth it for the smaller file sizes and the 24-bit color).

    5. Re:Why I don't use PNG by damiam · · Score: 1
      MSIE support sucks. It is getting better, but it still sucks

      Huh? In what way is IE support for PNG worse than for GIF?

      --
      It's hard to be religious when certain people are never incinerated by bolts of lightning.
    6. Re:Why I don't use PNG by david.given · · Score: 4, Interesting
      The same can't be said for PNGs without verifying each of them by hand. That's the fatal flaw to which I speak -- it's just too damned hard to use them for the types of images they're supposed to be used for.

      The only thing I can think of is that the software you're using to save your PNG files must be horribly broken. It should be giving you the option to save the gamma value or not --- for what you want, you want not. The Gimp has a whole dialogue it pops up whenever you save a PNG file asking you what extra information you want to save; resolution, creation date, gamma, etc.

      To remove the gamma chunk from someone else's files, try this:

      sng $1
      grep -v gAMA $1 > gammaless-$1
      sng gammaless-$1

      ...although if you've been converting them to GIFs, you've probably been editing them.

    7. Re:Why I don't use PNG by IoN_PuLse · · Score: 1
      With GIF if I make a pixel in the image #0000ff I am *GUARANTEED* that it will match a DIV with a BACKGROUND-COLOR set to the same hex value.
      I've tried to do this with JPG myself that it didn't work in all cases, I usually have to use a 1x1 JPG of the colour for the background instead of just setting a colour... As the other posters have said, what package are you using to output PNGs? Sounds like their output is broken if you are having gamma issues (which means you're most likely using Photoshop, and it does have broken support for some of PNG's features)
    8. Re:Why I don't use PNG by Twinbee · · Score: 1

      Is this an issue with PNG in general, or is it browsers and viewers generally that could potentially help resolve the gamma correction problem? I just can't imagine that GIF is somehow 'immune' to this, while PNG (by default) isn't.

      If however it is a problem with PNG, then why haven't the authors of the PNG format already done something?

      Am I right in saying that the advantages that the 'gamma correction' feature once had are now not necessary, because most viewers and browsers tend to recognise colour the same way?

      --
      Why OpalCalc is the best Windows calc
    9. Re:Why I don't use PNG by foo12 · · Score: 1

      That's because JPG is lossy and will color shift on you.

    10. Re:Why I don't use PNG by great+throwdini · · Score: 1

      As for simply removing the gAMA chunk from PNG files (as you describe) will alleviate the situation for most browsers ... but then there's Safari, which applies gamma correction to PNG images lacking a gAMA chunk. Pretty much kills color matching should a web author care about Safari.

      Recommended reading: The Sad Story of PNG Gamma 'Correction'.

      For a systematic view of the problem of PNG support as it relates to gamma correction, you can just skip to the pretty chart.

      The solution you offer -- removing the gAMA chunk from all PNGs -- is suboptimal for real-world cases. Sorry.

    11. Re:Why I don't use PNG by IoN_PuLse · · Score: 1

      I know JPG is lossy, but large portions of the same colour will stay the same. The colours just didn't match, even if I made the JPG with the least amount of compression possible.

    12. Re:Why I don't use PNG by Anonymous Coward · · Score: 0

      The same thing happened as usual, (see also PCI) everyone changed to make things work the way they work if a PC engineer + PC programmer don't pay any attention and blunder along blindly. The PC people do their usual half-arsed job and everyone else obeys the standard....

      Except the Mac graphic designers are too precious to put up with this. So a random subset of Mac software (including apparently Safari) gets gamma correction wrong because doing so is more "Mac purist" even if neither copies the de facto PC behaviour nor obeys the de jure standard.

      And of course the Mac people in any organisation are always the ones making style decisions, so you wind up with a web page that looks ghastly on 99.99% of all machines, and a guy in a pink polo neck telling you that it would be OK if you just bought an expensive poorly supported piece of junk like the one he would be carrying right now, except that it had to go back to Apple for replacement parts (third time this month).

    13. Re:Why I don't use PNG by Anonymous Coward · · Score: 0

      a web page that looks ghastly on 99.99% of all machines, and a guy in a pink polo neck telling you that it would be OK if you just bought an expensive poorly supported piece of junk like the one he would be carrying right now, except that it had to go back to Apple for replacement parts (third time this month)

      You must work at the same place that I do.

    14. Re:Why I don't use PNG by jerkface · · Score: 1
      I usually have to use a 1x1 JPG of the colour for the background

      Obviously you don't realize that jpegs use macroblocks ranging in size from 8x8 to 16x16. The image size in bytes would be no larger (and possibly much smaller, depending on the encoder) if it were an 8x8 pixel block of solid color.

    15. Re:Why I don't use PNG by Anonymous Coward · · Score: 0
      MSIE support sucks.
      MSIE's support for PNG is better than its support for GIF. True, MSIE does not support PNG alpha channel. But guess what? MSIE doesn't support GIF alpha channel either (mainly because GIF doesn't have one).

      this is one situation where the extra control by having the ability to specify a gamma value is a curse, not a blessing
      So don't use it. The gAMA block is totally optional.

    16. Re:Why I don't use PNG by Ark42 · · Score: 1

      blue value will match #0000CC

      This may or may not be the issue you are seeing, but I notice on 15/16 bit displays that quite often the rounding of color values is different, even on the same browser but between different image types. CC is 11001100 binary, and I have seen cases where, for example, a GIF with that color in its palette will round down to 11001000 and diplay as #0000C8 but a PNG with a pixel that is supposed to be the same color will round up to 11010000 and display as #0000D0

      This is the reason I absolutely never use the silly "web-safe" palette system. It makes much more sense to assume that any modern system will have at least 5 bits per color channel, and simply leave the last 3 bits as zero to avoid any rounding issue. This means that instead of using 33/66/99/CC/FF you use x0m x8 or FF. It gives you a lot more colors to pick from as well.

    17. Re:Why I don't use PNG by jonwil · · Score: 1

      What % of the browser market does safari hold again?

      Also, has anyone ever considered TALKING to apple about this and why its an issue?

      I dont know safari or its code (Is it open?) but making it not gamma correct PNG files without a PNG chunk should be simple.

    18. Re:Why I don't use PNG by IoN_PuLse · · Score: 1

      1x1 jpgs are pretty damn small, I don't see what I'd gain going to 8x8.... 310 bytes is the average size 8x8 is 350 bytes. Whoopdie do.

    19. Re:Why I don't use PNG by Anonymous Coward · · Score: 0

      That sounds like a gigantic pain in the ass. Why can't I just save my PNG from photoshop or gimp and have it work like GIF?

    20. Re:Why I don't use PNG by wideangle · · Score: 1

      Anyone noticed how much memory IE gobbles when viewing a thread full of PNGs? It doesn't do this for a thread full of similarily sized GIFs or JPGs.

      On one "post your desktop" thread, memory usage was up to 75MB.

    21. Re:Why I don't use PNG by mattkime · · Score: 1

      I'm a bit confused....are you saying we SHOULD get rid of gamma info? Thats not the world I live in. More accurately, I prefer to save my images with ICC profile tags. At least then, if people have a properly set up monitor I can be relatively sure they'll see a decent image. JPEG supports this. Yes, the file size will be a bit larger, but what is the point in designing something if you can't show people the accurate end result?

      --
      Know what I like about atheists? I've yet to meet one that believes God is on their side.
    22. Re:Why I don't use PNG by moonbender · · Score: 1

      At least then, if people have a properly set up monitor I can be relatively sure they'll see a decent image.

      Yes, all five of them. I don't think I personally know anyone who has a properly set up monitor - and I'm studying CS. You might have more luck in the arts/design department, but the point is that virtually no one in the general population has this, which makes it totally irrelevant for web designers (which is what this debate has been about so far). There are more Opera users than people with proofed monitors.

      --
      Switch back to Slashdot's D1 system.
    23. Re:Why I don't use PNG by mattkime · · Score: 1

      Yes, you're right. because comp sci majors don't calibrate their monitors means that people who deal in photography and the arts shouldn't even have the option of including an ICC profile in a graphic.

      I personally know plenty of people who have calibrated monitors. (yes, i'm a photographer, i know i'm skewed) but including ICC profiles typically makes images appear better even on uncalibrated devices.

      --
      Know what I like about atheists? I've yet to meet one that believes God is on their side.
    24. Re:Why I don't use PNG by moonbender · · Score: 1

      Yes, you're right. because comp sci majors don't calibrate their monitors means that people who deal in photography and the arts shouldn't even have the option of including an ICC profile in a graphic.

      Whatever. That's not what I meant, and it's certainly not what I said.

      --
      Switch back to Slashdot's D1 system.
  29. Re:Need help by Anonymous Coward · · Score: 0

    Yeah, grandparent was offtopic-but I gotta say, that's really cool! I never knew about the google calculator before.

    It even does other units:

    "1.2E11eV+to+J" returns the result:

    1.2E11 electron volts = 1.92261175 × 10-08 Joules
    More about calculator.

    Nifty. ^_^

  30. Why doesn't Mozilla include the MNG decoder? by Anonymous Coward · · Score: 2, Insightful

    The article says it's because it's too big, but that's hard to believe, coming from the Mozilla camp. Does anyone have more details? I've been wondering for a while why this hasn't shown up in any of the free browsers. Also, I wonder how SVG relates to APNG. SVG seems like a great format for distributing scalable and moving things, although it's not a bitmap format.

    1. Re:Why doesn't Mozilla include the MNG decoder? by Mekabyte · · Score: 1

      If you have a lot of time, read http://bugzilla.mozilla.org/show_bug.cgi?id=18574 It has more details (mostly spam) than you probably want.

    2. Re:Why doesn't Mozilla include the MNG decoder? by Anonymous Coward · · Score: 0

      I don't know the exact size of the MNG decoder, but apparently it was bigger than all the other image decoders in Mozilla combined.

    3. Re:Why doesn't Mozilla include the MNG decoder? by egoots · · Score: 1

      As I understand it, one of the problems with the size is that MNG library includes the ability to decode PNG images. Unfortunately, Mozilla already had its own PNG decoder and didnt want to consider replacing it with the MNG... so part of the code attributed to MNG was redundant. Its footprint could be made much smaller if it did the PNG too...

      The other main reason for Mozilla to drop MNG from being included by default was lack of a "suitable" code maintainer in the project... for further gory details check out the bug report at: http://bugzilla.mozilla.org/show_bug.cgi?id=18574

  31. Re:Need help by Anonymous Coward · · Score: 0

    *Sigh* It's multiply. Go read the post by Matheus Villela. Then go find a more appropriate place other than slashdot to ask such questions.

  32. A bit OT by Enrico+Pulatzo · · Score: 3, Insightful

    First off, I know all about the drama surrounding IE's PNG support. Secondly, I think those that gripe about it to Microsoft pretty much gripe in vain (at least for now). Thirdly, at least on my work computer, IE uses Quicktime to render PNG files. This leads me to conclude that we, the concerned few should ask Apple to make Quicktime for Windows support PNG's alpha channels. As we do this, we can ask Apple to add support for this APNG format too.

    1. Re:A bit OT by typhoonius · · Score: 1

      Thirdly, at least on my work computer, IE uses Quicktime to render PNG files.

      IE has its own library for rendering PNGs. Obviously, though, the QuickTime browser plug-in can be set to handle image/png (no idea if this is the default behavior).

      The plug-in approach could work. It worked for Flash (which is supported by IE out of the box these days, I think).

      As far as convincing Apple to implement this, though, I'm sure they'll get around to it right after adding Ogg Vorbis support to the iPod.

    2. Re:A bit OT by jonwil · · Score: 1

      Another thing is whether the rendering context Quicktime is given in order to render onto can alpha blend with whatever is underneath it or not.

      Also acording to someone on a MS blog, the problem with alpha blending on windows IE is that (because they need to support older windows versions like NT4 and 98 and because they need the same user experience on all platforms) using functions like AlphaBlend and such (which were added in windows 2000 and later) isnt an option so they would probobly need to do hand-blending which takes coding time.

    3. Re:A bit OT by Enrico+Pulatzo · · Score: 2, Interesting

      That makes little sense, as the DirectX filters are usable on Windows NT. The filters came out with IE 5.5. This means that the alpha-blending group must either suffered political pressure, or were just overlooking this solution when it came to real support in IE 5.5. They could (probably) easily switched the PNG handler to DirectX rather than whatever it is now without the end user really noticing or caring.

      That being said, I'd like to hear their excuse for not supporint <object> properly ;)

    4. Re:A bit OT by Anonymous Coward · · Score: 0

      AlphaBlend was added to Windows 98 and later. It's trivial to write your own blending (mozilla had to do it).

  33. Re:Need help by Anonymous Coward · · Score: 0

    No, it is divide! 1 kg = 2.2 lbs, so in order to get the lbs unit, you must first divide by 2.2.

    What is the world coming to when people can't do simple math anymore...

  34. What's the... by Anonymous Coward · · Score: 0

    ...patent number so I can look at the specs ?

  35. How about streaming? by Anonymous Coward · · Score: 0

    I like the way MJPEG enables site to generate animation frame-by-frame and feed it to client. That combined with simplicity and losslessness of png would rock.

  36. Two Uses of Flash by GeekDork · · Score: 4, Informative

    There are only two valid reasons to include Flash in a web document: sound (for which there should be a global setting in the Flash plugin) and stick fights (SVG anyone?). Everything else does nothing but reduce useability and accessibility. The absolute kicker are flash intros with the skip button embedded instead of a normal link.

    And: what do you need flash or MNG/APNG for if all you want is a red/green-annoyance? To make really good fakes of Luna GUI elements?

    --

    Fight hunger. Filet a politician and send him to a 3rd world country of your choice.

    1. Re:Two Uses of Flash by Anonymous Coward · · Score: 0

      That's nice, but... Weren't we talking about GIFs?

    2. Re:Two Uses of Flash by Phroggy · · Score: 1

      And: what do you need flash or MNG/APNG for if all you want is a red/green-annoyance? To make really good fakes of Luna GUI elements?

      GIF and PNG work fine for me...

      --
      $x='S24;r)>63/* h@<5+oZ)32"5cz';$me='phroggy'x$];
      $x=~y+ -xz+\0-Tx+;print$_^chop$me for split'',$x;
    3. Re:Two Uses of Flash by MikeFM · · Score: 1

      What I'd like to have is a text editable definition language for all the images of a website. Obviously you might have source images that were photographic of nature but all the line drawing, photo editing, filters, etc should be done as text that could be edited easily. I hate trying to edit clients' sites that make use of graphics and they don't have any of the original artwork. Working with something like Photoshop to slice up images is such a dumb methodology anyway. It's much easier to define everything in code that can be manipulated or changed at will. SVG takes care of at least part of that but I'd love to see something that had all the capabilities of Photoshop but as a programming language. Obviously it'd have to be opensourced to be really useful too. THAT'd be a great addition to Mozilla.

      --
      At what price learning? At what cost wisdom? The price is a man's peace of mind, and the cost is his life.
  37. PDF by Zorilla · · Score: 1

    "It's fair to say that most people love PNG images (or at least hate GIFs).

    Wow, for people this passionate about formats, it's a great thing that there aren't any links to PDF files to give us Slashdotters an aneurism.

    --

    It would be cool if it didn't suck.
  38. Use as a video codec? by IoN_PuLse · · Score: 1

    I'd be nice to use this as a video codec, I know mplayer has support for MPNG but I'd love to see a DirectShow version so I could use VirtualDub with it, lossless video would be great for video editing... (I might just end up writing a Directshow codec for MPNG, but DirectShow is such a COM/DX piece of crap I'd rather not have to figure out how to make it work)

    1. Re:Use as a video codec? by Tweaker_Phreaker · · Score: 1

      Aparently you've never heard of CorePNG.

    2. Re:Use as a video codec? by IoN_PuLse · · Score: 1

      Apparently I haven't. Thanks!

    3. Re:Use as a video codec? by labratuk · · Score: 1

      Hi. Lossless video is nothing new. It's called HuffYUV. Fully supported by ffmpeg.

      --
      Malike Bamiyi wanted my assistance.
    4. Re:Use as a video codec? by IoN_PuLse · · Score: 1

      I know abuot HuffYUV, but I have a thing for PNG.

    5. Re:Use as a video codec? by labratuk · · Score: 1

      Pervert.

      --
      Malike Bamiyi wanted my assistance.
  39. Re:Ask a Stupid Question.. by Anonymous Coward · · Score: 0

    How else am I going to be entertained by two yellow smileys clicking beer glasses?!

    Jeesh.

  40. This is just about pointless by Photar · · Score: 1

    If you can't do the animation with a gif, now days people jus use flash.

    --
    He who knows not and knows he knows not is a wise man. He who knows not and knows not he knows not is a fool.
    1. Re:This is just about pointless by 808140 · · Score: 1

      It depends on your POV. The problem with Flash is that it is a non-standards compliant web extension. While admittedly in heavy use, incorporating flash into a W3C standards compliant HTML document is an extremely large pain in the butt, though technically possible with some less-than-clean hackery. With GIF (and APNG) it's as simple as an IMG tag.

      Other than the patent issues (which are admittedly almost a non-issue now, as they've expired in many countries already and will soon in the others), GIF is a rather limited format. It has unfortunate palette restrictions, it doesn't support alpha-transparency, and it actually doesn't compress very well, unless your file is very small (like, 1x1 pixel :p).

      Flash is proprietary, closed, hard to embed in documents in a standards compliant way, a plug-in that doesn't run on lots of platforms and browsers, etc. Plus, it's rather feature-rich, and complete overkill for most small animations.

      GIF was/is patent encumbered, doesn't make use of a lot of the smarter compression and image technology we have today, etc. When GIF first came around, lots of people's displays were only capable of displaying 256 color VGA. That is no longer the case. And while it's more difficult to see the immediate utility of alpha-transparency in an animated image, it could be useful (perhaps) to allow people to make, for example "morphing" text that can be placed on any color/image background, or just in general to make any moving image "fit" into the background. Even Flash does not do this well.

      So in sum, Flash is proprietary overkill, and GIF sucks. Ergo, APNG fills a niche.

      Personally, though, I hate animated BS on websites.

  41. They'll develop a DRM encumbered one.. by cbreaker · · Score: 4, Insightful

    They'll probably come out with the "WMG" format which you will have to pay for a license to sign your own images. Users that visit your site will contact a Microsoft server and ask if it's okay to decode the images. Only IE will work with this system.

    The official press release would be something like "We feel that this new open (to IE) format will provide the much needed protection against web site theft and give necessary control to Microsoft over your own content."

    Would it surprise you?

    --
    - It's not the Macs I hate. It's Digg users. -
    1. Re:They'll develop a DRM encumbered one.. by lachlan76 · · Score: 0, Flamebait

      Users that visit your site will contact a Microsoft server

      That's right! Microsoft doesn't want to be left out of the DDOS market! Raher than download a third party program to bring down our servers, we'll make one seamlessly integrated into Windows, with an OS X version coming soon!

    2. Re:They'll develop a DRM encumbered one.. by Eideewt · · Score: 1

      They'll probably come out with the "WMG" format which you will have to pay for a license to sign your own images.

      But how will we pronounce it? .png is "ping", and .mng is "ming". "Weemg?"
    3. Re:They'll develop a DRM encumbered one.. by cbreaker · · Score: 1

      Well, how do you pronounce WMA or WMV? Or even MP3, PSD? You just say the letters =)

      --
      - It's not the Macs I hate. It's Digg users. -
    4. Re:They'll develop a DRM encumbered one.. by Eideewt · · Score: 1

      Well, yes, but all (all two) previous .png type formats have had specific pronunciations. I suppose Microsoft could break the mold and innovate in that area too. Hey, wait, you say the letters for all those?

  42. MNG as a format by Anonymous Coward · · Score: 4, Interesting

    MNG is as far as I can see the _only_ format suitable for an Amiga-DPaint-workalike in this day and age (no good one exists today except for the astronimically-priced Windows TVPaint/Mirage, and that is a direct descendant of Amiga TVPaint).

    APNG looks too lightweight, missing many features necessary to replace the ancient (but still in use!) Amiga-IFF-ANIM. Sure, it's a replacement for shitty animgifs. But can it replace the Amiga-IFF-ANIM7 roughs for a feature-length cartoon?

    Yes, much of the industry now uses vector animation (i.e. macromedia's stuff), but bitmapped animations are much easier to seamlessly integrate with bitmapped digitised film. Want a(nother) open source killer app? Take the cinepaint/gimp engine, add a dpaint-like interface and MNG support and lots of bitmap-animation-creation-and-editing features, and several animation companies I know can finally lose their old big-box Amiga stockpiles...

    1. Re:MNG as a format by sppavlov · · Score: 2, Informative

      We were only aiming to replace animated GIFs. MNG does have some interesting properties which may make it more useful for things like this, however it has been my experiance talking to web developers that the thing they really want is a small fast easy to use animated GIF replacement.

    2. Re:MNG as a format by Anonymous Coward · · Score: 0

      Yes, that was not intended as a slight to APNG. It is simply that some people are crowing "MNG is dead" as if that were remotely a good thing, so I felt obliged to point out somewhere (a niche, but a profitable one) where MNG is appropriate.

    3. Re:MNG as a format by LocalH · · Score: 1

      YES!

      I miss ANIM7 ;_;

      --
      FC Closer
    4. Re:MNG as a format by Anonymous Coward · · Score: 0

      Adn to further elaborate, in case anyone still doesn't get my point: The tagline was "like MNG, but better" - I recognise that that was just /. / submitter stupidity, but the point is that in fitness-for-purpose terms, APNG probably is better (at least for the moment) for simple animgif replacements. But MNG would be better for professional animators in cartoon studios!

    5. Re:MNG as a format by Anonymous Coward · · Score: 0

      Why wouldn't you use a more generalized movie format for this (such as QuickTime)? It seems ridiclous to invent a fileformat for this single application.

    6. Re:MNG as a format by Anonymous Coward · · Score: 0

      Quicktime is a multistream wrapper format (like Amiga IFF and MPEG4)
      and theoretically a MNG stream could exist in a quicktime file, with the quicktime file providing e.g. a synchronised audio stream too. I.e. there's nothing stopping [most of] MNG being used as a quicktime codec.

      Quicktime codecs, however, are mostly lossy, and the few that aren't lossy that are in wide use at present are horrendously inefficient, basically just dummy codecs that embed uncompressed still frames (usually TIFF!) in the quicktime stream, whereas MNG and IFF-ANIM7-DEEP are efficient 24-bit+alpha delta-compressed formats.

      Compressed Quicktime streams are also usually optimised for playback, whereas ANIM7 and MNG are designed better for random-access editing even though they are compressed.

      This really matters when your animation is 108000 interleaved frames (~1.5 hours) long and you want to retouch two pixels in frames 37501 and 99007... Yes, people do do stuff like that in pro animation work, and doing it on a 2004 Mac (unless you know about TVPaint and can afford it - heaven help you if you're not Disney...) is a PITA compared to a 1994 Amiga 4000.

    7. Re:MNG as a format by Twinbee · · Score: 1

      I've always wanted a decent PC lossless animation format that's quick, highly compressible and convenient. APNG looks like it could fulfil this criteria.

      But for those that can't wait, one of the best I've found so far is to save in a lossless AVI format; the codec is LCL (lossless codec library), created by Kenji Oshima. It compresses cartoon-style animations very well.

      However, there is one format that even beats this, but it means RARring or ZIPping the file at the end. In fact, you've probably already got it - the "Microsoft Video 1" codec. Simply configure the "Video Quality" to 100%, and you have a fair-sized file normally, but when zipped/rarred, it's the smallest I've ever seen. Plus, you can use the animation through the Explorer browser, and can make it run at 60 frames per second or more if you so wish.

      --
      Why OpalCalc is the best Windows calc
    8. Re:MNG as a format by Anonymous Coward · · Score: 0
      APNG looks too lightweight, missing many features necessary to replace the ancient (but still in use!) Amiga-IFF-ANIM. Sure, it's a replacement for shitty animgifs. But can it replace the Amiga-IFF-ANIM7 roughs for a feature-length cartoon?

      Rule number 1 for every art form: "use the right tool for the job".

      APNG is meant to be, as you said, a replacement for shitty animated gifs. It's a web format.

      You absolutely positively need the MNG features? Then, you'd probably want to use MNG, even when the support for the format is somewhat obscure.

    9. Re:MNG as a format by BigSven · · Score: 1

      the thing they really want is a small fast easy to use animated GIF replacement

      But that's exactly what MNG offers. It's a perfect replacement for GIF animations. Given the right tools your web developers will also start to make use of other features it offers like reuse of image objects in multiple frames and the ability to combine JPEG (JNG) and PNG compression.

      The only weak point about MNG is that it is not supported in most browsers. A new format is unlikely to change that. Overall it will even decrease the probability that one day there will be a commonly available animation format.

    10. Re: MNG as a format by Omniscient+Ferret · · Score: 1

      But for those that can't wait, one of the best I've found so far is to save in a lossless AVI format; the codec is LCL (lossless codec library), created by Kenji Oshima.

      I looked into it, and from what I can tell, it's like huffyuv; each frame's a keyframe, so there's no prediction from the previous frame.

      TSCC does this; it was designed for screen captures, so it appears to encode differences pretty well. It worked far better than huffyuv on a something with low motion, anyway. So this _might_ be better for a cartoon, for instance.

    11. Re: MNG as a format by Twinbee · · Score: 1

      Did you try the zlib compressor (aswell as the mszh one) in high compress mode? I remember trying the TSCC one a while back, and found the compression wasn't as good as the LCL/zlib one.

      Another thing to check is to make sure the animation is also converted down to 8 bit mode (256c). Saving in 24bit color when only a few colours are needed will add a significant amount of redundant data to the file. The editor I use - Videomach - can decrease color depth to 8 bit when saving out AVIs.

      Either way, both LCL and TSCC seem to beat the CorePNG codec.

      --
      Why OpalCalc is the best Windows calc
  43. Microsoft Extended Sequential Series by slashname3 · · Score: 5, Funny

    Microsoft recognizes that a new animated image format was needed (after seeing it mentioned on /.). As such they have announced the release of a new standard, Microsoft Extended Sequential Series (MESS).

    MESS will be incorporated into Longhorn and will be one of the major enhancements to the Microsoft operating system. The MESS graphics format will permit content providers to render highly complex images on a users system. The MESS format allows use of Active X components which permits all kinds of interesting effects on a users system.

    When asked about using existing standards executives at Microsoft responded that no other standard in this area exists. Patents have been applied for covering this novel concept and will be agressively defended. Anyone trying to duplicate the intelectual property of Microsoft would be better off using MESS as long as they pay the royalties due Microsoft or they may find them selves in an even bigger MESS.

    Executives were then asked about possible security implications of the new MESS protocol. Executives replied that security is a number one priority and that an updated SP3 patch is currently in the works that will address all security issues. The only thing holding up SP3 release is final release of SP2 patch 1 that is needed to address security issues caused by various linux distributions.

  44. Give me animated JPEG, its easy as piss to code... by cheekyboy · · Score: 1

    Why cant mozilla support animated JPEG, ie whats called MJPEG, or MPEG with only I frames.

    The only code you need is
    A) JPEG still decoder (yes mozilla has that)
    B) and MPEG header decoder, oh too easy, a few pages of source there
    C) add a new mime type or detect it in the JPEG still decoder to check for headers.

    BINGO and its done, where are all the smart coders? I thought theres lots of unemployed hacks out there and students, where are the usefull simple things :)

    Maybe mozilla should get ex-game/demo scene coders to write up new ultra tight code for mozilla that would cause ZERO bloat.

    Bright Idea #12313: lets mozilla have a coding contest to rewrite any component, but the winner must code it to have a smaller memory foot print, and/or be faster code execution too. Overall winner is by the amount of % the code is sped up by, or the % of ram it uses less.

    --
    Liberty freedom are no1, not dicks in suits.
  45. Re:Need help by gujo-odori · · Score: 2, Informative

    You're probably trolling, but just in case you're really that stupid...

    Read the first half of what you wrote: 1 kg = 2.2 lbs.

    Now, quick, what is 1 x 2.2? Could it... 2.2?

    I hope this isn't too complicated, but let's go on to a more advanced example.

    If 1 kg = 2.2 pounds, then 2 kg (and you can verify this with a scale if you can't do simple arithmetic) must weigh 4.4 pounds. And by some odd coincidence, 2 x 2.2 = 4.4.

    Now, if you were to divide 1 by 2.2, you would get app. 0.45, which doesn't fit very well into the idea that to convert kilograms to pounds, you divide the kilogram figure by 2.2, since 1 kg most certainly does not equally app. 0.45 lbs.

    What, indeed, is the world coming to when people (pick one):

    A) Really can't do simple arithmetic anymore;
    B) Can't troll any better than claiming you divide kilograms by 2.2 to get pounds.

  46. Re:Off topic and shit. by Anonymous Coward · · Score: 1, Insightful

    These same people also think NASCAR is the greatest thing on earth, work their 9-to-5 blue collar jobs every day, and watch football every weekend. What's your point? News for nerds, and if that doesn't equal stuff that matters to you, then you clearly are wasting your time surfing the wrong site. Maybe you should try this one.

  47. Header size by maxence · · Score: 4, Informative
    the one advantage GIFs have over PNGs is that they can be animated

    Another advantage GIF has over PNG is its smaller header size which makes small images lighter. A typical 16x16 GIF icon weighing about 100 bytes will translate into a PNG of 200 bytes or more.

    That may sound like nitpicking but it can still matter, for example when transferring images to mobile phones.

    1. Re:Header size by Anonymous Coward · · Score: 5, Informative
      You're exaggerating a little, I think.

      Experiment #1: 1x1 white pixel. Results: GIF 35 bytes; PNG 67 bytes.

      Experiment #2: typical Slashdot icon resized to 16x16. Results: GIF 282 bytes; PNG 277 bytes.

      I don't see the header size making a huge difference. What does make a moderate difference is that PNG is not bound to 256 colours. You can use a 16-colour palette, in which case pixels are packed in 4 bits each. You can use a 4-colour palette, in which case pixels are packed in 2 bits each. Pixels can be of many different depths between 1 bit and 48 bits. GIF does not have this flexibility.

      This is important because icons very rarely use more than 16 colours. PNG gives a win in these cases.

    2. Re:Header size by Anonymous Coward · · Score: 3, Informative
      What does make a moderate difference is that PNG is not bound to 256 colours. You can use a 16-colour palette, in which case pixels are packed in 4 bits each. You can use a 4-colour palette, in which case pixels are packed in 2 bits each. Pixels can be of many different depths between 1 bit and 48 bits. GIF does not have this flexibility.

      Just FYI, GIFs can have 4-color or 16-color palettes.

    3. Re:Header size by Xetrov · · Score: 1

      Of course a PNG can be indexed (eg 256 colours like GIF), or it can be true colour. Having it indexed on a 16x16 image is probably a good idea, as that will probably have a huge impact on size.

    4. Re:Header size by Anonymous Coward · · Score: 0

      Cool.

    5. Re:Header size by Anonymous Coward · · Score: 0

      It isn't so much a 4-color and 16-color palette as it is indexed color. GIF Files store an index of what colors were used in the file. If you have a really kewl editor like photoshop you can even mess with it.

  48. Come on, I want something universal by lightdarkness · · Score: 0

    I want something that takes all the benifits of all the current image extensions, and puts it into one. Will this replace all of the other ones? Or is it just an improvement of png, to overtake gif?

    1. Re:Come on, I want something universal by bhtooefr · · Score: 1

      .BMP - simple file format, no compression, lossless (the .WAV of images), 24-bit color max (IIRC), no transparency support, no animation support .GIF - relatively simple file format, decent compression, lossless, 8-bit color max (without using dirty hacks), 1-bit transparency support, has animation support .JPG - fairly simple file format, great compression, lossy (there are lossless versions, though), 24-bit color max, no transparency support, no animation support (without nasty JavaScript hacks) .PNG - relatively complex file format, good compression, lossless, 24-bit color max, 8-bit transparency support, has animation support in APNG version .MNG - extremely complex file format, similar specs to PNG, has animation support .BMP's simplicity is lost when going to a compressed format. .GIF? APNG is PNG (which isn't much bigger on small images, and smaller on big images) animated. .JPG is normally lossy. .MNG is bloated.

      The only thing that could help PNG is a lossy version of it (since making an image lossy is done in the compression stage, a lossy PNG could even be read by a PNG viewer without modifications) - photographs don't need the extra data.

    2. Re:Come on, I want something universal by 808140 · · Score: 1

      Quoth the parent:

      ... a lossy PNG could even be read by a PNG viewer without modifications

      I doubt this. Here's why.

      I'm not totally aware of how PNG compression works, but because it is lossless, I would assume that it is an intelligently compressed bitmap. That is to say, the decoder is a decompressor, really, that extracts data.

      In a lossy format, however, the decoder actually extrapolates the information that isn't there. See, decoding an image always results in a bitmap, but with PNG/GIF the entire bitmap is encoded in the file (lossless) while with JPEG, only certain "hints" are encoded, and the decoder doesn't just decompress, but "guesses" the missing points from the "hints" in the format.

      The point is that a lossless decoder is doing much less work than a lossy one; so it stands to reason that a lossless PNG decoder (decompressor) would be unable to decode a lossy format, because that required "extra" functionality is not present.

      So it would be impossible to create lossy PNG without changing the decoder. Of course, if my logic is incorrect, I wouldn't mind it being pointed out to me.

    3. Re:Come on, I want something universal by Anonymous Coward · · Score: 0

      Actually, It's possible to reduce the size of resulting PNG file by removing colors from the image. For example it's possible to use only 7 highest color bits in an image and this will automatically lead to file size reduction.

      Something more intelligent like removing only colors that are used the least or provide smallest visible contrast to neighbouring colors in color space could further decrease the file size without too much image quality loss.

  49. Re:Give me animated JPEG, its easy as piss to code by Anonymous Coward · · Score: 1, Informative

    The standard is called motion JPEG.

    There are also versions for the lossless
    variations of JPEG: JEPG-LOSSLESS and
    JPEG-LS

  50. Why wasn't animation included in the first place? by erroneus · · Score: 3, Interesting

    The whole reason for PNG's creation was as a response to the potential doom spelled by the enforcement of GIF patents and of course they took the opportunity to improve on the limitations of GIF as well... but was back in the day, in the very beginning, I assumed that the PNG specification would include animation as part of PNG's purpose.

    I think the best answer here would be to enhance the existing PNG specification just as GIF's original specification was enhanced to include animation. Let's not call it "*.APNG" or "*.MNG" for that matter. It should still be called *".PNG" just as *.GIF always remained.

    I think it would be a mistake to add to the ever-increasing number of filename extensions that exist out there. Isn't this convention a part of DOS and CP/M's legacy anyway? Filename extensions are handy information to append but only to a point.

  51. I like this by Dracos · · Score: 1

    I love png, their only drawback being the lack of a lightweight animation mthod (which mng certainly is not) until now. How did it take 6 years to come up with such a simple solution?

  52. Both your reasons suck by UnConeD · · Score: 3, Informative

    Your two problems are easy to get around.

    1) IE does support transparent PNG, you just need a CSS hack for it. There are tons of scripts around the web to include the hack automatically, one of which is the 'IE7' DHTML behaviour which fixes a lot more than just PNG transparency, and which anyone who wants to do modern webdesign (semantic and tableless) should consider.

    2) If you simply omit the gAMA chunk from your PNGs (pngcrush can do this easily, plus you get tiny PNGs to boot), then the gamma issues will be gone for 99.99% of the browsers. The only ones that will mess up are an outdated version of Opera, a pre-1.0 mozilla on Mac OS, and (unfortunately) Safari on Mac OS X. But Safari is still under development. You can assume that people who use it are keeping it up to date.

    You don't include any gamma information with the rest of your colors (CSS), so it makes sense not to have any in your PNGs either.

  53. Re:Need help by e9th · · Score: 0, Offtopic

    How many mod points were lost to this troll? Sheesh, people.

  54. Re:Why wasn't animation included in the first plac by erroneus · · Score: 1

    ....oops....

    I made an assumption that wasn't correct. Forget I wrote anything about filename extensions... clearly their plan is exactly what I suggested. So their wisdom is at least as good as my own if not better. Who is the keeper of the PNG format? What would it take to correct the obvious ommisions from the first specification? This enhancement should indeed be added.

  55. Re:Give me animated JPEG, its easy as piss to code by Anonymous Coward · · Score: 0

    Bright idea #12314.

    Mozilla is open source.

    Why don't YOU code it and submit it?

  56. Re:Need help by Anonymous Coward · · Score: 0

    Thanks for making my point.

  57. Re:Love PNG and hate GIF? Most people? by typobox43 · · Score: 3, Funny

    I refuse to consider you a fellow geek if you suggest getting out of the house.

  58. On talking about the format by inflex · · Score: 3, Informative

    I just took a look at the 'specification' and I think it's a great one.

    It's not overly complex, it's backwards compatible and it's easy to implement.

    It probably will lack some features which would be nice but at the moment I don't see them being spoken about in the specification (ie, what mode of application for the next frame, OR/AND/XOR/INVERT etc).

    I think with it being as simple as it is to create an APNG from existing PNG's, we could see this format take off a lot faster than MNG. Now it's simply a matter of waiting for Firefox/Mozilla/Opera to pick up their end and make use of the APNG format.

    PLD.

    1. Re:On talking about the format by sppavlov · · Score: 3, Informative

      Vlad and I are currently looking at adding composite operators as well as disposal methods such as those in GIF. They should be in the spec by 1.0.

    2. Re:On talking about the format by inflex · · Score: 1

      Need any helpers?

      I missed my chance on the original PNG format spec, due to being a bit young and everything I was getting was via FIDO net (BBS'ing ;-).

      PLD.

  59. Too little, too late by artemis67 · · Score: 1

    It takes years for browsers to fully support any new standard, so APNG will be more obsolete than it already is by the time IE has full support.

    We already have Flash, which is capable of far more than the APNG format will be.

    If you don't have Flash, then you can animate PNG's (or JPG's) by using a javascript. Doing it this way means you don't have to worry about incompatibility with the APNG format.

    Yeah, the W3 needs to implement a decent animated bitmap format, but the implementation process takes way too long.

    1. Re:Too little, too late by argent · · Score: 1

      We already have Flash, which is capable of far more than the APNG format will be.

      So capable that my absolute favorite Firefox extension is the Flash blocker. Interactive animations are a completely separate category.

      As for using Javascript to animate images... err... the idea here is to *reduce* the bandwidth...

    2. Re:Too little, too late by sppavlov · · Score: 1

      It wouldn't suprise me to see at least the minority browser vendors supporting APNG in the not so distant future...

  60. Re:Give me animated JPEG, its easy as piss to code by sppavlov · · Score: 2, Informative

    The standard way to animated JPEGs in the past has always been using server push (multipart/x-mixed-replace). Mozilla does support this. A lot of webcam sites use this.

  61. No, you're wrong. by Anonymous Coward · · Score: 1

    _I_ hold the power as to what file formats become standard. And some 4 other guys, btw. Ok, make it about 30...

    And I wouldn't be posting here if I was an M5 fanboy... capisce? ;-)

    (BTW, where would I be posting, were I an M5 fanboy? *scratch* *scratch* *think*... Yes! I'd be posting in MSNews!) :^D

  62. Re:Need help by shish · · Score: 1

    C) Don't know how to google it

    --
    I mod down anyone who says "I will be modded down for this", regardless of the rest of their comment
  63. Re:Why wasn't animation included in the first plac by sppavlov · · Score: 5, Informative

    APNG files _are_ PNG files. We didn't create a whole new format (since that would be silly) so APNG files will still be .PNG files. The first frame in an APNG file looks to current PNG decoders to just be a regular PNG. The APNG spec specifies some additional chunks that if found tell an APNG aware decoder how to find the rest of the frames.

  64. Why not by OverlordQ · · Score: 1

    fix MNG and make the decoder smaller instead of adding yet another confusing hack onto png which will give vendors yet another reason not to adopt good png/mng implementations.

    --
    Your hair look like poop, Bob! - Wanker.
  65. Whatever happened to the right tool blah by eokyere · · Score: 1

    for animation, flash works; has ninety-s'thing penetration (give or take)... what else do u want... to be able to say "i am not using flash?"

    1. Re:Whatever happened to the right tool blah by SmurfButcher+Bob · · Score: 1

      Uh, FlashBlock was the first extension I ever got for Firefox. It's also my number two sales-pitch to users for switching to it. And they agree.

      --

      help me i've cloned myself and can't remember which one I am

    2. Re:Whatever happened to the right tool blah by Anonymous Coward · · Score: 1, Insightful
      for animation, flash works; has ninety-s'thing penetration (give or take)... what else do u want... to be able to say "i am not using flash?"

      To be able to say, "I support free and open standards for the Web."

      "Proprietary == bad, mm'kay?"

    3. Re:Whatever happened to the right tool blah by eokyere · · Score: 1

      what's #1? because if it's what i think it is and wasn't enough... maybe you were preaching to the wrong crowd? in which case they couldn't give a fart's ass what #2 is?

    4. Re:Whatever happened to the right tool blah by eokyere · · Score: 1

      swf _is_ open _and_ standard... don't get your "open" and "free" mixed up

    5. Re:Whatever happened to the right tool blah by SmurfButcher+Bob · · Score: 1

      Lol.

      Actually, the "wrong crowd" is exactly the crowd who needs to get off of IE the most, silly.

      --

      help me i've cloned myself and can't remember which one I am

  66. Re:Why wasn't animation included in the first plac by argent · · Score: 2, Informative

    Several people tried to get animation in the original PNG standard, but they were rebuffed because it would take too long. Most of the energy that could have gone to getting a simple animation mechanism out was spent on generating really cool interlacing so that when you downloaded PNGs over your 9600 baud dial-up they'd fade in nicely.

    I admit that I thought the interlacing was kind of cool myself: I had a 9600 baud dial-up at the time.

    I lost interest in the process and left the PNG list after the MNG group was split off. I wanted a format that just let you place PNG images over the background at a given X, Y, and T, and re-use tagged images to make cartoony animations easier. It wasn't nearly as simple as APNG but I don't think it was excessively complex.

  67. Your wish is granted. by Eevee · · Score: 1

    For GIFs, use AniDisable. It allows you to switch the animations on and off with an option on the right-click menu. (It's almost on-the-fly...it has to reload the page after enabling the animations.)

    And while you're at it, grab Image Zoom to allow you to enlarge and shrink images.

  68. Re:Love PNG and hate GIF? Most people? by Anonymous Coward · · Score: 0

    House.Out() just returns void. I thought everybody knew that. (Of course, there really isn't an "everybody", because there's no space for them to exist in, but that's beside the point. :)

  69. They have done that already. by harmonica · · Score: 1

    PNG uses Deflate which beats LZW most of the time. Getting better compression than GIF/LZW was one of the original design goals.

    1. Re:They have done that already. by Anonymous Coward · · Score: 0

      And deflate is already very old. We now have newer 7-Zip format that compress better and decompress the same fast.

      But I afraid it will be rejected like MNGs

  70. Re:Give me animated JPEG, its easy as piss to code by Anonymous Coward · · Score: 0

    Almost any program that allows you to create MJPEG files makes them in to AVI or QuickTime (which Mozilla supports through plugins).

  71. Re:Give me animated JPEG, its easy as piss to code by Ark42 · · Score: 1


    Does Mozilla (or IE for that matter) support server push with PNGs?

    Not that server push helps auto-looping images, and live images probably dont need PNG, but just curious if it does support it with PNGs..

  72. I don't like it by harmonica · · Score: 1

    Animation should be an extension to PNG specs, not some inofficial hack. If it's not possible to get this into official PNG, make your own file format, don't screw with the old one. PNG file checkers will report "additional data after the end of IEND chunk" instead of "OK". That's no good when batch-checking files.

    1. Re:I don't like it by sppavlov · · Score: 1

      We're actually changing the format to have everything inside a single IHDR/IEND. This won't be a problem in v0.3 of the spec.

  73. Re:Give me animated JPEG, its easy as piss to code by sppavlov · · Score: 1

    It doesn't. It wouldn't be super hard to add, but no one has ever asked for it, so I never added it to imagelib.

  74. Adding compression types to PNG by harmonica · · Score: 1

    And deflate is already very old. We now have newer 7-Zip format that compress better and decompress the same fast.

    Even back then "we" had better methods than Deflate plus filters. But they may be patent-encumbered, or very CPU-intensive, or a lot of work to implement. The picked solution was a good mix at the time (1995).

    But I afraid it will be rejected like MNGs

    It probably will. Some of the people designing PNG (Tom Lane?) have said that they should be very conservative about adding new compression types to PNG. And I agree. It's not worth destroying PNG's fragile status as an image file format by making incompatible PNG files official.

  75. 4 letter extensions by HaloGray · · Score: 1

    This is a pretty silly reason for not liking the idea, but I've never been a big fan of 4 letter extensions. Whatever is put out will be used on a large scale only IE can support it. This is obvious. I just hope whatever it ends up being is a simple 3 letter extension.

    --
    System specs: masturbatory ego thrust 100 terahertz processor++
    1. Re:4 letter extensions by imemyself · · Score: 1

      Then we have the problem of 1500 different programs all believing that they have divine rights to all files with the extension .xxx.

      --
      Every time you post an article on Slashdot, I kill a server. Think of the servers!
    2. Re:4 letter extensions by Anonymous Coward · · Score: 0
      Whatever is put out will be used on a large scale only IE can support it.
      What the hell does that mean?
      I just hope whatever it ends up being is a simple 3 letter extension.
      Uh... since it's backwards compatible with PNG, the file extension will probably be PNG.
  76. An unfortunate hack by herbyderby · · Score: 1

    This would be much better as a scaled-down profile of MNG. To make APNG backwards-compatible they've just stuck a bunch of user chunks after the IEND chunk, which of course is supposed to be the last chunk. Besides being a violation of the specification (which is no small matter) this also breaks existing code which reads multiple consecutive PNGs from a datastream. In other words you cannot always use EOF to detect the "actual" end of the image as they seem to assume!

    1. Re:An unfortunate hack by sppavlov · · Score: 1

      There are no additional PNG headers for the additional IHDR/IENDs, so you should have no trouble finding the next image by looking for a PNG header

    2. Re:An unfortunate hack by vukicevic · · Score: 3, Informative

      It doesn't break such code -- if that code is expecting png datastreams one after the other, then it won't find a PNG header after the first one. The "bunch of user chunks" after the IEND are simply an entire PNG, minus the 8-byte PNG header, hardly random chunks. Finally, EOF is mentioned nowhere -- the number of frames that are expected to follow is clearly specified as part of the anIm chunk; EOF before this would be an error/incomplete data condition, and nothing more.

    3. Re:An unfortunate hack by herbyderby · · Score: 1

      Exactly, if the code expects the PNGs in the datastream to be one after the other (I know there is code out there that does this, my Java PNG library supports it by request), after the first frame of an APNG it won't find a PNG header, which means there will be an error due to the presence of the APNG. I really don't see any way to prevent this breakage without using a new signature/mime type and encouraging people to support APNG...instead of trying to be tricky about backwards compatibility.

    4. Re:An unfortunate hack by sppavlov · · Score: 4, Informative

      We are changing the format of APNG so that all the frames live inside of a single IHDR/END. This should resolve any problems you might have. v0.3 of the spec (should be out tomorrow) will have these changes.

    5. Re:An unfortunate hack by BigSven · · Score: 1

      Yes indeed. The only argument against using MNG seems to be that it is too complex. I don't really understand this argument since MNG isn't actually that complex and there is code available that deals with the complexity. However if the point is complexity, then the obvious solution is to define a subset of MNG so that more applications can add support for that subset (and perhaps add full support later). This has been done for other formats (for example SVG) and is has shown to work pretty well.

      The other argument for the new format seems to be backwards compatibility with the PNG format. Applications that don't support it will show the first frame of the animation. Well, this is IMHO a strong argument against this hack. There is no advantage at all in having applications show the first frame of an animation w/o giving any incidence that more frames are available. If the animation format is not supported, nothing should be shown at all.

    6. Re:An unfortunate hack by BigSven · · Score: 1

      I had forgotten that the MNG subset is even already defined in the MNG spec. This whole APNG thing looks very much like a reimplementation of MNG-VLC (Very Low Complexity):

      MNG-VLC

      A very-low-complexity subset of MNG that does not use stored objects, variable framing rates, location of images at positions other than (0,0), or other complex features.

    7. Re:An unfortunate hack by sppavlov · · Score: 1

      You'll note that APNG does support variable frame rates and location of images at positions other than (0,0). Neither of these are complex features and the latter allows you to have smaller subsequent frames ala GIF resulting in much smaller animations.

  77. burn all gifs by cygnusx197 · · Score: 1

    The web design officer's site at the bottom of the burnallgifs site uses gifs. Mmmk.

  78. summary by Anonymous Coward · · Score: 2, Informative
    http://bugzilla.mozilla.org/show_bug.cgi?id=18574: (emphasis added by me)

    ------- Additional Comment #474 From Mike Connor 2004-07-04 09:25 PDT [reply] -------

    reasons why this isn't going to block aviary 1.0 (again, posting to prevent more advocacy posting. If you want to debate this with me, feel free to email)

    a) the code isn't ready, per the owner of the bug and the person responsible for getting things to a point where it can be added back into CVS. We're on way too short of a timeline to take major last minute code.

    b) no one working on Firefox/Thunderbird really wants this at this point (speaking as one of the people heavily involved in Firefox). Thunderbird stopped building with MNG before CVS removal took place. Firebird was probably going to do the same, but CVS removal came first. Its not something that'll likely change going forward, unless MNG support is really low cost (i.e. not 200-300k). At 50-80k the case becomes stronger, of course. The "if you support it, they will come" argument is weak, since we did support this for three years and the content didn't come.

    c) Content that 90% of the web doesn't support isn't going to get created in any substantive way. MNG has the advantage of being more ideologically pure than Flash etc, but if people aren't using it, its cruft, and that's the reality. Given the choice, we'd be much better off bundling Flash with Firefox based on the "size vs. usability boost" equation. I realize lots of people don't like Flash for a myriad of reasons, but users don't care.

  79. Rather Pointless... by evilviper · · Score: 2, Informative

    I was quite interested in using MNG... Not for web images, but actually as a rather good lossless video codec. MNG would make a great codec, and it's already supported by Ogg... You can mux a MNG image into an ogg file (with audio) using oggmerge, available via cvs...err...I mean svn.

    Unfortunately, it seems that there is almost no MNG software available that supports delta encoding (eg. storing only the difference between sequential images), so if you take (10) 100K PNGs, you get a 1,000K MNG. No space savings, no point really. That is where MNG really falls behind GIF.

    It seems mostly pointless, to me, to introduce a new, very similar spec. Backwards compatibily is nice, but not all that necessary, as evidenced by PNG in the first place. In any case, APNG certainly can work where MNG failed, if only good software comes out for it. It's more likely that MNG will get properly advanced software first, but you never can tell.

    As for MNG not being in Mozilla, well that is a strange issue... libMNG supports PNG rendering, so if there were more than a nominal number of MNGs on the web, you might have seen libPNG removed instead. However, since you don't see many MNGs, there wasn't much point to keeping it.

    --
    Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  80. True by Pan+T.+Hose · · Score: 1

    IE won't support it until 2012, and even then, it'll only support half the features.

    And even then, the support will be hardly transparent. (Get it? Transparent!)

    --
    Sincerely,
    Pan Tarhei Hosé, PhD.
    "Homo sum et cogito ergo odi profanum vulgus et libido."
  81. Re:Why wasn't animation included in the first plac by elegie · · Score: 1

    The PNG format FAQ addresses the question of why the PNG format did not incorporate animation. They claim that support for animation would have overloaded the one format. Also, they claim that there would have been a problem of MIME types; would the type for the PNG format be video/png or image/png specifically? (The MIME type for Flash animation is application/x-shockwave-flash.) For the GIF format, it appears that the MIME type is image/gif. It could be said that it should be clear as to whether a file is for a still image or animation.

  82. Advantage? by Pan+T.+Hose · · Score: 1

    "It's fair to say that most people love PNG images (or at least hate GIFs). However, the one advantage GIFs have over PNGs is that they can be animated."

    And this is an advantage? So by ex tension my setting "Settings: Animate images: Never" in Galeon was, what, counter-productive? Seriously, what are animated GIFs used for other that distracting my attention from the text I am desperately trying to read? Is there any other use I am not aware of? I, for one, consider animated GIFs just as useful as Shockwave Flesh or Java, for that matter. Is it only good for illiterate people who don't use Internet to read? I'm curious, because I think those little light flashing hallucinations on the border of my vision area after staring in my CRT all day are enough of a distraction, I don't think I need a real animations to make my "reading experience" even worse. I would seriously like to know what am I missing by disabling it. Is there some new kind of pornography or something which makes animated pictures so popular? I am just curious.

    --
    Sincerely,
    Pan Tarhei Hosé, PhD.
    "Homo sum et cogito ergo odi profanum vulgus et libido."
    1. Re:Advantage? by 808140 · · Score: 1

      Quoth Pan T. Hose:

      Is there any other use I am not aware of?

      In a word, no.

  83. SNG? by Grendel+Drago · · Score: 1

    What's sng?

    Okay, it's a simple question, so I googled it. sng is a minilanguage allowing editing of PNG data in texty form. Hence the above.

    Seems kinda interesting, actually.

    --grendel drago

    --
    Laws do not persuade just because they threaten. --Seneca
    1. Re:SNG? by Anonymous Coward · · Score: 0

      I think everyone here knows howto use google Kinda interesting, actually.

  84. Bye bye MNG. by Grendel+Drago · · Score: 1

    Well, then. This is the end of MNG, methinks. The only leverage it had was being The Only Real Open Alternative To Animated GIF, and now that's gone. The good is the enemy of the best, and all. Now that a Good Enough solution has come along, the pie-in-the-sky dreams of the MNG team will be cast to the winds.

    Then again, as someone else mentioned, perhaps MNG will become a much-used standard in animation postproduction. Or something.

    I just don't see it becoming a web standard now that there's something smaller and better to use.

    --grendel drago

    --
    Laws do not persuade just because they threaten. --Seneca
    1. Re:Bye bye MNG. by BigSven · · Score: 1

      Well, except that this new "format" is not at all better than MNG. In fact it is inferior in a lot of aspects despite of it being a crude hack that violates the PNG spec.

    2. Re:Bye bye MNG. by pipacs · · Score: 1
      I couldn't find any justification for this hack except that the Mozilla MNG decoder is too big - (they say 200 k+.

      How about streamlining the existing decoder instead, aiming for MNG-VLC only, a basic subset of MNG, already covered by the MNG standard, and not much different from what's proposed in APNG.

      Hacking around standards is so IE-ish...

    3. Re:Bye bye MNG. by Glenn+R-P · · Score: 1

      It was over 200k in spring of 2003 when the MNG-removal took place.

      I spent a good deal of last summer reducing it to about 100k (partly by rewriting space-inefficient code and partly by removing unused features), and also reduced libpng from 105k to about 45k by removing
      unused features.

      That appeared to meet the criteria set by the Mozilla drivers, but still it never got back on trunk due to lack of a suitable maintainer.

  85. What I'd like first by Durandal64 · · Score: 1

    I'd rather have a lossy image format that supports 8-bit alpha channels, first. PNG is great, don't get me wrong, but when people post 500 kB PNG screenshots of their desktops, I really do have to ask "Why ... why did you do that when you could've used a JPEG?" A lot of people have mistaken PNG as a new format for everything. Sorry, but it's not appropriate for graphics where your limitations are very well-defined.

    1. Re:What I'd like first by anynameleft · · Score: 1

      It is also annoying when someone posts something like this:

      "My Linux distro renders fonts very beautifully! Look here for a screenshot:

      http://coolfreesi.te/screenshotwithcompression9. jp g"

    2. Re:What I'd like first by vadim_t · · Score: 2, Insightful

      Because JPG is completely inappropiate for screenshots, that's why.

      JPG deals *very* badly with straight lines and black/white transitions, both of which are really common in screenshots, like interface elements and black text on a white background. 500KB screenshots mostly happen because people take a screenshot of their background image.

    3. Re:What I'd like first by Anonymous Coward · · Score: 0

      I wonder sometimes if the editors of Slashdot stick in shill posters to liven up conversation.

      JPG is not a better compressor of screenshots. It's designed for photorealistic images. GIF and PNG work very well for regular information and large slices of homogeneous color like what you get out of a screenshot. Jesus, this is web design 101.

  86. Re: Mozilla is big because... by Cochonou · · Score: 1

    Remember what jwz once said:
    "Mozilla is big because your needs are big"
    I think this still stands true.

  87. ...too expensive by tepples · · Score: 1

    If you don't have Flash

    Which happens to be most of us that don't visit w4r3z sites. Macromedia Flash is beyond the financial means of a recent university graduate who has been looking for a job for the last 15 months.

    1. Re:...too expensive by Anonymous Coward · · Score: 0

      >>If you don't have Flash
      >
      >Which happens to be most of us that don't visit w4r3z sites. Macromedia Flash is beyond the financial means of a recent university graduate who has been looking for a job for the last 15 months.

      Dude, we're all talking about the Flash *plug-in* here (which is free), not the editor to *make* Flash content.

      Geeze.

    2. Re:...too expensive by Anonymous Coward · · Score: 0

      Here's a hint: MOVE.

      CS grads whine when they can't find a job but they're too god damned lazy to go to where the jobs are.

      There are plenty of good jobs for good people and the local companies here keep offering all sorts of scholarships and financial aid for those studying CS, so obviously there are jobs for those who really want them.

      CS is no different than the other fields.. not every region needs them. Move to where the action is or you shall be doomed to burger flipping.

    3. Re:...too expensive by tepples · · Score: 1

      but they're too god damned lazy to go to where the jobs are.

      No, the Indiana vocational rehabilitation agency is too lazy to help me move out of Indiana, and my case worker has informed me that the agency can't guarantee that another state's vocational rehabilitation agency will even take me.

      No, I'm too lazy to uproot my parents and move them out of Indiana until such time as I earn enough money and experience to live independently. How can I become ready to live by myself more quickly?

  88. The right tool is the one you can afford by tepples · · Score: 1

    what else do u want... to be able to say "i am not using flash?"

    I'd rather keep my $500 and write a script to swap images than save up my allowance for months to buy Flash. Or do you know somebody who's hiring recent BSCS graduates in northeast Indiana so that I can afford Flash?

  89. uhm.. oops? by Lord+Bitman · · Score: 1

    Repeating frames, maybe? Can't you do that in GIF?

    --
    -- 'The' Lord and Master Bitman On High, Master Of All
  90. Re:Need help by Anonymous Coward · · Score: 0

    I started the thread. Given the number of responses, and wasted mod points, I'd say it was a pretty successful troll...

  91. Theres at least a couple more by crisco · · Score: 1
    Name another vector drawing format that is as widely supported in browsers. While we'd all wish SVG was it, it simply hasn't achieved the installed base of clients that Flash has.

    While the animation capabilities of Flash have been widely misused, there are still examples of useful interactive animations that would take a great deal more bandwidth done any other way.

    Flash is also useful for font embedding. While both Netscape and Microsoft came up competing technologies that never really caught on, Flash and a touch of JavaScript allows supporting browsers (most of them) to substitute bandwidth friendly Flash for larger, fixed resolution images in a web standards compliant process. And while you might think that the few fonts your browser usually displays are fine, the /. crowd's fascination with anti-aliased font technologies like FreeType illustrates the need for properly rendered text. And if I can't convince you, try talking about the sorry state of web typograpy with your local font geek.

    --

    Bleh!

  92. Animated JPEGs? by Air-conditioned+cowh · · Score: 2, Informative

    Anyone thought of this? Often animated gifs are used to animate photos. This is probably not the best way to do it and APNG won't help unless it supports some kind of lossy compression.

    Is it possible to implement little motion-JPEGs in a browser without it adding too much code?

    Just asking.

    1. Re:Animated JPEGs? by anno1602 · · Score: 1

      Are you talking about mpeg?

    2. Re:Animated JPEGs? by balster+neb · · Score: 1

      Its possible, and its been done. Its called MPEG.

      Anyway, this may be of interest to you.

  93. GIF isn't being lossy; Photoshop is. by cryptor3 · · Score: 1

    Technically it's not GIF that's losing the image data. Actually it's Photoshop (or image manipulation program of choice) that's implementing the dithering and quantization of the colors (and therefore "losing" data.) This all happens well before the GIF encoding is executed.

  94. Apparently I'm being redundant by cryptor3 · · Score: 1

    somehow I didn't see the AC post above me.

  95. AJPEG ... does it exist? Could it? by RichCorb · · Score: 1

    So, is there an "AJPG" / "AJPEG" format out there at all, or could this be created using the same principles as APNG ?

    1. Re:AJPEG ... does it exist? Could it? by BigSven · · Score: 1

      MNG supports animations that include JNG (JPEG Network Graphics) datastreams. It can even be mixed with PNG compressed image data. Very useful if for example you want to animate text or a logo over a photographic background. There's really no need for new formats, MNG has everything you need.

    2. Re:AJPEG ... does it exist? Could it? by arose · · Score: 1
      MNG has everything you need.
      Minus support. GIMP won't save JNG, Mozilla won't show you the thing.
      --
      Analogies don't equal equalities, they are merely somewhat analogous.
    3. Re:AJPEG ... does it exist? Could it? by BigSven · · Score: 1

      Adding JNG support to the GIMP plug-in would be trivial. As soon as MNG is finally put back into the Mozilla trunk, I promise to add JNG support for the GIMP MNG plug-in.

      "Mozilla won't show you the thing." is just plain wrong though. I've created animations using JNG chunks and the Mozilla firefox extension shows them just fine.

    4. Re:AJPEG ... does it exist? Could it? by arose · · Score: 1

      Nice and very nice.

      --
      Analogies don't equal equalities, they are merely somewhat analogous.
    5. Re:AJPEG ... does it exist? Could it? by arose · · Score: 1

      ...But I use Galeon as my main browser, I'll test whatever it supports MNG when I get home.

      --
      Analogies don't equal equalities, they are merely somewhat analogous.
    6. Re:AJPEG ... does it exist? Could it? by tenu · · Score: 1

      Yes, it does exist and it's called MPEG.

      Putting it like that is not entirely accurate, because MPEG's a lot more than animated JPEG. But there's some truth to it since MPEG uses the same algorithms as JPEG, and MPEG's I-frames are sort-of JPEG-encoded still images.

  96. PNG by Anonymous Coward · · Score: 0

    PNG means PNG's Not Gif rather than Portable Network Graphics. (Like GNU = GNU's Not Unix)

  97. Stupid idea by BigSven · · Score: 1

    This is a very stupid idea. Just when MNG was finally getting the attention it deserves and MNG support for Mozilla is about to be integrated back into the main trunk, some morons come up with a new format which is inferiour to MNG and also clearly violates the PNG spec. Let's hope this thing is forgotten soon and let's focus on making all browsers support MNG.

  98. Re:Need help by Anonymous Coward · · Score: 0

    Which part of "from" and "to" you not understand, 'tard?

  99. yes, and lets start ... by danalien · · Score: 1
    in our own "back yard' 1st?? *mmmkay* :)

    • wget -O - -q www.slashdot.org | grep -i .gif

    --
    I don't claim I know more than I know, and if you know you know more than I know, then by all means, let me know.
  100. Active window palette setting by cbr2702 · · Score: 1

    This used to happen in Windows 95/98 too when the color depth was 256.

    --


    This post written under Gentoo-linux with an SCO IP license.
  101. And one more reason by Anonymous Coward · · Score: 0

    ...because the client wants it and will pay good bank for it.

  102. Re:Why wasn't animation included in the first plac by Anonymous Coward · · Score: 0

    File extensions aren't important on the web; media types are used for identifying the type of resource. So, translating your argument to that context, you are saying that there shouldn't be a video/apng and that image/png should be re-used?

    This means that supporting clients cannot indicate to servers that they support video/apng in their Accept header. It means servers can't transparently serve either animated GIF or animated PNG to browsers depending on which they support.

    Your suggestion has a very big downside that can prevent APNG adoption - who would serve APNG files if they knew that the majority of users would only see the first frame? A new media type would enable gradual adoption, re-using image/png would merely make it an all-or-nothing affair - something that is very unattractive to web developers, a group that is vital if APNG is to succeed.

  103. But what does the w3c say about this? by TB · · Score: 1

    But what does the w3c say about this? After all they're the ones who decide what happens on the web. The mozilla guys making APNG is just as bad as MS using IE custom tags.

    From what ive seen the specs aint looking to good, for now Im personaly saying stick with the MNG and JNG.

  104. Not Rather Pointless... by Anonymous Coward · · Score: 0

    I was annoyed when drivers removed MNG support from trunk, so I had quick look through the libmng code with a view to helping reduce the size of the library. It wasn't pretty, IIRC it was originally coded for Borland C or something with seriously funky #ifdef's added liberally throughout. I'm not dissing the quality of the code, but I wouldn't want to maintain it.

    Not sure why people think it's a good idea to drop a stable, production tested library (which was updated to fix security holes just this month) in favor of an unstable, unfinished and untested one?

    Native (and complete) browser support for MNG and SVG is a wet-dream and I'm tired of lying in damp patches, APNG has potential as a welcome compromise. /me Thanks Pav

  105. Seriously by Merk · · Score: 1

    I used the web when images were fairly new. Then I used the web when animated gifs were new, and very shortly after that, as soon as I could, I found a way to disable them. I haven't seen an animated gif in years. Mozilla and most proxies make it easy to disable them, and there's a good reason for that. Animated images are awful. Let them die. I assure you that as soon as Mozilla supports APNGs, it will also have a means of disabling them, and many people will do that instantly.

  106. Re:Need help by gujo-odori · · Score: 1

    D) When I could actually get modded up Informative just for explaining that kg = lbs x 2.2 :-P