Lighting greatly affects the quality of the resulting photo.
Best results can be achieved with bright and evenly distributed light, preferably daylight. On a bright sunny day, you can increase the aperture number to get a sharper picture.
Important! The flash must not be used to take pictures of documents printed on glossy paper. Compare an image with galre with a good quality image:
Compare an image that is too dark with a good quality image: