【发布时间】:2012-09-10 13:51:32
【问题描述】:
我正在使用此代码翻转图像。
CGAffineTransform trans = CGAffineTransformScale(imageView.transform, -1, 1);
imageView.transform = trans;
现在如果我想保存这个翻转的图像我应该怎么做?
我正在使用UIImageWriteToSavedPhotosAlbum(imageView.image, nil, nil, nil); 将图像保存在 iphone 库中,但它保存的是原始图像而不是翻转的图像。
欢迎大家提出建议。
感谢您的帮助。
【问题讨论】:
标签: iphone xcode image-processing cgaffinetransform flip