This statement is technically incorrect:
"... only the mask is used. The user interface displays the mask in gray when unselected or blue / chrome when selected ..."
You are not applying a mask of any type. Rather, the tab image should be just a monochrome .png image, otherwise only one color will be used .
If you provide a color image, UIKit will quantize it to a monochrome image. In the worst case, the color image will be ~ 8000 bytes, which is ~ 6k waste (retina). The file format must be 24-bit .png with transparency for the quantization to work correctly. Even if it is a color file format, do not use color or you are losing space.
The bottom line should be the right size, with maximum performance and memory usage, use one of the following options:
Standard display
48x32. PNG, 24-bit with transparency (but use only one color) . The worst case size is ~ 500 bytes.
30x30.PNG, 24-bit with transparency (but use only 1 color) . The worst case size is ~ 350 bytes.
Retina display
60x60.PNG, 24-bit with transparency (but use only 1 color) . The worst case size is ~ 2000 bytes.
Lee Apr 28 '11 at 17:27 2011-04-28 17:27
source share