Photography freed painting from a lot of tiresome chores, starting with family portraits.