Couldn't find an answer by myself so putting it out there,

Would it be possible to apply some kind of a darkish gradient shading at the top and/or bottom of an image dynamically in C# using VS 2010?

The effect would be such that the center of the image is untouched but the closer we get to the bottom or the top of the image, the darker it gets to give it a nice effect.

Regards,