@Test
  public void testOutWidthHeight() throws Throwable {
    BitmapFactory.Options options = new BitmapFactory.Options();

    final Bitmap bitmap = mWebpBitmapFactory.decodeStream(getTestWebpInputStream(), null, options);

    // NULLSAFE_FIXME[Parameter Not Nullable]
    assertNotNull("Bitmap should not be null", bitmap);
    assertEquals("Width should be scaled", 20, options.outWidth);
    assertEquals("Height should be scaled", 20, options.outHeight);
  }
Return input stream for lossless webp

@return InputStream instance
static-webp/src/androidTest/java/com/facebook/webpsupport/WebpBitmapFactoryTest.java