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

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
Path org.sleuthkit.autopsy.modules.pictureanalyzer.impls.HEICProcessor.createModuleOutputFolder ( AbstractFile  file) throws IOException, NoCurrentCaseException

Create any sub directories within the module output folder.

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

Definition at line 125 of file

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

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

Perform work on the image file.

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

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

Member Data Documentation

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

Definition at line 69 of file

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

Definition at line 70 of file

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

Definition at line 67 of file

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.