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?
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 query. I don't 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.
Is there any efficient solution to make sure that images d开发者_运维技巧on't consume memory at the background once their use is over...
I will appreciate the lines of code for this.
Tnx in advance.
There was an excellent post on this topic.
精彩评论