logoalt Hacker News

jokoontoday at 8:08 AM3 repliesview on HN

both GIF and PNG use zipping for compressing data, so APNG are not much better than GIF


Replies

Calzifertoday at 11:34 AM

(A)PNG supports semi-transparency. In GIF a pixel is either full transparent or full opaque.

Also while true color gifs seem to be possible it is usually limited to 256 colors per image.

For those reasons alone APNG is much better than GIF.

bawolfftoday at 10:26 AM

PNG uses deflate (same as zip) but GIF uses LZW. These are different algorithms. You should expect different compression results i would assume.

0pointstoday at 10:39 AM

Remember when we unwillingly trained the generative AI:s of our time with an endless torrent of factoids?