private InputStream getTestImageInputStream(String path) {
    try {
      // NULLSAFE_FIXME[Not Vetted Third-Party]
      return mInstrumentation.getContext().getResources().getAssets().open(path);
    } catch (IOException e) {
      throw Throwables.propagate(e);
    }
  }
This is the test in order to directly decoding all types of webp images
static-webp/src/androidTest/java/com/facebook/webpsupport/WebpDecodingTest.java