mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
General fixes to Exif parser.
This commit is contained in:
parent
9cb36788a8
commit
0d00c7504c
@ -47,8 +47,9 @@ import org.sleuthkit.datamodel.TskCoreException;
|
|||||||
import org.sleuthkit.datamodel.TskData.TSK_DB_FILES_TYPE_ENUM;
|
import org.sleuthkit.datamodel.TskData.TSK_DB_FILES_TYPE_ENUM;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Example implementation of an image ingest service
|
* Ingest module to parse image Exif metadata. Currently only supports JPEG files.
|
||||||
*
|
* Ingests an image file and, if available, adds it's date, latitude, longitude,
|
||||||
|
* altitude, device model, and device make to a blackboard artifact.
|
||||||
*/
|
*/
|
||||||
public final class ExifParserFileIngestService implements IngestServiceAbstractFile {
|
public final class ExifParserFileIngestService implements IngestServiceAbstractFile {
|
||||||
|
|
||||||
@ -58,9 +59,9 @@ public final class ExifParserFileIngestService implements IngestServiceAbstractF
|
|||||||
private IngestManagerProxy managerProxy;
|
private IngestManagerProxy managerProxy;
|
||||||
private static int messageId = 0;
|
private static int messageId = 0;
|
||||||
|
|
||||||
//public constructor is required
|
//file ingest services require a private constructor
|
||||||
//as multiple instances are created for processing multiple images simultenously
|
//to ensure singleton instances
|
||||||
public ExifParserFileIngestService() {
|
private ExifParserFileIngestService() {
|
||||||
}
|
}
|
||||||
|
|
||||||
//default instance used for service registration
|
//default instance used for service registration
|
||||||
@ -196,7 +197,7 @@ public final class ExifParserFileIngestService implements IngestServiceAbstractF
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getDescription() {
|
public String getDescription() {
|
||||||
return "Ingests all image files and retrieves their metadata.";
|
return "Ingests .jpg and .jpeg files and retrieves their metadata.";
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -93,3 +93,7 @@ Advanced installer 9.0 (Freeware)
|
|||||||
(not embedded in Autopsy, but used to generate Autopsy installer.)
|
(not embedded in Autopsy, but used to generate Autopsy installer.)
|
||||||
- Web page: http://www.advancedinstaller.com/
|
- Web page: http://www.advancedinstaller.com/
|
||||||
|
|
||||||
|
Metadata Extractor 2.6.2 for extracting Exif metadata
|
||||||
|
- Web page: http://www.drewnoakes.com/code/exif/
|
||||||
|
- License: http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user