7 ms·
Why is that funny? Sometimes compression is lossy, like JPEG and H.265
by shwaj 2y ago
Why is that funny? Sometimes compression is lossy, like JPEG and H.265
- pornel 2y agoAnd the internal state of a JPEG decoder can be an order of magnitude larger than the JPEG file (especially progressive JPEG that can't stream its output).
- okdood64 2y agoI don't lose anything with gzip or rar.
- giancarlostoro 2y agoAnd just as fast? The issue here is how do you do these things both accurately and while maintaining reasonable speeds.
- fwip 2y agoYou can make any lossy compression scheme into a lossless scheme by appending the diff between the original and the compressed. In many cases, this still results in a size savings over the original. You can think of this as a more detailed form of "I before E, except after C, except for species and science and..." Or, if you prefer, as continued terms of a Taylor-series expansion. The more terms you add, the more closely you approximate the original.