gif2apng.sf.net
apng2gif: APNG -> GIF converter
apngasm: APNG Assembler
apngdis: APNG Disassembler
apngopt: APNG Optimizer
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 anim.gif [anim.png] [/kp]
/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
Examples:
| GIF Animation | APNG Animation |
|---|---|
|
|
![]() |
![]() |
| size = 8068 | size = 6369 |
|
|
![]() |
![]() |
| size = 87090 | size = 69102 |
As you see here, two GIF examples were converted into smaller APNG files. The exact filesize difference depends on the type of animation, but the average savings are approximately 20%.
C source code of gif2apng is available under zlib license, it's quite small (compression by zlib library) and the binaries are available for Windows, Linux and Mac OS X.
You are welcome to leave the comments and suggestions at the Main Forum. You don't need to register.