BitmapUtils

open class BitmapUtils

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard

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
open fun compressAndSave(path: String, DESIRE_WIDTH: Int, DESIRE_HEIGTH: Int, maxSize: Int): File
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
open fun getRotateImage(image: String): Float
Link copied to clipboard
open fun getSingleCompress(path: String): Single<File>
open fun getSingleCompress(path: String, DESIRE_WIDTH: Int, DESIRE_HEIGTH: Int, maxSize: Int): Single<File>
Link copied to clipboard
open fun setRotateImage(file: String, bitmap: Bitmap, rotate: Float): Boolean