EXIF tag · IFD0

DepthFormat

(tags 0xc7e9-0xc7ee added by DNG 1.5.0.0)

0xc7e9
Tag ID (51177 decimal)
IFD0
IFD / group
int16u!
Data type
EXIF
Table

What DepthFormat means#

(tags 0xc7e9-0xc7ee added by DNG 1.5.0.0)

Defined values#

ValueMeaning
0Unknown
1Linear
2Inverse

Read, write and remove it#

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

In Python with Pillow:

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

Frequently asked questions#

What is the EXIF tag ID of DepthFormat?

0xc7e9 (51177 decimal), in the IFD0 directory.

How do I see DepthFormat in a photo?

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