EXIF tag · ExifIFD

ExposureProgram

Which exposure mode was used — manual, program, aperture priority, shutter priority, etc.

0x8822
Tag ID (34850 decimal)
ExifIFD
IFD / group
int16u
Data type
EXIF
Table

What ExposureProgram means#

Which exposure mode was used — manual, program, aperture priority, shutter priority, etc.

Defined values#

ValueMeaning
0Not Defined
1Manual
2Program AE
3Aperture-priority AE
4Shutter speed priority AE
5Creative (Slow speed)
6Action (High speed)
7Portrait
8Landscape
9Bulb

Read, write and remove it#

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

In Python with Pillow:

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

Frequently asked questions#

What is the EXIF tag ID of ExposureProgram?

0x8822 (34850 decimal), in the ExifIFD directory.

How do I see ExposureProgram in a photo?

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