JPEG is a lossy compression scheme, so decompression-manipulation-recompression normally reduces the image quality further for each step. Is it possible to rotate a
If you are talking of rotating a JPEG image then there is no further compression right? It is about rotating pixel locations.
Doing rotation with any program will potentially change intermediate dimensions, as it needs to preserver original image, this may be an issue to consider.