Overview
The EXIF Metadata Extractor uses ExifTool to read and analyze metadata embedded in images, videos, and PDF documents. This tool is particularly powerful for extracting GPS coordinates, camera settings, timestamps, and drone telemetry data.ExifTool can read metadata from over 500 different file types including JPEG, PNG, GIF, TIFF, MP4, and PDF files.
How It Works
The tool uploads files temporarily, executes ExifTool to extract metadata in JSON format, and parses the results to present structured information including interactive maps for GPS coordinates.Technical Implementation
FromExifTool/views.py:129-146:
Usage
Upload File
Select an image, video, or PDF file to analyze. The tool supports:
- Images: JPEG, PNG, GIF, TIFF
- Videos: MP4
- Documents: PDF
Configure Options
Choose whether to keep the uploaded file after analysis:
- Keep File: File remains on server temporarily
- Delete After Analysis: File is removed immediately (default for privacy)
Extract Metadata
Click upload to process the file. ExifTool will extract all available metadata including:
- Camera make and model
- Date and time information
- GPS coordinates (latitude, longitude, altitude)
- Drone telemetry data (for DJI Enterprise drones)
- Image dimensions and resolution
- Software used to create/edit the file
GPS Coordinate Extraction
The tool handles multiple GPS coordinate formats and provides interactive map links.Drone/Camera Coordinates
FromExifTool/views.py:167-179:
LRF Target Coordinates
For DJI Enterprise drones with laser rangefinder (LRF) capabilities:DMS to Decimal Conversion
The tool includes a sophisticated parser to convert various coordinate formats:Supported Formats
FromExifTool/views.py:41-79:
API Endpoints
Defined inExifTool/urls.py:
| Endpoint | View Function | Purpose |
|---|---|---|
/upload/ | upload_file | File upload form and processing |
/metadata/ | show_metadata | Display extracted metadata and maps |
Metadata Cleaning
To prevent session overflow, the tool truncates large metadata values:Configuration
Supported MIME types for upload:
image/jpegimage/pngimage/gifimage/tiffvideo/mp4application/pdf
Maximum file size in bytes (50 MB)
Altitude Extraction
The tool extracts and parses altitude information:Session Storage
FromExifTool/views.py:208-215:
Error Handling
Temporary File Handling
The tool creates secure temporary directories for file processing:keep_file option is not selected, files are automatically deleted:
Use Cases
- Image Forensics: Verify image authenticity and origin
- Geolocation: Extract exact GPS coordinates from photos
- Drone Investigation: Analyze drone flight data and target coordinates
- Timestamp Verification: Confirm when photos/videos were captured
- Camera Identification: Identify devices used to capture media
- Privacy Analysis: Discover what metadata is embedded in files
Common Metadata Fields
Camera Information
Make: Camera manufacturerModel: Camera modelLensModel: Lens usedExposureTime: Shutter speedFNumber: ApertureISO: ISO sensitivity
Location Data
GPSLatitude: North/South coordinateGPSLongitude: East/West coordinateGPSAltitude: Height above sea levelLRFTargetLat/Lon: Laser rangefinder target coordinates (DJI drones)
Timestamps
CreateDate: File creation dateModifyDate: Last modification dateDateTimeOriginal: Original capture date/time
Limitations
- ExifTool must be installed on the system
- Maximum file size is 50 MB
- Processing timeout is 30 seconds
- Some files may have no embedded metadata
- Metadata can be stripped or modified by editing software
- GPS coordinates may be inaccurate depending on device capabilities
