public class ExifReader extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ExifReader.Mirrored
DOCUMENT ME!
|
| Constructor and Description |
|---|
ExifReader(File file)
Creates a new ExifReader object.
|
| Modifier and Type | Method and Description |
|---|---|
com.vividsolutions.jts.geom.Point |
getGpsCoords()
Determines the coordinatesof the image in EPSG:4326.
|
double |
getGpsDirection()
Determines the direction of the image.
|
String |
getGpsDirectionRef()
Determines whether the reference of the direction of the image.
|
ExifReader.Mirrored |
getKindOfMirrored()
Determine whether the image is mirrored.
|
String |
getModel()
DOCUMENT ME!
|
Integer |
getOrientation()
Determine the orientation of the image from the exif data.
|
Double |
getOrientationRotation()
Determine the rotation of the image from the exif data.
|
Date |
getTimeDate()
DOCUMENT ME!
|
static void |
main(String[] args)
Only for test purposes.
|
void |
printAllAttributes()
Prints all exif attributes to stdout.
|
public ExifReader(File file) throws com.drew.imaging.ImageProcessingException, IOException
file - The image filecom.drew.imaging.ImageProcessingException - DOCUMENT ME!IOException - DOCUMENT ME!public com.vividsolutions.jts.geom.Point getGpsCoords()
public Date getTimeDate()
public double getGpsDirection()
throws com.drew.metadata.MetadataException
com.drew.metadata.MetadataException - If an error occurs during the reading of the image metadatapublic String getGpsDirectionRef()
public void printAllAttributes()
public String getModel()
public Integer getOrientation()
public Double getOrientationRotation()
public ExifReader.Mirrored getKindOfMirrored()
public static void main(String[] args)
args - DOCUMENT ME!Copyright © 2012–2026 cismet GmbH. All rights reserved.