1. An image processing apparatus, comprising: an obtaining unit configured to obtain a foreground image object to be rendered with an overlap with a background image object, the foreground image object partially overlapping a pixel which is partially overlapped by the background image object; a determination unit configured to determine whether or not at least information indicating a rendering rule for the foreground image object indicates a specific rendering rule among a plurality of rendering rules, the rendering rule for an object being indicated by a kind of attribute of the object; and a control unit configured to control a rendering so that the obtained foreground image object shows up and the obtained background image object does not show up in the pixel, in a case where the determination unit determines that at least the information does not indicate the specific rendering rule.