A compressor that allows for compression on 2, 3 or 4 bit/sample, useful respectively for topographic monitoring and interferometric applications, is presented. The implementation on a rad tolerant DSP permits to achieve high efficiency levels exploiting parallelization at the instruction and possibly board level.