Cheese 

Cheese is a freeware (cross-platform) tool that can perform lossless rotation and manage some headers: