how does IOS decode an image(JPEG or PNG) by CGImage ? Is this the most efficient way?
===

We **decode** an image(JPEG/PNG) into a bitmap on IOS, generally, by CGImage. Now I want to know whether it's the most **efficient** way to decode an image ??

Or could anyone tell me that is there any **API** for us to decode an image by ourselves on IOS ??
