I am using an UIImagePickerController to get a picture from the users library but I am having trouble doing exactly what i want to do; which is basically as follows:
Say I have a bounding box area specified on the screen (say 128 x 128 pixels). After the user has picked his photo and finalized zoom/scale etc and is done; I want only the area that is inside that bounding box to be retained: saved as it's own image inside the documents folder of the app for later user in the app. It is imperative that only the 128 x 128 final result is saved (for obvious memory reasons).
It's worth noting that the project I am working on is 2D OpenGL based (like GLSprite). Can anyone help me accomplish this?
Last edited by scotopia; 01-21-2009 at 05:33 PM.
|