public void parseHeif(InputStream is) throws IOException, TikaException {
        try {
            com.drew.metadata.Metadata heifMetadata = HeifMetadataReader.readMetadata(is);
            handle(heifMetadata);
        } catch (MetadataException e) {
            throw new TikaException("Can't process Heif data", e);
        }
    }
@param metadata to extract to
@param handlers handlers in order, note that handlers may override values from earlier
                handlers
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-image-module/src/main/java/org/apache/tika/parser/image/ImageMetadataExtractor.java