We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0386c74 commit d4b1634Copy full SHA for d4b1634
tika-parsers/src/test/java/org/apache/tika/mime/TestMimeTypes.java
@@ -362,6 +362,14 @@ public void testPngDetection() throws Exception {
362
assertTypeByName("image/png", "x.PNG");
363
}
364
365
+ @Test
366
+ public void testWEBPDetection() throws Exception {
367
+ assertType("image/webp", "testWEBP.webp");
368
+ assertTypeByData("image/webp", "testWEBP.webp");
369
+ assertTypeByName("image/webp", "x.webp");
370
+ assertTypeByName("image/webp", "x.WEBP");
371
+ }
372
+
373
@Test
374
public void testBmpDetection() throws Exception {
375
assertType("image/x-ms-bmp", "testBMP.bmp");
tika-parsers/src/test/resources/test-documents/testWEBP.webp
3.36 KB
0 commit comments