Interface JpegSegmentMetadataReader

    • Method Detail

      • getSegmentTypes

        Iterable<JpegSegmentType> getSegmentTypes()
        Gets the set of JPEG segment types that this reader is interested in.
      • readJpegSegments

        void readJpegSegments​(Iterable<byte[]> segments,
                              Metadata metadata,
                              JpegSegmentType segmentType)
        Extracts metadata from all instances of a particular JPEG segment type.
        segments - A sequence of byte arrays from which the metadata should be extracted. These are in the order encountered in the original file.
        metadata - The Metadata object into which extracted values should be merged.
        segmentType - The JpegSegmentType being read.