iOS UIImage storage formats, memory usage and encoding / decoding

Viewed 6849

How does iOS store images that are loaded from compressed data (jpeg2000, png, jpg, etc.)

Example: [UIImage imageWithData:pngData]

Does it store the actual encoded bytes internally and decompress on demand, or is it decompressed into raw pixels permanently or some other format?

2 Answers
Related