You are trying to use a naked flash to photograph a shiny surface; that never works very well.I still can't manage the camera flash settings correctly.
You need to diffuse the light. Try using a sheet of white paper between the flash and the PCB, or better yet bounce the light from the flash off a white wall or ceiling.
The best lighting is outdoors on an overcast (cloudy) day. That light is very even with no shadows.