How to rotate original image without resizing(not expand width or height) the image
<p>I have rotate the image using <a href="http://developer.apple.com/library/ios/#documentation/uikit/reference/UIRotateGestureRecognizer_Class/Reference/Reference.html" rel="nofollow"><code>UIRotationGestureRecognizer</code></a> and it's working fine. But the image width &amp; height increased.</p>

<p><strong>Original</strong> Image Size: x = <em>85.000000</em>, y = <em>83.000000</em>, width = <em>150.000000</em>, height = <em>150.000000</em><br/>
<strong>After</strong> rotating image size : x = <em>54.476551</em>, y = <em>52.476551</em>, width = <em>211.046906</em>, height = <em>211.046906</em></p>

<p>How to handle this problem? I am trying like this:</p>

<pre><code>recognizer.view.transform = CGAffineTransformRotate(recognizer.view.transform, recognizer.rotation);
recognizer.rotation = 0;
</code></pre>
