<< SeaMonkey 2.0a2 candidate build1 - please help testing! | The roads I take... | Integration eines Magento-2-Webshops mit FreeFinance und selbstgebautem Warenmanagement >>

The ongoing hassle with APNG

The SeaMonkey throbber image, a rounded animated image of bubbles rising up in front of the SeaMonkey logo, is still a GIF, even on trunk. Therefore, it doesn't look too good on the non-alpha-transparent rounded borders when using a dark background, like here:



(This is showing the still version, which is just a non-animated copy of the first frame of the animation, so that the transition to the real animation is smooth.)

I've meant to look into this for quite some time, and now, a bug was filed for this (the image above is a screenshot attached there), so I came to think about it once again.

The obvious alternative is to use an APNG image, which is supported since Gecko 1.9, see this article about better animations (also using a throbber as an example, btw).

But here comes the problem: Even though APNG now has a project website and apparently even an APNG campaign, we still don't have a lot of tools I could use to create our animated throbber. The list of applications that work with APNGs isn't very long, the four application apparently capable of editing APNGs are two closed-source Windows/Java apps and two add-ons, one for another Java app I don't have and one for Firefox 3.
Apart from all those just being animation assembly apps and not image editors, I can't use any of them in my usual workflow, I don't even have Firefox 3 installed, I just have SeaMonkey trunk and Minefield trunk. The latter might work for dolske's APNG Edit Add-On, the former doesn't, as I saw when even trying with an install.rdf hack and a slight overlay change last time I tried (which was some time ago, when it was still pretty new).

Now I have been through all this discussion around MNG and animated alpha-transparent images that lead to the creation of APNG, and yes, MNG is probably an ugly spec while APNG is right to the point of what we want, sure. But this continuing lack of tools doesn't help. I'm usually doing all my imagery design with the GIMP, and this as well as a large number of others support saving animated GIFs as well as MNGs but no sign of APNG there (not even in the very current 2.6 version I have here).
So if I even get this Firefox Add-On to run that seems to be the "best" option, I need to create single PNG frames with the GIMP, assemble them with the Add-Ons, test them, go back to the GIMP for adjustments, re-import the changed frames with the Add-Ons, and redo those steps until it works. Not the ideal way to do things.

I just hope this format gets adopted by major editors or I fear all we'll have in our Mozilla source will be a format that is even more dead than MNG - which is clearly not what we wanted. Let's see if I can get that throbber done at least - I don't even know if I have anything better than those GIF frames as originals, so I might need some amount of heavy tweaking there.

Entry written by KaiRo and posted on December 6th, 2008 14:14 | Tags: APNG, Mozilla, SeaMonkey | 8 comments

TrackBack/Pingback

  • Home of KaiRo: APNG Throbber Bubbling Up In Nightlies (Pingback)
  • Comments

    AuthorEntry

    Andrew Smith

    quote
    Sounds like http://littlesvr.ca/apng/assembler/assembler.php woul work for you
    2008-12-06 20:07

    Nome

    quote
    I'm probably a troll
    Sorry to troll but...

    A) The PNG guys didn't approve APNG.

    B) Perhaps SVG would be a cool choice. Vectorial + Transparency + Animation...
    2008-12-07 01:26

    Keith

    from The United States

    quote
    APNG and MNG
    Yeah, I really never got the logic of why MNG was removed. Sure, it was pretty big by itself, but compared to the size of the Mozilla code, it wasn't bad at all. MNG does really make more sense, from the viewpoint of tools available and the authority of it (as Nome said, APNG wasn't approved by the PNG guys).
    2008-12-07 02:51

    Alan

    quote
    Maybe Mozilla should sponsor an effort to get APNG implemented in some open-source graphics programme, like GIMP. Like you say, without any good authoring tools however good APNG is it will be hindered. (And perhaps we'd be more likely to see someone like Safari pick up APNG if there was more demand for it created by... the ability to easily make APNGs!)
    2008-12-07 16:10

    JW vanLohuizen

    quote
    Throbber in New Tab Please
    Please update the throbber so that it opens a new tab rather than the current behavior which navigates away from the page on the currently selected tab.

    Thank You
    2008-12-07 16:32

    RichB

    quote
    What are the advantages of APNG over Ogg Theora? Gecko has support for both.
    2008-12-07 18:43

    Anonymous guest

    quote
    Quote of RichB:
    What are the advantages of APNG over Ogg Theora? Gecko has support for both.

    APNG - image
    Theora - video/audio
    2008-12-08 11:39

    Asrail

    from Salvador, Brasil

    quote
    For what I've seen on net, it is not likely to get APNG support officially for GIMP.
    The APNG support is not even on libpng and the guy who did maintain the patches for libpng gave it up.
    A GIMP plugin for APNG support would have to use the patched libpng.

    For MNG we had good tools, but without good use. For APNG, we have good use, but without good tools.
    2008-12-09 01:58

    Add comment