I want to make thumb image with the size 200*151. I don't want to crop image. The thumb should be look like orignal开发者_如何学Python image. What's coding to do that ?
Take a look at MGImageUtilities from Matt Gemmell - MGImageUtilities
It's a couple categories on UIImage that provide methods for resizing images. You simply pass in a CGSize (for instance CGSize thumbnailSize = CGSizeMake(200.0f, 151.0f);
) and it will return a resized image.
Hello just resize the frame of the imageView e.g.
imageView.frame = CGRectMake(0,0,200,151);
then crop the images of full size.. for cropping you can see the blogblog
精彩评论