Maintain metadata when writing image to album