I have a bitmap that I need to rotate an arbitrary number of degrees in C#. I need the result to be a bitmap. I see a number of questions partially addressing this problem on StackOverflow. The result for these questions are a rotated image drawn in a System.Drawing.Graphics object and displayed on the screen. That's not what I need. I need the image to be rotated, and placed into a bitmap object.
I see no methods for System.Drawing.Graphics to pull out the underlying bitmap.
Is there another way to get at this? I need at a minimum bilinear interpolation as well.