iphone - ImageIO causes more memory to be allocated than the size of the images -


I have 5 UIimageViews that display .png files, each max 200kb, but ImageIO allocates about 1.3 MB for each and the average . 7.3 MB total to see when loaded.

What is this happening?

I have the same amount of images of the same class and it allocates only 2 MB maximum.

As far as I understand the raw RGBA data (red, green, blue, alpha) I am loaded with loaded PNG / JPEG (both compressed formats) using iPhone 4 bytes per pixel so 100x100 image will be 40000 bytes. What are your images?


Comments

Popular posts from this blog

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -