ImageCropScreen

fun ImageCropScreen(image: PickedImage, aspect: Float, circularMask: Boolean, onCancel: () -> Unit, onConfirm: (PickedImage) -> Unit, modifier: Modifier = Modifier)

Full-screen interactive cropper: the user pans and pinch-zooms image within a fixed aspect frame, and on confirm the framed region is cropped to source pixels and returned via onConfirm. circularMask draws the frame as a circle (avatars); the produced crop is still the frame's rectangle. If the image's dimensions can't be decoded, confirming passes the original through unchanged rather than blocking the user.