Is it possible to rotate a CGImage
data without redrawing the image? I would like to impact the orientation of an image in such way that when set as a CALayer
content
property, the CGImage
rotation is taken into account.
Asked
Active
Viewed 127 times
3

Nicolas Manzini
- 8,379
- 6
- 63
- 81
-
Why not simply rotate the layer instead? – DarkDust Mar 13 '14 at 09:45
-
http://stackoverflow.com/questions/10544887/rotating-a-cgimage – Arun Mar 13 '14 at 09:46
-
1@DarkDust it's to use for export in an AVExportSession on an AVSynchronizedLayer , it is said to avoid transforming layers. – Nicolas Manzini Mar 13 '14 at 09:47