docs/javadoc/reference/com/facebook/imagepipeline/common/ImageDecodeOptionsBuilder.html
|
|
Summary: Ctors | Methods | Protected Methods | Inherited Methods | [Expand All]
public class
extends Object
| java.lang.Object | | ↳ | com.facebook.imagepipeline.common.ImageDecodeOptionsBuilder<T extends com.facebook.imagepipeline.common.ImageDecodeOptionsBuilder> |
Builder for ImageDecodeOptions.
| Public Constructors |
|---|
| Public Methods |
|---|
| ImageDecodeOptions |
Builds the immutable ImageDecodeOptions instance. |
| Bitmap.Config |
| Gets which config image will be decode with; |
| BitmapTransformation |
| ColorSpace |
| Gets the target color space for decoding. |
| ImageDecoder |
| Get the custom image decoder, if one has been set. |
| boolean |
| Gets whether to decode all the frames and store them in memory. |
| boolean |
| Gets whether to decode a preview frame for animated images. |
| boolean |
| boolean |
| Gets whether to force animated image formats to be decoded as static, non-animated images. |
| int |
| Gets the maximum image dimension (width or height). |
| int |
| Gets the minimum decode interval. |
| boolean |
| Gets whether to use the last frame for the preview image (defaults to the first frame). |
| T |
| Sets which config static image will be decode with; |
| T |
| Set a custom in-place bitmap transformation that is applied immediately after decoding. |
| T |
| Sets the target color space for decoding. |
| T |
| Set a custom image decoder override to be used for the given image. |
| T |
| Sets whether to decode all the frames and store them in memory. |
| T |
| Sets whether to decode a preview frame for animated images. |
| T |
| T |
| Sets whether to force animated image formats to be decoded as static, non-animated images. |
| ImageDecodeOptionsBuilder |
| Sets the builder to be equivalent to the specified options. |
| T |
| Sets the maximum image dimension (width or height). |
| T |
| Sets the minimum decode interval. |
| T |
| Sets whether to use the last frame for the preview image (defaults to the first frame). |
| Protected Methods |
|---|
| T |
| [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() |
|
Builds the immutable ImageDecodeOptions instance.
Gets which config image will be decode with;
Gets the target color space for decoding.
Get the custom image decoder, if one has been set.
Gets whether to decode all the frames and store them in memory. This should only ever be used for animations that are known to be small (e.g. stickers). Caching dozens of large Bitmaps in memory for general GIFs or WebP's will not fit in memory.
Gets whether to decode a preview frame for animated images.
Gets whether to force animated image formats to be decoded as static, non-animated images.
Gets the maximum image dimension (width or height).
Gets the minimum decode interval.
Gets whether to use the last frame for the preview image (defaults to the first frame).
Sets which config static image will be decode with;
| bitmapConfig | which config static image will be decode with; |
Set a custom in-place bitmap transformation that is applied immediately after decoding.
| bitmapTransformation | the transformation to use |
Sets the target color space for decoding. When possible, the color space transformation will be performed at load time. This requires SDK version >= 26, otherwise it's a no-op.
| colorSpace | target color space for decoding. |
Set a custom image decoder override to be used for the given image. This will bypass all default decoders and only use the provided custom image decoder for the given image.
| customImageDecoder | the custom decoder to use |
Sets whether to decode all the frames and store them in memory. This should only ever be used for animations that are known to be small (e.g. stickers). Caching dozens of large Bitmaps in memory for general GIFs or WebP's will not fit in memory.
| decodeAllFrames | whether to decode all the frames and store them in memory |
Sets whether to decode a preview frame for animated images.
| decodePreviewFrame | whether to decode a preview frame |
Sets whether to force animated image formats to be decoded as static, non-animated images.
| forceStaticImage | whether to force the image to be decoded as a static image |
Sets the builder to be equivalent to the specified options.
| options | the options to copy from |
Sets the maximum image dimension (width or height).
| maxDimensionPx | the maximum image dimension in pixels |
Sets the minimum decode interval.
Decoding of intermediate results won't happen more often that intervalMs. If another intermediate result comes too soon, it will be decoded only after intervalMs since the last decode. If there were more intermediate results in between, only the last one gets decoded.
| intervalMs | the minimum decode interval in milliseconds |
Sets whether to use the last frame for the preview image (defaults to the first frame).
| useLastFrameForPreview | whether to use the last frame for the preview image |
+Generated by Doclava. +