Add metadata to image.