Package-level declarations
Types
Functions
Link copied to clipboard
Link copied to clipboard
Opens the platform's image picker and returns the selected ImageData, or null if the user cancels the selection.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun ImageBitmap.withAspectRatio(aspectRatio: Float, scale: Boolean = false, targetHeight: Int? = null): ImageBitmap
Adjusts this ImageBitmap to a target aspect ratio.