EXIF tag · IFD0

ImageWidth

Width of the image in pixels (IFD0).

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

What ImageWidth means#

Width of the image in pixels (IFD0).

Read, write and remove it#

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

In Python with Pillow:

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

Frequently asked questions#

What is the EXIF tag ID of ImageWidth?

0x0100 (256 decimal), in the IFD0 directory.

How do I see ImageWidth in a photo?

Run exiftool -ImageWidth 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