IOS UIImage Image do góry nogami
jeśli narysuję mój obraz, naprawiłem problem, użyj 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);
kiedy chcę napisać do pliku, używam tego
NSData *imageData = UIImageJPEGRepresentation(backImage, 0);
a potem obraz do góry nogami?