Beam quality measurements using digitized laser beam images