From 0c2795767a88c2d6cccaff6af9001a973f253df3 Mon Sep 17 00:00:00 2001 From: onseok Date: Fri, 15 Mar 2024 11:54:28 +0900 Subject: [PATCH] Fix filtering on iOS for images smaller than resize threshold --- .../com/preat/peekaboo/image/picker/ImagePickerLauncher.ios.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/peekaboo-image-picker/src/iosMain/kotlin/com/preat/peekaboo/image/picker/ImagePickerLauncher.ios.kt b/peekaboo-image-picker/src/iosMain/kotlin/com/preat/peekaboo/image/picker/ImagePickerLauncher.ios.kt index bc95c46..42493aa 100644 --- a/peekaboo-image-picker/src/iosMain/kotlin/com/preat/peekaboo/image/picker/ImagePickerLauncher.ios.kt +++ b/peekaboo-image-picker/src/iosMain/kotlin/com/preat/peekaboo/image/picker/ImagePickerLauncher.ios.kt @@ -163,7 +163,7 @@ private fun UIImage.fitInto( return applyFilterToUIImage(resizedImage, filterOptions) } else { - return this + return applyFilterToUIImage(this, filterOptions) } }