makeTransform Function
@JvmOverloads external fun makeTransform(orientation: ScanOrientation, width: Int = 0, height: Int = 0): Matrix
Deprecated.
Will be removed.
Builds the transform matrix that applies an EXIF orientation to a bitmap.
Return
a Matrix that maps the bitmap into the requested orientation
Parameters
- orientation — the orientation to apply
- width — the bitmap’s width in pixels, or
0to use the untransformed size - height — the bitmap’s height in pixels, or
0to use the untransformed size