@Test
    void testReadMetadata() throws Exception {
        final File imageFile = new File(WebPMetadataTest.class.getResource("/images/webp/exif/_DSC6099.webp").getFile());
        final WebPImageParser parser = new WebPImageParser();
        final WebPImageMetadata metadata = parser.getMetadata(ByteSource.file(imageFile), parser.getDefaultParameters());
        assertEquals(56, metadata.getItems().size());

        final TiffImageMetadata tiffImageMetadata = metadata.getExif();
        assertNotNull(tiffImageMetadata);

        // Finds by the tag number.
        final TagInfo make = new TagInfoAscii("", 271, 0, null);
        final Object field = tiffImageMetadata.getFieldValue(make);
        assertEquals("sony", field.toString().trim().toLowerCase());
    }
@throws Exception if it cannot open the images.
src/test/java/org/apache/commons/imaging/formats/webp/WebPMetadataTest.java