How to crop photo to camera overlay square?

You must Login before you can answer or comment on any questions.

Hello,

I am building an iOS app and I am using the build in camera (and image library) to let users upload photos. Before upload I rescale and downsize the photos to fit into my apps timeline. I have activated allowEditing: true so that a square appears in the middle of the screen when a photo is taken or selected. How can I use this square to crop the photo within it's borders? I am using the free Imagefactory module for resizing and cropping.

Is there a way to change the size of the square?

Thankful for all help!

1 Answer

You can set the allowEditing:true flag, in the "success" part of the camera. That will use what ever is in the viewport of the camera after taking a picture

Your Answer

Think you can help? Login to answer this question!