Class MetadataExtractor.JpegSegmentReader

java.lang.Object
gov.nih.mipav.model.file.MetadataExtractor.JpegSegmentReader
Enclosing class:
MetadataExtractor

public static class MetadataExtractor.JpegSegmentReader extends Object
Performs read functions of JPEG files, returning specific file segments.

JPEG files are composed of a sequence of consecutive JPEG 'segments'. Each is identified by one of a set of byte values, modelled in the MetadataExtractor.JpegSegmentType enumeration. Use readSegments to read out the some or all segments into a MetadataExtractor.JpegSegmentData object, from which the raw JPEG segment byte arrays may be accessed.

Author:
Drew Noakes https://drewnoakes.com