EXIF tag · ExifIFD

ExifImageWidth

Width of the main image in pixels.

0xa002
Tag ID (40962 decimal)
ExifIFD
IFD / group
int16u:
Data type
EXIF
Table

What ExifImageWidth means#

Width of the main image in pixels.

Read, write and remove it#

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

In Python with Pillow:

from PIL import Image
exif = Image.open("photo.jpg").getexif()
value = exif.get_ifd(0x8769).get(0xa002)  # ExifImageWidth
print(value)

Frequently asked questions#

What is the EXIF tag ID of ExifImageWidth?

0xa002 (40962 decimal), in the ExifIFD directory.

How do I see ExifImageWidth in a photo?

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

Last posts

  1. Best Film for Landscape Photography and How to Choose
  2. What ISO to Use Outdoors for Sharp Photos
  3. Best ISO Film for Outdoor Photography and How to Choose
  4. ISO 200 vs 400 for Daylight Photography
  5. How Much Should a Roll of 35mm Film Cost Today
  6. How Long Does 100ft of Film Last by Format
  7. How Much Cash to Bring for a 7 Day Trip Budgeting Basics
  8. How Many Outfits for a 7 Day Trip and How to Pack Light
  9. How to Protect Camera Lenses from Humidity and Fungus
  10. Protecting Electronics From Humidity and Corrosion