gives a compressed representation of expr as a string.
Details and Options
- Compress[expr] gives a compressed representation of any expression.
- The string generated by Compress contains only printable ASCII characters.
- Uncompress is the inverse of Compress.
Basic Examples (3)
A compressed representation of with 100-digit precision:
Import an image:
Number of bytes used to store the image:
Number of bytes of a compressed representation of the image:
Compress a general expression:
In this case there is almost a factor of 50 compression:
Properties & Relations (1)