This paper presents a detailed description of the acquisition and processin
g of a large body of imaging data for three fields in the globular cluster
M4 taken with the Wide Field and Planetary Camera 2 aboard the Hubble Space
Telescope. Analysis with the ALLFRAME package yielded the deepest photomet
ry yet obtained for this cluster. The resulting data set for 4708 stars (po
sitions and calibrated photometry in V, I, and, in two fields, U) spanning
approximately six cluster core radii is presented. The scientific analysis
is deferred to three companion papers, which investigate the significant wh
ite dwarf population discovered and the main-sequence population.