How to distort an image?

BlitzMax Forums/BlitzMax Beginners Area/How to distort an image?

christian223(Posted 2008) [#1]
What i want to do is make an image smile, so i have a picture of a face, and i want to somehow stretch his mouth without loosing quality, how can i do this?.


Czar Flavius(Posted 2008) [#2]
Jokes.


Xerra(Posted 2008) [#3]
Or maybe you could just tickle him a little?


christian223(Posted 2008) [#4]
Is there a function to do that? :P


ImaginaryHuman(Posted 2008) [#5]
Maybe have a total face image and then on top of the face image have a couple of `corner of the mouth` small images which you either animate or rotate to make it smile?


christian223(Posted 2008) [#6]
Yes i think its the simples solution to implement. I am making a infinite face generator, i thought that it was a good idea to have the image of a face and distort it to make it move and have many expressions, i think im going to have lots of "corner of mouth" types of images for the different expressions and put them all together at random, and animate them, i know how to do that allready so i wont need to study complex per pixel manipulation.

Thanks.