cocoa - UIImagePickerController - Aligning an Image Guide to a Crop Area -
i'm using uiimagepickercontroller overlay of transparent white rimmed rectangle guide capturing small section of view user interested in, centered in screen coordinates (320 x 480, portrait).
the problem is, i'm not entirely sure bits of camera's view (actual photo) viewfinder showing, can't showing of because image resolution 3264 x 2448, different width-length ratio screen space available, , it's showing fullscreen.
i need able crop exact image area "under" overlay on uiimagepickercontroller view actual produced image.
i've tried taking ratio of width of sample divided width of portrait camera view, , multiplying width of image , scaling y-coordinates that, results incorrect.
how try solve this?
Comments
Post a Comment