calculateInSampleSize

open fun calculateInSampleSize(@NonNull input: InputStream, width: Int, height: Int): Int
open fun calculateInSampleSize(@NonNull filePath: String, width: Int, height: Int): Int