Actress Katherine Heigl and Duane Reade have come to an agreement in a lawsuit accusing the New York pharmacy of improperly posting to its social media accounts a paparazzi photograph of her leaving one of its stores. On Wednesday, a lawyer for Heigl, who starred in the film “Knocked Up” and television show “Grey’s Anatomy,” confirmed a deal was agreed with the Walgreen Company-owned chain to resolve the lawsuit filed back in April. As part of the deal, Duane Reade will make a contribution to a foundation focused on animal welfare, established in 2008 after Heigl’s brother was killed in a car accident.