Metadata

Learn how to read and extract EXIF and IPTC metadata from images.

Learn how to read and extract EXIF and IPTC metadata from images.

Table of Contents

What is Metadata?

Image metadata is embedded information about the image and how it was created:

EXIF (Exchangeable Image File Format):

  • Camera settings (ISO, aperture, shutter speed)

  • Date/time photo was taken

  • GPS coordinates

  • Camera make and model

  • Image dimensions and orientation

IPTC (International Press Telecommunications Council):

  • Copyright information

  • Creator/photographer name

  • Keywords and categories

  • Caption/description

  • Headline and title

Reading EXIF Metadata

Get All EXIF Data

BIF Syntax:

Get Specific EXIF Tag

BIF Syntax:

Check for EXIF Data

Reading IPTC Metadata

Get All IPTC Data

BIF Syntax:

Get Specific IPTC Tag

BIF Syntax:

Common EXIF Tags

Camera Information

Camera Settings

Date and Time

GPS Information

Image Information

Common EXIF Tag Reference

Tag Name
Description
Example Value

Make

Camera manufacturer

"Canon", "Nikon"

Model

Camera model

"EOS 5D Mark IV"

DateTime

Last modification time

"2025:01:15 14:30:22"

Date/Time Original

Original capture time

"2025:01:15 14:30:22"

ISO Speed Ratings

ISO sensitivity

400, 800, 1600

F-Number

Aperture value

2.8, 5.6, 16

Exposure Time

Shutter speed

"1/500", "1/60"

Focal Length

Lens focal length

"50mm", "24mm"

Flash

Flash status

"Flash fired", "No flash"

GPS Latitude

GPS latitude

[40, 44, 54.36]

GPS Longitude

GPS longitude

[-73, 59, 10.56]

Orientation

Image orientation

"Normal", "Rotate 90 CW"

Common IPTC Tags

Descriptive Information

Editorial Information

Common IPTC Tag Reference

Tag Name
Description
Example Value

Copyright Notice

Copyright information

"© 2025 John Doe"

By-line

Creator/photographer

"John Doe"

Headline

Image headline

"Sunset Over Mountains"

Caption/Abstract

Image description

"Beautiful sunset..."

Keywords

Search keywords

["landscape", "sunset"]

Category

Image category

"Nature"

Credit

Credit line

"Photo by John Doe"

Source

Image source

"Photography Studio"

City

City of origin

"New York"

Country/Primary Location Name

Country

"United States"

Practical Examples

Display Photo Information

Extract GPS Coordinates

Generate Image Report

Filter Images by Camera

Sort Images by Date

Add Metadata to Thumbnails

Important Notes

  1. Not all images have metadata - Check for existence before accessing

  2. EXIF data can be removed - Privacy tools often strip EXIF

  3. Format support - EXIF typically in JPEG/TIFF, not PNG/GIF

  4. GPS privacy - Consider removing GPS data before publishing

  5. Tag names vary - Different cameras may use different tag names

Next Steps

Last updated

Was this helpful?