Searching across image boundaries in an HEIC file.

Started by BC, February 07, 2025, 10:15:45 AM

Previous topic - Next topic

BC

Apple uses HEIC (High Efficiency Image Container) files for storing their Spacial (3D) photographs captured with the Apple Vision Pro (AVP) and the latest iPhones.  This is not unlike MPO files which contain 2 or more JPEG images, and similar tricks such as Leia's LIF format which does basically the same thing -- stacking multiple images within a single file.

So I've tried the following command to search a Spatial HEIC file from an AVP, but it appears that only the tags from the first (Left) image are found.

$ exiftool -ee3 -U -G3:1 -api requestall=3 -api largefilesupport 04DHH-avp-spatial.HEIC \
> | fgrep -i camera

[IFD0]          Camera Model Name : Apple Vision Pro
[ExifIFD]       Lens Model        : Apple Vision Pro Left Main Camera 2.16mm f/2.0
[Composite]     Lens ID           : Apple Vision Pro Left Main Camera 2.16mm f/2.0

Is there an additional command line option I'm missing to force the entire file to be read across image boundaries?

Phil Harvey

Could you send me a sample for testing?  My email is philharvey66 at gmail.com

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Phil Harvey

You must be using an old version of ExifTool.  With version 13.18 I get this:

> exiftool -ee3 -U -G3:1 -api requestall=3 -api largefilesupport 01_avp-still.HEIC | grep -i camera
[IFD0]          Camera Model Name               : Apple Vision Pro
[ExifIFD]       Lens Model                      : Apple Vision Pro Left Main Camera 2.16mm f/2.0
[Doc1:IFD0]     Camera Model Name               : Apple Vision Pro
[Doc1:ExifIFD]  Lens Model                      : Apple Vision Pro Right Main Camera 2.16mm f/2.0
[Composite]     Lens ID                         : Apple Vision Pro Left Main Camera 2.16mm f/2.0

Also note that LargeFileSupport is enabled by default since version 12.88.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).