Finding the best copy of a JPG or HEIC with EXIF data