EXIF tag · IFD0

DepthNear

The DepthNear tag stored in the IFD0 directory.

0xc7ea
Tag ID (51178 decimal)
IFD0
IFD / group
rational64u!
Data type
EXIF
Table

What DepthNear means#

The DepthNear tag stored in the IFD0 directory.

Read, write and remove it#

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

In Python with Pillow:

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

Frequently asked questions#

What is the EXIF tag ID of DepthNear?

0xc7ea (51178 decimal), in the IFD0 directory.

How do I see DepthNear in a photo?

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