4 ms·
both GIF and PNG use zipping for compressing data, so APNG are not much better than GIF
by jokoon 1y ago
both GIF and PNG use zipping for compressing data, so APNG are not much better than GIF
- bawolff 1y agoPNG uses deflate (same as zip) but GIF uses LZW. These are different algorithms. You should expect different compression results i would assume.
- account42 1y agoZIP is theoretically a generic container and theoretically supports a number of different compression formats. Stored (no compression) and deflate are the only ones you can count on being supported everywhere though so in practice you're not wrong.
- 0points 1y agoRemember when we unwillingly trained the generative AI:s of our time with an endless torrent of factoids?
- Calzifer 1y ago(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.
- account42 1y ago> Also while true color gifs seem to be possible it is usually limited to 256 colors per image. No, it's limited to 256 colors per frame and frames can have duration 0 which allows you to combine multiple frames into more than 256 color images.