In single-particle coherent x-ray diffraction imaging experiments, performed at x-ray free-electron lasers (XFELs), samples are exposed to intense x-ray pulses to obtain single-shot diffraction patterns.