createSamplingDecoder
通过文件创建SamplingDecoder
Return
Parameters
file
fun createSamplingDecoder(decoder: BitmapRegionDecoder, rotation: SamplingDecoder.Rotation = SamplingDecoder.Rotation.ROTATION_0): SamplingDecoder
创建SamplingDecoder的主要方法
Return
Parameters
decoder
rotation
请参考SamplingDecoder.Rotation