fix the orientation of the image + iphone
<p>I am using camera functionality in my application and saving the images in documents directory after clicking the photo. Whenever I use images, the orientation of these images get change. So for it I search on stackoverflow and get the solution in this link:</p>

<p><a href="http://stackoverflow.com/questions/5427656/ios-uiimagepickercontroller-result-image-orientation-after-upload/5427890#5427890">iOS UIImagePickerController result image orientation after upload</a></p>

<p>But I am unable to know that how to use the fix orientation method to get the original orientation of the image. If anyone has some idea about it, please help me.</p>

<p>Thanks to all.</p>
