compress | |||||||
Type | function | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Summary | |||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Parameters |
| ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: URL, inverse, file, binfile, string Function: compress, decompress Glossary: return, binary file Control Structure: function | ||||||
Description | Use the compress function to compress data to a smaller size for transmission. The compress function is the inverse of the decompress function. The compressed result is typically about half to a third the size of the original data, although different results may be obtained depending on the amount of data and whether it has already been compressed.
For technical information about the format used by the compress function, see RFC 1952. The compress function uses the zlib compression library. | ||||||
Tags | text processing |