public class ImageTimestampsAttributesFactory extends Object
ImageTimestampsAttributes
from a file, additionally checking for EXIF metadata.Modifier and Type | Method and Description |
---|---|
static ImageTimestampsAttributes |
fromPath(Path path)
Reads
ImageTimestampsAttributes from a path, trying to infer the acquisition-date
from metadata headers. |
public static ImageTimestampsAttributes fromPath(Path path) throws ImageIOException
ImageTimestampsAttributes
from 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.
path
- the path.ImageFileAttributes
.ImageIOException
- if ImageTimestampsAttributes
cannot be established.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.