@Indiepath:
Why do you need to rotate the image at the pixel level? Why don't you just use the normal rotation commands?
I use the normal SetRotation command. Because that I have problems with a virtual viewport created with UV. Maybe if I use render2texture. then put the image rotated in a texture and cut the image with UV.