摘要: - (UIImage *)originImage:(UIImage *)image scaleToSize:(CGSize)size { UIGraphicsBeginImageContext(size); //size 为CGSize类型,即你所需要的图片尺寸 [image drawInRect:CGRectMake(0, 0, size.width, size.h... 阅读全文
posted @ 2016-03-18 12:00 Rinpe 阅读(319) 评论(0) 推荐(0) 编辑