Text this: Generation of UV Ellipsoidal Pulses by 3D Amplitude Shaping for Application in High-Brightness Photoinjectors.