A non-transitory computer-readable storage medium storing a program for causing a computer to execute a method of controlling an image processing apparatus that performs image processing for generating a print in which additional information is embedded,
- wherein the method comprises:
- setting a halftone pattern used for halftone processing out of a plurality of halftone patterns;
- determining whether or not, in a case where the set halftone pattern is used for the halftone processing, encoded patterns generated based on the additional information can be uniformly reproduced from a color plane with which the encoded patterns are synthesized;
- and
- performing, in a case where it is determined that the encoded patterns cannot be uniformly reproduced, a warning notification for notifying before outputting a print in which the additional information is embedded, a user that the print is a print which can cause failure in decoding the additional information.