Open showdy opened 1 year ago
I don't get it.
I don't get it.
In the example, the multi touch function is used, but the effect seems to have some problems. Can the effect of multi-touch be optimized as shown in the video above.
Optimized in which way?
@vanniktech I guess, @showdy means, does this library support cropping using zoom in/out on the image
?
Am I right @showdy? 🤔
Multitouch zooming during cropping would indeed be a great addition to this library! Note that the multiTouchEnabled
exists, but it is very buggy in my experience:
fixAspectRatio
is not respected when multitouch is enabledTurning off autoZoomEnabled
reduces these issues a bit, but autozoom is a great feature
I may try to fix this in the library and create a PR
PRs are welcome!
@MathiasDL have you had any time to look at this?
@vanniktech I am currently converting my app to Kotlin Multiplatform (KMP), which is not compatible with this library, so I won't be implementing this...
What do you use for image cropping? I also have a KMP library and I use this library on the Android side and Mantis on iOS.
I am considering this library: CMP-image-pick-n-crop. If it is not good enough, I will probably follow your approach. I will know in a couple of weeks when I get to that point in the conversion
@vanniktech FYI, I went with https://github.com/tamimattafi/krop (KMP fork of easycrop)
https://github.com/CanHub/Android-Image-Cropper/assets/13609650/87d48ab9-b25b-4b75-b915-f53519736fab