cocoa touch - Converting a normal PNG to iPhone Optimized format -


I have an iPhone application that downloads images from the Internet and saves them for later performance.

Users can select images to look at from UITableView, the table view contains custom cells that show the thumbnails of the original images in different sizes.

When a large image is downloaded for the first time, it is saved using thumbnail size and thumbnail UIImagePNGRepresentation.

What I would like to do, can save thumbnails in the optimized iPhone PNG format. How can I do that? Does it magically just keep the original big image loaded into memory and save it? Do I have to do some further procedure on the thumbnail before saving?

The possibility that UIImagePNGRepresentation is not created, because these are non-compliant PNG, and something else If they can not be read by API generated PNGs, then I think it will document, and whoever uploads PNG from any phone, will see that they have not worked.

Optimization is useful, but most optimized PNGs are part of UI where optimization is done as part of the manufacturing process. It's likely that the cost of optimization will offset you with any profit.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -