love.math.compress
Available since LÖVE 0.10.0 This function is not supported in earlier versions. Compresses a string or data using a specific compression algorithm. This function, depending on the compression format and level, can be slow if called repeatedly, such as from love.update or love.draw. Some benchmarks are available here. Function Synopsis compressedData = love.math.compress( rawstring, format, level ) Arguments string rawstring The raw (un-compressed) string to compress. C