public class GifDrawableBytesTranscoder extends Object implements ResourceTranscoder<GifDrawable,byte[]>
ResourceTranscoder
that converts GifDrawable
into bytes by obtaining the original bytes of
the GIF from the GifDrawable
.构造器和说明 |
---|
GifDrawableBytesTranscoder() |
@Nullable public Resource<byte[]> transcode(@NonNull Resource<GifDrawable> toTranscode, @NonNull Options options)
ResourceTranscoder
transcode
在接口中 ResourceTranscoder<GifDrawable,byte[]>
toTranscode
- The resource to transcode.