This MATLAB function compresses the image X using the compression method COMP_METHOD.
www.mathworks.com