@Test
  public void testOutPadding() throws Throwable {
    Rect outPadding = new Rect();

    mWebpBitmapFactory.decodeStream(getTestWebpInputStream(), outPadding, null);

    assertNotNull("Padding rect should not be null", outPadding);
    assertEquals("Padding rect for webp should be not supported)", -1, outPadding.top);
    assertEquals("Padding rect for webp should be not supported)", -1, outPadding.left);
    assertEquals("Padding rect for webp should be not supported)", -1, outPadding.bottom);
    assertEquals("Padding rect for webp should be not supported)", -1, outPadding.right);
  }
Return input stream for lossless webp

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