Selecting an image from gallery,cropping it and saving it. Like editing profile in Instagram.

Hi there!

As the post topic indicates, i would like to select an image from gallery, cropping it and saving it , mimic what is being done when changing profile pics in apps like Instagram. The selecting and saving is easy, cropping is the tough part, like pinching, zooming  and moving the bounding box.

I understand many questions have been raised up over this and may have died off. Was wondering if the staffs or anyone found a solution to this yet ? Thanks!

Regards,

Vincent

Hi Vincent,

The first thing you should work on implementing is the pinch-zoom-rotate part, since that’s essential to your concept. If you haven’t seen the following tutorial and module, please check it out:

http://coronalabs.com/blog/2013/01/22/implementing-pinch-zoom-rotate/

I believe another similar module has been provided by the community as well, but I don’t have the link handy (if anybody knows about it, please post the link here).

Thanks,

Brent

Hi Brent!

Thanks so much for the advise and link. With your tutorial and some tweaks, i’m able to implement the instagram profile cropping quite seamlessly. Really appreciates the help! 

Regards,

Vincent

Hi Vincent,

The first thing you should work on implementing is the pinch-zoom-rotate part, since that’s essential to your concept. If you haven’t seen the following tutorial and module, please check it out:

http://coronalabs.com/blog/2013/01/22/implementing-pinch-zoom-rotate/

I believe another similar module has been provided by the community as well, but I don’t have the link handy (if anybody knows about it, please post the link here).

Thanks,

Brent

Hi Brent!

Thanks so much for the advise and link. With your tutorial and some tweaks, i’m able to implement the instagram profile cropping quite seamlessly. Really appreciates the help! 

Regards,

Vincent