licecap icon indicating copy to clipboard operation
licecap copied to clipboard

Compatibility with APNG (Animated PNG) files

Open victorwestmann opened this issue 6 years ago • 6 comments

Hi there. First of all thank you for making such an awesome piece of software and for making it open source. This is much much appreciated! ~:-)

I was just wondering if it is possible, maybe in a future release, to make APNG files as output option as well. Is it possible to donate to have certain feature requests implements for future releases? If so please let us know.

Thank you very much.

victorwestmann avatar Aug 16 '18 20:08 victorwestmann

apng would be a great output target. Higher color support, better compression, open format, and reasonably ok cross browser support (excluding ie and edge at the moment.)

mreinstein avatar Jan 16 '19 21:01 mreinstein

I would like this too. I found a comparsion page http://littlesvr.ca/apng/gif_apng_webp.html GIF vs APNG vs WebP vs Lossy WebP. Result: APNG is the winner.

Maybe WebP is a option too?

Daijobou avatar Mar 09 '19 08:03 Daijobou

+1 for donate button 👍

mitrakov avatar Jul 28 '20 21:07 mitrakov

+1 for donate button too! Could not agree more.

On Tue, Jul 28, 2020, 2:03 PM Mitrakov Artem, [email protected] wrote:

+1 for donate button 👍

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/justinfrankel/licecap/issues/54#issuecomment-665281087, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEOHKLIVPWNTCSM4EI2RIDR544IRANCNFSM4FQCBCUA .

victorwestmann avatar Jul 28 '20 21:07 victorwestmann

Or maybe WEBP?

It's supported by more browsers than APNG, and creates 62% smaller files.

WEBM files are even smaller, but unlike WEBP files you can't put a loop flag inside of the WEBM file.

AVIF is cool (94% smaller file than the GIF), but lots of browsers don't have animation support for it.

caniuse.com Improvement
GIF 100% 0% = 2.0MB
APNG 96% 35% = 1.3MB
WEBP 97% 75% = 0.5MB
WEBM 97% 90% = 190kB
AVIF 83% 94% = 126kB

Size comparison from https://lukeroberts.tv/blog/gif-vs-animated-png/.

I got the AVIF by converting the original GIF at https://ezgif.com/gif-to-avif/, the WEBP image by converting the original GIF at https://ezgif.com/gif-to-webp/, and the WEBM image from https://ezgif.com/gif-to-webm/.

walles avatar Mar 01 '23 08:03 walles

webm would be awesome. Much smaller then gif and widely supported.

silverwind avatar Apr 07 '23 20:04 silverwind