UIImage with rounded corners
I have read several posts already. And almost everyone suggest using QuartzCore/QuartzCore.h with layer.cornerRadius I have tried this method and some more methods. Well, everything works fine when an image doesn't move. But in my project I always move my images. If I add corner radius or a shadow the image movement is no longer smooth. And it looks aweful! That is the way I resize my image: CGSize newSize = CGSizeMake(200*height/image.size.height, 280); CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB(); CGContextRef context = CGBitmapContextCreate(nil, newSize.width, newSize.height,