To manipulate image (e.g. resize, rotate, flip etc) could be hard since it is not done everyday. It is required sometimes on certain project.
I found this library really easy and helpful. Just one file and can ease your life. Take a look.
Update: Another one (open source) that looks easy to use. WideImage