I want to crop an image, draw a smaller size image without caching the images.... What is the best w
Posted
by rkbang
on Stack Overflow
See other posts from Stack Overflow
or by rkbang
Published on 2009-10-07T15:08:53Z
Indexed on
2010/05/02
15:08 UTC
Read the original article
Hit count: 149
iphone
Hello all,
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.
Is there any efficient solution to make sure that images dont consume memory at the background once their use is over...
I will appreciate the lines of code for this.
Tnx in advance.
© Stack Overflow or respective owner