Results 1 to 7 of 7

Thread: APNG encoding

  1. #1
    Join Date
    Nov 2005
    Location
    Leeds, UK
    Beans
    1,634
    Distro
    Ubuntu Development Release

    APNG encoding

    I can't find a proper encoder for apngs anywhere on the internet. I think there is one built into firefox but that's not much use to me as I need something that I can encorporate into my program so a python module or a program that I can access via the commandline is ok. Does anyone know where I can find something like this?

    Thanks.

  2. #2
    Join Date
    Jul 2005
    Beans
    1,535
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: APNG encoding

    ImageMagick and libpng both support apng.
    When I invented the Web, I didn't have to ask anyone's permission.
    ~Tim Berners-Lee on Net Neutrality
    -------------------------------------
    Visit the Ubuntu Programming IRC-channel at #ubuntu-programming (chat.freenode.net).

  3. #3
    Join Date
    Nov 2005
    Location
    Leeds, UK
    Beans
    1,634
    Distro
    Ubuntu Development Release

    Re: APNG encoding

    Erm how do I use it with imagemagick? I can't find any documentation and using the same command as for gifs doesn't work...

    Code:
    convert -delay 20 -loop 0 *.png anim.png
    just converts each png separately rather than actually putting it together into an apng.

    And I have absolutely no idea how to use libpng. I don't know any C or whatever, just python and bash.

  4. #4
    Join Date
    Jul 2005
    Beans
    1,535
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: APNG encoding

    It looks like I misspoke, imagemagick does not appear to support apngs yet. Some searching found this firefox add-on: https://addons.mozilla.org/en-US/firefox/addon/5519

    Is that sufficient for what you need?
    When I invented the Web, I didn't have to ask anyone's permission.
    ~Tim Berners-Lee on Net Neutrality
    -------------------------------------
    Visit the Ubuntu Programming IRC-channel at #ubuntu-programming (chat.freenode.net).

  5. #5
    Join Date
    Nov 2005
    Location
    Leeds, UK
    Beans
    1,634
    Distro
    Ubuntu Development Release

    Re: APNG encoding

    Yeah, I used to use that editor but at the moment it's firefox only. However, the main problem is that I can't use it as part of another program. I need to encode the images and stuff automatically.

  6. #6
    Join Date
    Jul 2005
    Beans
    1,535
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: APNG encoding

    Sorry then, beyond libpng, I do not know of anything else. There is a tutorial for using libpng to make apngs though if you get desperate and want to try: http://littlesvr.ca/apng/tutorial/book1.html
    When I invented the Web, I didn't have to ask anyone's permission.
    ~Tim Berners-Lee on Net Neutrality
    -------------------------------------
    Visit the Ubuntu Programming IRC-channel at #ubuntu-programming (chat.freenode.net).

  7. #7
    Join Date
    Nov 2005
    Location
    Leeds, UK
    Beans
    1,634
    Distro
    Ubuntu Development Release

    Re: APNG encoding

    Thanks for trying to help. I can't really use libpng. I guess I'll just have to use gifs until it's added to image magick or something more accessible.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •