BitmapUtils
Types
Link copied to clipboard
enum ScalingLogic
Functions
Link copied to clipboard
open fun calculateDstRect(srcWidth: Int, srcHeight: Int, dstWidth: Int, dstHeight: Int, scalingLogic: BitmapUtils.ScalingLogic): Rect
Link copied to clipboard
open fun calculateSampleSize(srcWidth: Int, srcHeight: Int, dstWidth: Int, dstHeight: Int, scalingLogic: BitmapUtils.ScalingLogic): Int
Link copied to clipboard
open fun calculateSrcRect(srcWidth: Int, srcHeight: Int, dstWidth: Int, dstHeight: Int, scalingLogic: BitmapUtils.ScalingLogic): Rect
Link copied to clipboard
Link copied to clipboard
open fun createScaledBitmap(unscaledBitmap: Bitmap, dstWidth: Int, dstHeight: Int, scalingLogic: BitmapUtils.ScalingLogic): Bitmap
Link copied to clipboard
open fun decodeFile(path: String, dstWidth: Int, dstHeight: Int, scalingLogic: BitmapUtils.ScalingLogic): Bitmap
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard