1. A system for producing a 2D (2 Dimensional) code with an embedded image for an automated machine generated process, comprising a processor that produces the 2D code with an embedded image by: i) obtaining character string information to be encoded for the 2D code; ii) obtaining a first graphic data to be embedded in the 2D code; iii) generating the 2D code by encoding the obtained character suing information; iv) binarizing pixels of bright and dark areas in the first graphic data to obtain a second graphic data; v) adjusting an alignment location and an alignment size of the second graphic data in the generated 2D code; vi) tentatively aligning the second graphic data in the generated 2D code, according to the adjusted alignment location and the alignment size; vii) calculating an error rate of the 2D code which has the second graphic data tentatively aligned; viii) repeating the fifth to the seventh steps until the error rate becomes equal to or lower than a first threshold value; and ix) determining the alignment location and the alignment size of the second graphic data by referring to the calculated error rate.