Also, to keep DaniWeb a student-friendly place to learn, don't expect quick solutions to your homework. We'll help you get started and exchange algorithm ideas, but only if you show that you're willing to put in effort as well.
Do you have any code examples of your attempts to do this task? Perhaps we can help you figure out where you're stuck at a certain point :)
Also, try this reference in relation to the System.Drawing namespace and it's usage.
As well as this reference which presents a tutorial in the use of the System.Drawing namespace.
And pretty much 90% of the things that come up when you use Google to do a bit of research :)
Hope this helps :) Please mark as solved if this resolves your issue.