1. An apparatus comprising: a display unit configured to display a setting screen for a user to select a setting as to whether to add a new encoded image to an image to be inputted by an input unit; the input unit configured to input the image; a searching unit configured to search the input image for an encoded image; an adding unit configured to, if a user selects the setting to add a new encoded image, add the new encoded image to the input image; and a control unit configured to control the display unit, wherein, in a case where the searching unit finds the encoded image in the input image, the adding unit outputs the input image including the new encoded image but not including the found encoded image, wherein, in a case where a setting of the searching unit to search for an encoded image is changed not to search for an encoded image based on a user's instruction, the control unit controls the display of the setting screen so that the setting to add the new encoded image cannot be selected by the user, and wherein the searching unit, the adding unit, and the control unit are implemented by one or more processors.