java.lang.Object
de.zocher_regel.photo.gps.GpsFromExifFileExtractor
A file with EXIF info (*.exif), which has been extracted from the photo by
Irfanview, contains hopefully the GPS info.
This class makes this info available as GpsRec.
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungGpsFromExifFileExtractor(File exifFile) Constructor.GpsFromExifFileExtractor(String absolutePathString) Constructor from String, which may be a qualified JPG or EXIF filename. -
Methodenübersicht
-
Konstruktordetails
-
GpsFromExifFileExtractor
GpsFromExifFileExtractor(File exifFile) throws de.zocher_regel.util.UtilException Constructor.- Parameter:
exifFile- extracted by either Exiftool (preferred) or Irfanview which contains the GPS info; format depends on tool- Löst aus:
de.zocher_regel.util.UtilException- if exifFile does not exist
-
GpsFromExifFileExtractor
GpsFromExifFileExtractor(String absolutePathString) throws de.zocher_regel.util.UtilException Constructor from String, which may be a qualified JPG or EXIF filename. If the corresponding EXIF of a JPG does not exist, the basis EXIF is used. Example: C:\Photos\2025-01-04\1234corrected.jpg has no exif, use C:\Photos\2025-01-04\1234.exif .- Parameter:
absolutePathString- of the EXIF or JPG- Löst aus:
de.zocher_regel.util.UtilException- if the exif file does not exist
-
-
Methodendetails
-
get
Look for GPS info in exif file and return it as GpsRec.- Parameter:
ind- The position of the file in the list of files to be put into the result GpsRec.- Gibt zurück:
- GpsRec with GPS.
-