1. An image processing apparatus comprising: a generation unit that generates first intermediate data from print data and generates character edge data serving as second intermediate data by extracting edge sections of a character from the print data; a processing unit that applies a rendering process to the first intermediate data, applies a first halftone process using a dither matrix with a first number of lines to data after the rendering process to generate a first halftone image, applies a rendering process to the second intermediate data, and applies a second halftone process using a dither matrix with a second number of lines greater than the first number of lines to data after the rendering process to generate a second halftone image; and an output unit that outputs a halftone image obtained by an OR operation of the first halftone image and the second halftone image, wherein the character edge data is data obtained by extracting inside lines of the edge sections of the character in a case where a density of the character is equal to or greater than a predetermined density.