Versatility of a hard X-ray Kirkpatrick-Baez focus characterized by ptychography.