IOS两张图片合成为一张图片
2014-10-22 16:08
239 查看
1
- (UIImage *)addImage:(UIImage *)image1 toImage:(UIImage *)image2 { UIGraphicsBeginImageContext(image1.size); // Draw image1 [image1 drawInRect:CGRectMake(0, 0, image1.size.width, image1.size.height)]; // Draw image2 [image2 drawInRect:CGRectMake(0, 0, image2.size.width, image2.size.height)]; UIImage *resultingImage = UIGraphicsGetImageFromCurrentImageContext(); UIGraphicsEndImageContext(); return resultingImage; }
相关文章推荐
- iOS把两张图片合成一张图片
- IOS两张图片合成为一张图片
- iOS多张图片合成一张
- 用flex将两张图片合成一张图片
- 两张图片合成一张
- ios 将两张图片写为一张图片
- android开发 两张bitmap图片合成一张图片
- iOS代码实现两张图片合成一个
- 将两张(多张图片)合成一张图片
- PHP将身份证正反面两张照片合成一张图片的代码
- 在程序中如何把两张图片合成为一张图片
- iOS代码实现两张图片合成一个
- 两张(多张)图片合成一张图片
- ios两张图片合成后有明显的背景不一致,区别很大,如何减少区别
- 使用canvas来实现两张图片合成一张
- 将两张图片合成一张
- 在程序中如何把两张图片合成为一张图片
- 两张图片合成为一张图片
- PHP 两张图片合成一张图片(加水印)
- ps怎么把两张图片合成一张 图解PS两张图片合成一张的技巧