I want to crop an image, draw a smaller size image without caching the images.... What is the best way or good code to get this done in iPhone?
<p>I am storing the images in database. I get the NSData and create an image from it. Now I want to crop or draw a smaller image of the existing image in database which I am getting from the querry. I dont want to cache the images since I am using them in bulk and want to release them as soon as the view being displayed where the images are used is popped up.</p>

<p>Is there any efficient solution to make sure that images dont consume memory at the background once their use is over...</p>

<p>I will appreciate the lines of code for this.</p>

<p>Tnx in advance.</p>
