I need to write a function inside a module that doesn't use a PictureBox to rotate an image. I've found some API stuff that almost does this, but they all use a PictureBox to save the bitmap.

Can someone please help me out with this? I'm a bit lost when it comes to funky API stuff