Surface Photometry of Extended Images