drewnoakes/metadata-extractor

HEIF image width & image height not correct?

开放

#569 创建于 2022年2月22日

 (1 条评论) (0 个反应) (0 位负责人)Java (470 个派生)batch import
format-heifhelp wantedimage-queue

仓库指标

星标
 (2,411 个星标)
PR 合并指标
 (平均合并 3天 2小时) (30 天内合并 2 个 PR)

描述

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

贡献者指南