GifDrawableBytesTranscoder

open class GifDrawableBytesTranscoder : ResourceTranscoder<Z, R>

An com.bumptech.glide.load.resource.transcode.ResourceTranscoder that converts into bytes by obtaining the original bytes of the GIF from the com.bumptech.glide.load.resource.gif.GifDrawable.

Functions

Link copied to clipboard
open fun transcode(toTranscode: Resource<GifDrawable>, options: Options): Resource<Array<Byte>>
Transcodes the given resource to the new resource type and returns the new resource.