Expand description
File format detection and processing
This module handles different image file formats and extracts metadata from each according to format-specific requirements.
Structs§
- Jpeg
Segment Info - JPEG segment scanner result
Enums§
- File
Format - Supported file formats
- Jpeg
Segment - JPEG segment types
Functions§
- detect_
file_ format - Detect file format using magic bytes (primary) with extension fallback
- detect_
file_ format_ from_ path - Convenience function to detect format from file path
- extract_
jpeg_ exif - Extract EXIF data from JPEG file
- extract_
jpeg_ xmp - Extract XMP data from JPEG file
- extract_
metadata - Extract metadata from a file (Milestone 1: real file I/O with JPEG detection)
- extract_
tiff_ exif - Extract EXIF data from TIFF file
- extract_
tiff_ xmp - Extract XMP data from TIFF file
- get_
format_ properties - Get format properties for validation and processing
- get_
tiff_ endianness - Get TIFF endianness from header
- scan_
jpeg_ segments - Scan JPEG file for all APP1 segments containing EXIF or XMP data
- validate_
tiff_ format - Validate TIFF file format