EXIF tag · IFD0

ImageHeight

Height of the image in pixels (IFD0).

0x0101
Tag ID (257 decimal)
IFD0
IFD / group
int32u!
Data type
EXIF
Table

What ImageHeight means#

Height of the image in pixels (IFD0).

Read, write and remove it#

# read
exiftool -ImageHeight photo.jpg
# write
exiftool -ImageHeight="…" photo.jpg
# remove
exiftool -ImageHeight= photo.jpg
# all files in a folder, as CSV
exiftool -csv -ImageHeight -r ./photos > image-height.csv

In Python with Pillow:

from PIL import Image
exif = Image.open("photo.jpg").getexif()
value = exif.get(0x0101)  # ImageHeight
print(value)

Frequently asked questions#

What is the EXIF tag ID of ImageHeight?

0x0101 (257 decimal), in the IFD0 directory.

How do I see ImageHeight in a photo?

Run exiftool -ImageHeight photo.jpg, or open the file's info panel in Lightroom, Photoshop, Windows (Properties → Details) or macOS Preview (Tools → Show Inspector).

Last updated October 03, 2026 · How we calculate · Sources