Package io.rong.imkit.picture.widget.longimage

## Class SkiaImageRegionDecoder

- All Implemented Interfaces:

      public class SkiaImageRegionDecoder

  Default implementation of ImageRegionDecoder using Android's BitmapRegionDecoder, based on the Skia library. This works well in most circumstances and has reasonable performance due to the cached decoder instance, however it has some problems with grayscale, indexed and CMYK images.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `SkiaImageRegionDecoder()` |

  - ### Enum Constant Summary

    Enum Constants
    Enum Constant | Description
    --- | ---

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `Point` | `init(Context context, Uri uri)` |
    `Bitmap` | `decodeRegion(Rect sRect, int sampleSize)` |
    `boolean` | `isReady()` |
    `void` | `recycle()` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SkiaImageRegionDecoder

          SkiaImageRegionDecoder()

  - ### Method Detail

    - #### init

           Point init(Context context, Uri uri)

    - #### decodeRegion

           Bitmap decodeRegion(Rect sRect, int sampleSize)

    - #### isReady

           boolean isReady()

    - #### recycle

           void recycle()