1. An information processing apparatus comprising: a memory configured to store a program; at least one processor to execute the program; wherein the at least one processor, while executing the program: detects a plurality of regions corresponding to respective attributes in a predetermined image, by analyzing predetermined image data of the predetermined image; determines one or more regions included in a target region serving as a thumbnail image, out of the detected plurality of regions; and generates thumbnail image data corresponding to the target region including the one or more determined regions, wherein the at least one processor determines, based on a first attribute obtained by the analysis of predetermined image data of a first region out of the plurality of regions and a second attribute, different from the first attribute, obtained by the analysis of predetermined image data of a second region out of the plurality of regions, whether both of the first region and the second region are included in the target region or only one of the first region and the second region is included in the target region.