The British painter was a compelling subject for photographers from Cecil Beaton to Henri Cartier-Bresson