An image forming apparatus comprising: a conversion means configured to convert image data based on a conversion condition corresponding to a type of halftoning including first halftoning and second halftoning different from the first halftoning; an image processing means configured to perform the halftoning on the image data converted by the conversion means; an image forming means configured to form an image on a sheet based on the image data halftoned by the image processing means; a measurement means configured to measure a measuring image formed on the sheet by the image forming means; an acquisition means configured to receive input of the number of sheets on which the measuring image is to be formed from a user; and a controller configured to control the image forming means to form the measuring image on a plurality of sheets, control the measurement means to measure the measuring image on the plurality of sheets, and generate the conversion condition based on a measurement result of the measurement means, wherein the measuring image includes a first measuring image (image screen) and a second measuring image (text screen), wherein, in a case where the controller controls the image forming means based on a predetermined mode to form the measuring image, the controller determines, based on the number of sheets on which the measuring image is to be formed input by the user, the number of sheets on which a first measuring image (image screen) is to be formed, wherein, in a case where the controller controls the image forming means based on the predetermined mode to form the measuring image, the number of sheets on which a second measuring image (text screen) is to be formed is a predetermined number, wherein the first measuring image (image screen) is used for generating a first conversion condition corresponding to the first halftoning, and wherein the second measuring image (text screen) is used for generating a second conversion condition corresponding to the second halftoning. a conversion means configured to convert image data based on a conversion condition corresponding to a type of halftoning including first halftoning and second halftoning different from the first halftoning; an image processing means configured to perform the halftoning on the image data converted by the conversion means; an image forming means configured to form an image on a sheet based on the image data halftoned by the image processing means; a measurement means configured to measure a measuring image formed on the sheet by the image forming means; an acquisition means configured to receive input of the number of sheets on which the measuring image is to be formed from a user; and a controller configured to control the image forming means to form the measuring image on a plurality of sheets, control the measurement means to measure the measuring image on the plurality of sheets, and generate the conversion condition based on a measurement result of the measurement means, wherein the measuring image includes a first measuring image (image screen) and a second measuring image (text screen), wherein, in a case where the controller controls the image forming means based on a predetermined mode to form the measuring image, the controller determines, based on the number of sheets on which the measuring image is to be formed input by the user, the number of sheets on which a first measuring image (image screen) is to be formed, wherein, in a case where the controller controls the image forming means based on the predetermined mode to form the measuring image, the number of sheets on which a second measuring image (text screen) is to be formed is a predetermined number, wherein the first measuring image (image screen) is used for generating a first conversion condition corresponding to the first halftoning, and wherein the second measuring image (text screen) is used for generating a second conversion condition corresponding to the second halftoning.