PX decompresser and compresser