1. A program which is used for generating an image, the program causing a computer to function as: image generation means for generating an image; path recognition means for performing recognition processing of a path of an input by a user, based on input information of the input from an input section which allows the user to input an arbitrary shape; and size information generation means for generating size information indicating size of the path, wherein the path recognition means determines whether or not the path satisfies a predetermined condition; and wherein, when the path satisfies the predetermined condition, the image generation means generates a path image indicating the path based on the input information and a production image in accordance with the size of the path based on the size information.