Tuesday, May 12, 2026

automator – Convert HEIC to JPG retaining EXIF

Background:

Some years in the past initially of an prolonged journey round Australia my digital camera (a Nikon) gave up the ghost so I began utilizing my iPhone5S and it took fairly acceptable footage.
I used my customary means of transferring my photographs (not utilizing the Images app) and will extract the and manipulate the EXIF information.

As a result of Covid enforced journey restrictions I have not finished a lot travelling or pictures.
I the meantime I upgraded to an iPhone13 however solely used it for informal snapshots.

I not too long ago returned fro a visit to South Africa and took fairly a number of photographs utilizing the iPhone, which I’ve transferred to my Mac Mini utilizing Finder. For some motive greatest identified to Apple it quarantined all my photographs, however I eliminated the prolonged attribute.

I observed I had a mixture of JPG & HEIC pictures (I’m certain there’s a setting to manage this).

I needed to transform the HEIC to JPG and scale back the scale for importing to a web site.
I’ve found quite a few strategies (utilizing Fast Motion Convert Picture or in Preview)

The Convert Picture motion has an choice to Protect Metadata however this did not appear to preserve the Date Time Digitised or Date Time Authentic

My older code may extract this information, however solely labored with JPG information.

My questions are is there a way to transform retaining these attributes or some easy course of to extract from the HEIC file (as a result of I’ve verified that EXIF exists)

I’ve discovered that the Finder Preview does really present the Date Time Authentic – which it calls “Content material Created”.
What I would like now is a technique to extract it and use to change the date. My current workflow now not appears to work

I’ve discovered exiftool -DateTimeOriginal extracts the specified Date/Time

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles