UITabBar icons for iPhone
How to?
Posted by
I finally found out how to get a normal image to a alphatransparent icon for the iPhone UITabBar without colors but with different alpha transparencies. I do it in Photoshop like that:
- Image -> Mode -> Grayscale
- "Discard color information" -> Discard
- Mark all [cmd A]
- Copy [cmd C]
- Layer -> Layer Mask -> Reveal all
- In "Chanels" (Window -> Chanels) show the "Layer 0 Mask" (click on the left)
- Paste [cmd V]
- Image -> Adjustment -> Invert [cmd I]
- Save for web [cmd alt shift S] as PNG 24
I found it on a website but I can't remember which one, so I'm sorry no back-link today. But if I don't jot it down here I'll never remember how to do that.