Using code to solve the problem is too complicated for me. You can refer to some related image processing SDK for help:www.yiigo.com/.../processing-support.shtml