Autopsy  4.19.3
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
org.sleuthkit.autopsy.modules.pictureanalyzer.impls.HEICProcessor Class Reference

Inherits org.sleuthkit.autopsy.modules.pictureanalyzer.spi.PictureProcessor.

Public Member Functions

 HEICProcessor ()
 
Set< String > mimeTypes ()
 
void process (IngestJobContext context, AbstractFile file)
 

Private Member Functions

void convertToJPEG (IngestJobContext context, byte[] heifBytes, AbstractFile heicFile) throws IOException, TskCoreException, NoCurrentCaseException
 
Path createModuleOutputFolder (AbstractFile file) throws IOException, NoCurrentCaseException
 

Private Attributes

final HeifJNI heifJNI
 

Static Private Attributes

static final String HEIC_MODULE_FOLDER = "HEIC"
 
static final Logger logger = Logger.getLogger(HEICProcessor.class.getName())
 

Detailed Description

Processes HEIC containers by extracting and converting all internal photos to JPEGs, which are then added as derived files of the container.

All of this work is serviced by ImageMagick, a third party executable.

Definition at line 65 of file HEICProcessor.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.modules.pictureanalyzer.impls.HEICProcessor.HEICProcessor ( )

Member Function Documentation

void org.sleuthkit.autopsy.modules.pictureanalyzer.impls.HEICProcessor.convertToJPEG ( IngestJobContext  context,
byte[]  heifBytes,
AbstractFile  heicFile 
) throws IOException, TskCoreException, NoCurrentCaseException
private
Path org.sleuthkit.autopsy.modules.pictureanalyzer.impls.HEICProcessor.createModuleOutputFolder ( AbstractFile  file) throws IOException, NoCurrentCaseException
private

Create any sub directories within the module output folder.

Parameters
fileThe relevant heic/heif file.
Returns
the parent folder path for any derived images.

Definition at line 125 of file HEICProcessor.java.

References org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows(), and org.sleuthkit.autopsy.casemodule.Case.getModuleDirectory().

Set<String> org.sleuthkit.autopsy.modules.pictureanalyzer.impls.HEICProcessor.mimeTypes ( )

Indicates the MIME types this processor supports.

Implements org.sleuthkit.autopsy.modules.pictureanalyzer.spi.PictureProcessor.

Definition at line 193 of file HEICProcessor.java.

void org.sleuthkit.autopsy.modules.pictureanalyzer.impls.HEICProcessor.process ( IngestJobContext  context,
AbstractFile  file 
)

Perform work on the image file.

Parameters
contextJob context to check for cancellation or add files to the pipeline
fileThe image file to process

Implements org.sleuthkit.autopsy.modules.pictureanalyzer.spi.PictureProcessor.

Definition at line 84 of file HEICProcessor.java.

References org.sleuthkit.autopsy.ingest.IngestJobContext.fileIngestIsCancelled().

Member Data Documentation

final String org.sleuthkit.autopsy.modules.pictureanalyzer.impls.HEICProcessor.HEIC_MODULE_FOLDER = "HEIC"
staticprivate

Definition at line 69 of file HEICProcessor.java.

final HeifJNI org.sleuthkit.autopsy.modules.pictureanalyzer.impls.HEICProcessor.heifJNI
private

Definition at line 70 of file HEICProcessor.java.

final Logger org.sleuthkit.autopsy.modules.pictureanalyzer.impls.HEICProcessor.logger = Logger.getLogger(HEICProcessor.class.getName())
staticprivate

Definition at line 67 of file HEICProcessor.java.


The documentation for this class was generated from the following file:

Copyright © 2012-2022 Basis Technology. Generated on: Fri Oct 7 2022
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.