BitmapBytesTranscoder

open class BitmapBytesTranscoder : ResourceTranscoder<Z, R>

An com.bumptech.glide.load.resource.transcode.ResourceTranscoder that converts s into byte arrays using (android.graphics.Bitmap.CompressFormat, int, java.io.OutputStream).

Constructors

Link copied to clipboard
open fun BitmapBytesTranscoder()
Link copied to clipboard
open fun BitmapBytesTranscoder(compressFormat: CompressFormat, quality: Int)

Functions

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