Documentation for setCompression()