1

I am developing an iOS app in which I need to crop image with finger. Like any one take picture and then can crop any part of image with finger. I have searched the Internet but I am getting tools what can crop images into rectangular area. Can anyone please help me to crop image with pan gesture with rough pattern?

Any help will be much appreciated.

Joseph Idziorek
  • 4,853
  • 6
  • 23
  • 37
iDev
  • 11
  • 2

2 Answers2

1

There is not straight API from apple to help you do that. You will have to create your own custom mask layer and get the image.graphic context and apply the user created mask to that context your self.

You might want to dig deeper into this thread: ImagePicker Library with custom crop rect?

Community
  • 1
  • 1
Chitimalli
  • 26
  • 3
0

I found this one solution which mentioned all requirement.

Chris Emerson
  • 13,041
  • 3
  • 44
  • 66
Ishwar Hingu
  • 562
  • 7
  • 14