As a result of advances in nanotechnology and the burgeoning capabilities for fabricating materials with controlled nanoscale geometries, the traditional notion of what constitutes an optical device continues to evolve. The fusion of maturing low-cost lithographic techniques with newer optical design strategies has enabled the introduction of artificially structured metamaterials in place of conventional materials for improving optical components as well as realizing new optical functionality. Here we demonstrate multilayer, lithographically patterned, subwavelength, metal elements, whose distribution forms a computer-generated phase hologram in the infrared region (10.6 μm). Metal inclusions exhibit extremely large scattering and can be implemented in metamaterials that exhibit a wide range of effective medium response, including anomalously large or negative refractive index; optical magnetism; and controlled anisotropy. This large palette of metamaterial responses can be leveraged to achieve greater control over the propagation of light, leading to more compact, efficient and versatile optical components.