Strategies for on-chip digital data compression for X-ray pixel detectors. (1st January 2021)