Advertisements

Archive for June 9th, 2019

Reimport an image and MOV file as a Live Photo in macOS Photos

If you have a Live Photo in your macOS Photos library, and export it using File > Export > Export Unmodified Original, you’ll end up with 2 (or 3) files:

  1. an image file that is the still image,
  2. an MOV file that is the video and sound portion of the Live Photo,
  3. and optionally an XMP file (if you selected Export IPCT as XMP)

Reimporting the image or the movie file will give you separate files in your photos library. If you want to reimport these, make sure they both have the same filename (except for the extension) and drag both the image file and the MOV file (and the XMP file, if you have it) to Photos at the same time. Photos will reimport them as a single Live Photo.

Advertisements

Leave a comment

Import XMP sidecar data into JPG file

This is a quick tip based on my experience handling image files with XMP sidecar files.

XMP sidecar files typically contain useful data such as GPS information and file keywords. Some asset management software may not handle the sidecar file as easily as an image file, so you can import the XMP data directly into the image file using exiftool.

Example:

exiftool -tagsfromfile IMG_1234.XMP -all:all IMG_1234.JPG

If you want to loop through a directory of files, try this:

for x in *.JPG; do exiftool -tagsfromfile ${x%.*}.XMP -all:all $x; done

References: https://superuser.com/a/1414490

Leave a comment