1. An image forming apparatus comprising: an acquisition unit configured to acquire a gloss value corresponding to a colorant which contains pigment and is used to print a target image; a determination unit configured to determine a degree of dispersion of dots to be used for printing the target image on the basis of the gloss value and a target gloss value; and an image forming unit configured to print the target image on the basis of the degree of dispersion determined by the determination unit.