image compression

See #85