 <p>// call this function with your resize ratio... </p> <pre><code> -(UIImage*)scaleByRatio:(float) scaleRatio { CGSize scaledSize = CGSizeMake(self.size.width * scaleRatio, self.size.height * scaleRatio); CGColorSpaceRef colorSpace; int bitmapBytesPerRow; bitmapBytesPerRow = (size.width * 4); //The output context. UIGraphicsBeginImageContext(scaledSize); CGContextRef context = context = CGBitmapContextCreate (NULL, scaledSize .width, scaledSize .height, 8, // bits per component bitmapBytesPerRow, colorSpace, kCGImageAlphaPremultipliedLast); //Percent (101%) #define SCALE_OVER_A_BIT 1.01 //Scale. CGContextScaleCTM(context, scaleRatio * SCALE_OVER_A_BIT, scaleRatio * SCALE_OVER_A_BIT); [self drawAtPoint:CGPointZero]; //End? UIImage *scaledImage = UIGraphicsGetImageFromCurrentImageContext(); UIGraphicsEndImageContext(); return scaledImage; } </code></pre> <p>Hope, this will help you...</p>