gif2apng.sf.net

Download gif2apng

Browse all files

Forum


GUI version:

gif2apng_gui.png



Command-line version:

gif2apng_cli.png



Related projects:

apng2gif: APNG -> GIF converter

apngasm: APNG Assembler

apngdis: APNG Disassembler

apngopt: APNG Optimizer



Check out http://photobucket.com/apng gallery:
APNG1
APNG2
APNG3
APNG4
APNG5
APNG6
APNG7
APNG8

Support This Project


gif2apng is a simple program that converts animations from GIF to APNG format.

It disproves the common misconception that Animated PNG files are always too big, as it actually creates APNG files smaller than the original GIFs. Command-line version is very easy to use, and available for all major OSes. GUI version for Windows is also available.

Command line: gif2apng [options] anim.gif [anim.png]

/z0: zlib compression

/z1: 7zip compression (default)

/z2: Zopfli compression

/i##: number of iterations (default -i15) for 7zip and Zopfli

/kp: keep palette from GIF as is, do not optimize it.



Mass conversion, if you need to process all GIFs in the current directory:

for %%f in (*.gif) do gif2apng %%f



Example:

grace-hoppers-107th-birthday.gif
GIF = 97 864 bytes
grace-hoppers-107th-birthday.png
APNG = 77 472 bytes

In this example, APNG is 20% smaller than original GIF (source). It's clear that bandwidth savings from switching to APNG could be quite significant, considering it's a lossless conversion. Alternative solutions like HTML5 video codecs or lossy animated WebP could produce noticable artifacts on computer graphics type of animation like the above example.

Command-line version of gif2apng is available for all major OSes, there is also a GUI version for Windows. C++ source code is available under zlib license.

GIF vs APNG vs WebP comparison: http://littlesvr.ca/apng/gif_apng_webp.html


You are welcome to leave the comments and suggestions at the Main Forum. You don't need to register.

Hosted by Get APNG from GIF at SourceForge.net. Fast, secure and Free Open Source software downloads