Compression techniques for handling biomedical images