1. A method implemented in a computer infrastructure comprising a combination of hardware and software, the method comprising: identifying a plurality of similar images in an electronic document; designating one of the plurality of similar images as a master copy; and replacing each remaining one of the plurality of similar images, other than the master copy, with one of (i) a duplicate copy of the master copy and (ii) a soft link pointing to the master copy.