I have 3 UIImages in UIScrollView and I am initializing these images in the following way:
UIImage *dimage = [[UIImage alloc] initWithData:data];
Where data is a NSdata gotten from url request. After this I am caching the images. When I check memory allocation the 3 images takes up 472 Kb each and allocation has been requested by "img_data_lock" from CoreGraphics library. When I check size of that image on disk cache it was 230Kb each.
I dont know how can it take more space. I hope my question is clear.