drewnoakes/metadata-extractor

HEIF image width & image height not correct?

Open

#569 opened on Feb 22, 2022

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Java (2,411 stars) (470 forks)batch import
format-heifhelp wantedimage-queue

Description

Hi Drew, I noticed that the HEIF Directory always returns the following:

HEIF - Width - 512 pixels HEIF - Height - 512 pixels

While the actual the EXIF directory returns the proper sizes: Exif SubIFD - Exif Image Width - 4032 pixels Exif SubIFD - Exif Image Height - 3024 pixels

perhaps it is grabbing these, or is something else happening?: Exif IFD0 - Tile Width - 512 Exif IFD0 - Tile Length - 512

Attached a sample HEIC

citron.HEIC.zip

Contributor guide