我使用CGContextDrawImage缩放图像,但是当我Shrink它时效率很低,有什么办法或改变提高效率。
//bitmap is 1000X1000 when i Shrink it use CGContextDrawImage
CGContextDrawImage(context, CGRectMake(cbx, cby, image.size.width-X, iamge.size.height-Y),[image CGImage]);
//X and Y increased gradually