Somebody please replace that one with this in ImageMetadataExtractor.java (I can't, I'm not yet up to date on that master / main change), but now the parser builds with 1x:

    public void parseHeif(File file) throws IOException, TikaException {
        InputStream is = null;
        try {
            is = new FileInputStream(file);
            com.drew.metadata.Metadata heifMetadata = HeifMetadataReader.readMetadata(is);
            handle(heifMetadata);
        } catch (IOException e) {
            throw e;
        } catch (MetadataException e) {
            throw new TikaException("Can't process Heif data", e);
        }
        finally {
            IOUtils.closeQuietly(is);
        }
    }

Reply via email to