@Test
  public void test_webp_plain_decoding_filedescriptor_bitmap() throws Throwable {
    final MemoryFile memoryFile = getMemoryFile("webp_plain.webp");
    final Bitmap bitmap =
        mWebpBitmapFactory.decodeFileDescriptor(getMemoryFileDescriptor(memoryFile), null, null);
    memoryFile.close();
    // NULLSAFE_FIXME[Parameter Not Nullable]
    assertBitmap(bitmap, 320, 214);
  }
This is the test in order to directly decoding all types of webp images
static-webp/src/androidTest/java/com/facebook/webpsupport/WebpDecodingTest.java