如果我画我的图像我解决了问题使用 CGAffintrasform
CGAffineTransform myTr = CGAffineTransformMake(1, 0, 0, -1, 0, backImage.size.height);
CGContextConcatCTM(context, myTr);
[backImage drawInRect:CGRectMake(cbx, -cby, backImage.size.width, backImage.size.height)];
myTr = CGAffineTransformMake(1, 0, 0, -1, 0, backImage.size.height);
CGContextConcatCTM(context, myTr);
当我想写文件时我用这个
NSData *imageData = UIImageJPEGRepresentation(backImage, 0);
那么图像倒置怎么办?