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. Should You Carry Extra Lens Caps? Why Spares Save Shoots
  2. Best Gifts for School Photography Teachers by Budget
  3. Best Gifts for Photographers When You Don't Know Their Camera
  4. The Most Dependable Way to Back Up Family Photos
  5. Who Needs a Dedicated Photo Printer at Home
  6. Are Large Cleaning Kits Better Than Basic Sets
  7. Do You Need a Macro Focusing Rail in the Field
  8. Do You Need a Heated Lens Wrap for Aurora Photography
  9. Does an Extended Warranty Cover Accidental Drops
  10. Do Padded Camera Straps Actually Stop Neck Pain