Compress given pdf