I’ve created some avatars from vector artwork and saved them as transparent PNGs. If I place the PNGs in interface builder, the quality is perfect. When I place them using code, the edges are horribly jagged, as if the AA has been removed, yet it’s the same image. Is there any way to place them with code and maintain nice smooth edges?
I’ve attached a screenshot below with the iphone ver on the right.

Thanks,
Chris
Apple compresses

pngsusing a special optimization formula. It is possible that this formula is causing your images to alter from the original. If you notice a difference that you cannot live with, turn off the optimization by going into yourtarget‘s info panel and unchecking theCompress PNG filesoption under thebuildtab.