11. A non-transitory computer-readable recording medium storing a file name producing program for producing a file name of an image, said program causing a computer to execute processing comprising the steps of: a character string selecting step of selecting a candidate character string from character strings extracted from said image, the candidate character string becoming a file name candidate; a determination step of determining whether a head character of the candidate character string is a space; a production step of producing, when it is determined that the head character of the candidate character string is not a space, the candidate character string as the file name of the image; an accepting step of, when it is determined that the head character of the candidate character string is a space, accepting an input indicating whether the candidate character string is to be used as a file name; a candidate character string correcting step of correcting said candidate character string by removing the head character that is a space when it is determined that the candidate character string is to be used as the file name; and a file name producing step of producing the corrected candidate character string as the file name of said image, when the input indicates that the candidate character string is to be used as a file name; and producing a different character string extracted from the image other than the candidate character string as the file name of said image when the input indicates that the candidate character string is not to be used as the file name of the image.
12. The non-transitory computer-readable recording medium according to claim 11 , wherein the program further causes the computer to correct at least two successive spaces included in said candidate character string when said candidate character string includes said at least the two successive spaces.