peekaboo
peekaboo copied to clipboard
Fix iOS images orientation
Fixing iOS image orientation when you add ResizeOptions.
To Reproduce:
rememberImagePickerLauncher(
selectionMode = SelectionMode.Single,
scope = scope,
resizeOptions = ResizeOptions(
width = 4080,
height = 4080,
resizeThresholdBytes = 40 * 1024 * 1024L,
compressionQuality = 1.0
),
onResult = { byteArrays ->
byteArrays.firstOrNull()?.let {
images = listOf(it.toImageBitmap())
}
},
)
And select a vertical image taken with an iPhone camera.