com.facebook.imagepipeline.platform.PlatformDecoder |
![]() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract CloseableReference<Bitmap> |
decodeFromEncodedImage(EncodedImage encodedImage, Bitmap.Config bitmapConfig)
Creates a bitmap from encoded bytes.
| ||||||||||
abstract CloseableReference<Bitmap> |
decodeJPEGFromEncodedImage(EncodedImage encodedImage, Bitmap.Config bitmapConfig, int length)
Creates a bitmap from encoded JPEG bytes.
|
Creates a bitmap from encoded bytes. Supports JPEG but callers should use decodeJPEGFromEncodedImage(EncodedImage, Bitmap.Config, int)
for partial JPEGs.
encodedImage | the reference to the encoded image with the reference to the encoded bytes |
---|---|
bitmapConfig | the android.graphics.Bitmap.Config used to create the decoded Bitmap |
if the pool is full | |
OutOfMemoryError | if the Bitmap cannot be allocated |
Creates a bitmap from encoded JPEG bytes. Supports a partial JPEG image.
encodedImage | the reference to the encoded image with the reference to the encoded bytes |
---|---|
bitmapConfig | the android.graphics.Bitmap.Config used to create the decoded Bitmap |
length | the number of encoded bytes in the buffer |
if the pool is full | |
OutOfMemoryError | if the Bitmap cannot be allocated |