Cadmium iodide, CdI2, is a chemical compound of cadmium and iodine. It is notable for its crystal structure, which is typical for compounds of the form MX2 with strong polarization effects. Cadmium iodide, CdI2, is a chemical compound of cadmium and iodine. It is notable for its crystal structure, which is typical for compounds of the form MX2 with strong polarization effects. Cadmium iodide is used in lithography, photography, electroplating and the manufacturing of phosphors. Cadmium iodide is prepared by the addition of cadmium metal, or its oxide, hydroxide or carbonate to hydroiodic acid.