Sjmarf@sh.itjust.works to Programmer Humor@programming.dev · 1 month agoLDACsh.itjust.worksimagemessage-square22fedilinkarrow-up12arrow-down10
arrow-up12arrow-down1imageLDACsh.itjust.worksSjmarf@sh.itjust.works to Programmer Humor@programming.dev · 1 month agomessage-square22fedilink
minus-squareenbipanic@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up1·29 days agoSome compression is lossy
minus-squaremsfroh@lemmy.calinkfedilinkarrow-up1·29 days agoSo when you zip some files and then unzip them, some of the bytes are missing? Really?!
minus-squareAnUnusualRelic@lemmy.worldlinkfedilinkarrow-up1·29 days agoIt’s only the zeros, so you’re not really missing anything.
minus-squareKanda@reddthat.comlinkfedilinkarrow-up0·29 days agoIf nothing is lost, what did you compress away? Decompression is magic, I ain’t gotta explain shit
minus-squareKayana@ttrpg.networklinkfedilinkarrow-up1·29 days agoIf you want the magic explained, here’s a start: https://en.wikipedia.org/wiki/Lempel%E2%80%93Ziv%E2%80%93Welch
minus-squareSwedneck@discuss.tchncs.delinkfedilinkarrow-up1·edit-229 days agoyou compressed away redundant data, 1111111000000000011111111 -> (1x7)(0x10)(1x8)
Compression is lossy.
Some compression is lossy
So when you zip some files and then unzip them, some of the bytes are missing? Really?!
It’s only the zeros, so you’re not really missing anything.
If nothing is lost, what did you compress away? Decompression is magic, I ain’t gotta explain shit
If you want the magic explained, here’s a start: https://en.wikipedia.org/wiki/Lempel%E2%80%93Ziv%E2%80%93Welch
you compressed away redundant data, 1111111000000000011111111 -> (1x7)(0x10)(1x8)