docs/javadoc/reference/com/facebook/imagepipeline/decoder/DefaultImageDecoder.html
|
|
Summary: Ctors | Methods | Inherited Methods | [Expand All]
public class
extends Object
implements ImageDecoder
| java.lang.Object | | ↳ | com.facebook.imagepipeline.decoder.DefaultImageDecoder |
Decodes images.
ImageDecoder implements image type recognition and passes decode requests to specialized methods implemented by subclasses.
On dalvik, it produces 'pinned' purgeable bitmaps.
Pinned purgeables behave as specified in inPurgeable with one modification. The bitmap is 'pinned' so is never purged.
For API 21 and higher, this class produces standard Bitmaps, as purgeability is not supported on the most recent versions of Android.
| Public Constructors |
|---|
| Public Methods |
|---|
| CloseableImage |
| Decodes image. |
| CloseableImage |
| Decode a webp animated image into a CloseableImage. |
| CloseableImage |
| Decodes gif into CloseableImage. |
| CloseableStaticBitmap |
| Decodes a partial jpeg. |
| CloseableStaticBitmap |
| [Expand] Inherited Methods | | --- | | From class java.lang.Object
| Object | clone() | | boolean | equals(Object arg0) | | void | finalize() | | final Class<?> | getClass() | | int | hashCode() | | final void | notify() | | final void | notifyAll() | | String | toString() | | final void | wait(long arg0, int arg1) | | final void | wait(long arg0) | | final void | wait() |
| | From interface com.facebook.imagepipeline.decoder.ImageDecoder
| abstract CloseableImage | decode(EncodedImage encodedImage, int length, QualityInfo qualityInfo, ImageDecodeOptions options) |
|
Decodes image.
| encodedImage | input image (encoded bytes plus meta data) | | length | if image type supports decoding incomplete image then determines where the image data should be cut for decoding. | | qualityInfo | quality information for the image | | options | options that can change decode behavior |
Decode a webp animated image into a CloseableImage.
The image is decoded into a 'pinned' purgeable bitmap.
| encodedImage | input image (encoded bytes plus meta data) |
CloseableImageDecodes gif into CloseableImage.
| encodedImage | input image (encoded bytes plus meta data) |
Decodes a partial jpeg.
| encodedImage | input image (encoded bytes plus meta data) | | length | amount of currently available data in bytes | | qualityInfo | quality info for the image |
| encodedImage | input image (encoded bytes plus meta data) |
+Generated by Doclava. +