Replies: 3 comments 1 reply
-
If exiftool generated an error or a warning then OSXPhotos should have displayed this. (see example below). If you're able to share one of the images with me at [email protected] I'll take a look. You could also try running exiftool manually on one of the original images with the
|
Beta Was this translation helpful? Give feedback.
-
As usual, the issue was so simple I couldn't see it: the issue seems to be with Apple Preview. Preview is unable to read exif data on on these specific files, but pixelmator can, Immich can as well, seems it's a bug in Preview for these specific files... |
Beta Was this translation helpful? Give feedback.
-
Interestingly though, the exiftool command results in a file which does not present the same problem, Preview is able to read the exif without issue. $ exiftool -verbose -IPTC:Keywords=Test IMG_0027.jpg
======== IMG_0027.jpg
Rewriting IMG_0027.jpg...
Editing tags in: APP13 IPTC Photoshop
JPEG APP0 (14 bytes)
Creating APP13:
Creating Photoshop
Creating IPTC
JPEG COM (10 bytes)
JPEG DQT (130 bytes)
JPEG DHT (416 bytes)
JPEG SOF0:
JPEG SOS
1 image files updated |
Beta Was this translation helpful? Give feedback.
-
It appears as if exiftool is failing, but there is no error. The resulting file has no EXIF. Adding
--sidecar XMP
produces XMP sidecars with the correct data (I'm mostly interested in the date).If I open the file on macOS and press Command-I, under info, there's strange
{general}
section, which is empty):The originals are scans, meaning they do not have any EXIF data, but my understanding is that exiftool is smart enough to create the entire exif block if it cannot find it.
How can I troubleshoot why exiftool is failing here?
The command:
./venv/bin/osxphotos export -VV --library "/Volumes/microSDXC/Pictures/Library1.photoslibrary" --album "0606 : Excursion" --skip-original-if-edited --exiftool --ignore-date-modified --keyword-template "{folder_album(>)}" --sidecar XMP --directory '{folder_album}' "/Volumes/microSDXC/Pictures/Library1 – export"
osxphotos 0.68.5 (installed via pip in a venv)
exiftool 12.76
macOS 14.6.1
Beta Was this translation helpful? Give feedback.
All reactions