Optical resolution of beam cross-section measurements by means of synchrotron radiation