1. An electrophotographic image forming apparatus that forms an image onto a print medium based on input image data, comprising: a setting unit configured to set, based on component values of a plurality of colors acquired for each pixel of the image data, a limiting value on a toner amount to use in the image formation for each pixel; and an image forming unit configured to form an image onto the print medium with an amount of toner less than or equal to the limiting value set by the setting unit, wherein the setting unit sets the limiting value based on the number of colors having the component value greater than a threshold value decided in consideration of toner fixing failure among the acquired component values of the plurality of colors.