I have two files in the Documents folder of the same image taken with the camera. One of them was saved using the UIImagePNGR presentation, and the other using the UIImageJPEGRepresentation. In other words, one is png and the other is jpg.
Now using the tool with a real device. if I download png (initWithContentOfFile :), the "Real memory" goes from 2.34 MB to 2.43 MB. But if I download jpeg instead, the memory goes from 2.34 MB to more than 23 MB !!! I had similar results loading any png against jpeg.
Can someone help me understand why?
source share