←back to thread

Faking a JPEG

(www.ty-penguin.org.uk)
291 points todsacerdoti | 1 comments | | HN request time: 0.422s | source
Show context
puttycat ◴[] No.44538667[source]
> compression tends to increase the entropy of a bit stream.

Does it? Encryption increases entropy, but not sure about compression.

replies(2): >>44538728 #>>44538745 #
1. gregdeon ◴[] No.44538745[source]
Yes: the reason why some data can be compressed is because many of its bits are predictable, meaning that it has low entropy per bit.