I am looking for psuedo code or even an explanation of the best way to accomplish a goal of having an app that the user can take a picture, have them resize the picture to fit in a frame and have the resulting picture be used as a sprite in an animation.
For example, I want to be able to take a picture of a person (mostly their face), insert it in to a template picture of say a santa head, allow them to resize and rotate the picture of the face so that it fits nicely in to the face hole of the santa hat and beard and save it to be used as a sprite in an animation.
I believe I should be looking at image masks but Im not sure if thats the direction I should be headed. I’m not looking for code examples, just some nudging in the right direction on where I should be looking to accomplish such a goal.
Thanks in advance
