Reputation: 1197
I have two CIImages. I'm trying to apply a CGAffineTransformation to the top image, and then pass it through along with the background image to the CIFilter for blending, but my resulting image seems to show the top image moving around (I just want it rotated on the spot).
I'm also having the same problem when scaling (the position of the top image seems to change).
What am I missing?
Upvotes: 1
Views: 2487
Reputation: 1197
So after lots of digging, turns out my problem was due to the rotation point. This question/answer helped a lot.
Upvotes: 1