/apng/ - Animated PNG

RIP in pieces GIF

Posting mode: Reply

Check to confirm you're not a robot
Drawing x size canvas

Remember to follow the rules

Max file size: 350.00 MB

Max files: 5

Max message length: 4096

Manage Board | Moderate Thread

Return | Catalog | Bottom

Expand All Images

(242.27 KB 256x224 yourbrainonpng.png)
What is APNG? Anonymous 05/05/2016 (Thu) 04:50:58 [Preview] No. 1
APNG is the animated extension of the PNG image format.

It has many advantages over GIF that you may not be aware of.
-has far better compression than GIF due to not being locked down to a proprietary compression scheme
-is not limited to 256 colors (GIF technically isn't either, but file sizes explode because you lose compression capability)
-is not limited to ~50 frames per second due to calculating frame display times in 10 millisecond increments; APNG instead has vastly finer frame rate control
-has gradient levels of transparency rather than a binary on/off, allowing some things that cannot be done easily in GIF, such as transition animations or blending colors between frames

Why use APNG instead of video formats like WebM?

APNG is especially good at traditional 2D animation.

WebM animates like most compressible video formats with heavy image compression over every frame and is able to achieve very small file sizes at the expense of visual fidelity. In contrast, like Animated GIF, APNG has the advantage of outright discarding visual information that doesn't change from one frame to another ("alpha compositing" or "delta-frame" compression) while being a lossless format. Alpha compositing allows animated formats to typically achieve smaller file sizes than lossless video formats when dealing with limited colors and animation. APNG additionally outperforms WebM's animation-supporting image format sibling, WebP at lossless animation.
Edited last time by CaptainPNG on 08/06/2019 (Tue) 18:24:09.

Anonymous 05/05/2016 (Thu) 05:02:36 [Preview] No. 3 del
(2.45 MB 256x224 mizzilesz.gif)
(917.02 KB 256x224 mizzilesz.png)
The simple act of converting a standard GIF to an animated PNG almost always results in a smaller file size. Indeed, the file size savings are sometimes shockingly significant.

Here is an example of potential file size savings comparing an animated GIF with its identical animated PNG counterpart. The APNG is nearly a third of the file size!

Over several years and hundreds of converted GIFs, I have personally only come across exceptions a couple of times now. The only times in which conversion to APNG has resulted in a larger file I am at a loss for replicating how the original GIF was optimized so well in the first place. I believe this is due to the nature of the conversion tool failing to replicate the original optimization technique.

Top | Return | Catalog | Post a reply