Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
bawolff
0y ago
0 comments
Save
Share
PNG uses deflate (same as zip) but GIF uses LZW. These are different algorithms. You should expect different compression results i would assume.
0 comments
1 comments · 1 top-level
top
newest
oldest
account42
0y ago
ZIP 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.
j
/
k
navigate · click thread line to collapse