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."
IE won't support it until 2012, and even then, it'll only support half the features.
how soon will such functionality be implented in major graphic manipulation programs like Photoshop?
:P
Oh, and yeah, I'm sure someone will make it work with The Gimp, so don't flog me over that detail.
Join the TWIT army now!
Microsoft holds the power in their hands as to what file formats become standards. Hopefully they'll make the right decision...
Discussion can be found here: http://bugzilla.mozilla.org/show_bug.cgi?id=257263
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.
Haven't they realised that animated GIFs only serve to irritate?
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...
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
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.
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,
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.
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
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.
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.
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.
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. -
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...
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.
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.
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.
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.