Intelligent Compression