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
    • 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()