My question basically is, how do I rotate a windows ATL::CImage
object?
I have loaded in a JPG image using the windows ATL CImage object, such as:
CImage myImage; myImage.Load(L"IMG1.JPG");
I have also managed to alter the pixels (made the pixels brighter) and save the new image, now I am struggling to rotate my image.
I only need to be able to rotate in 90 degree increments, so arbitrary rotation would be a bonus