-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
Description
Using version 1.2.24
GifDrawableBuilder builder = new GifDrawableBuilder();
builder.sampleSize(2);
builder.from(methodThatReturnsBufferedInputStream());
GifDrawable gifFromBytes = builder.build();
Bitmap bs = gifFromBytes.seekToFrameAndGet(0);
gifFromBytes.recycle();
The resulting bitmap is blank (all black) when I use sampleSize
with any parameter greater than 1. With sampleSize
set to 1 I am getting the correct bitmap. I am using this GIF to test with: https://crowbarsolutions.com/test/content/test.gif
This issue doesn't happen when using version 1.2.19 but happens when you use any version after that.