Why is my image rotating
The code works great for me...almost. I am doing something wrong because my image is rotating counterclock-wise.
I am grabbing an image from the camera, running it through this code to resample it to screen resolution, then displaying it. At that point, it is rotated. That was not happening before I started resampling it.
I think it must have something to do with the origin of the CGContext being in the botton left corner. But I've tried several variations on the rect I pass in, all to no avail.
Any thoughts on getting my images back to right-side-up?
Thanks.
|