I have to make dissertation for mathematics this schoolyear. I'm studying the link between mathematics and photography. Now I want to know how images are rotated in Photoshop or other photo software. I found out that it has to do with complex numbers because you can rotate every pixel in the complex plane, but I can't find any source that explains how this mathematical theory is implemented in the software.

Does anyone know how they do it?

I really want to find out how it actually works, so I can make a good dissertation.

Does anyone know how they do it?

I really want to find out how it actually works, so I can make a good dissertation.