Class ImageTimestampsAttributesFactory
Object
ImageTimestampsAttributesFactory
Derives
ImageTimestampsAttributes from a file, additionally checking for EXIF metadata.- Author:
- Owen Feehan
-
Method Summary
Modifier and TypeMethodDescriptionstatic ImageTimestampsAttributesReadsImageTimestampsAttributesfrom a path, trying to infer the acquisition-date from metadata headers.
-
Method Details
-
fromPath
ReadsImageTimestampsAttributesfrom a path, trying to infer the acquisition-date from metadata headers.For JPEG or TIFF files, EXIF data is searched for to find an acquisition-date.
- Parameters:
path- the path.- Returns:
- newly created
ImageFileAttributes. - Throws:
ImageIOException- ifImageTimestampsAttributescannot be established.
-