Monday, October 21, 2013

Rotate JPEG images without loss

Sometimes due to whatever reasons, the cameras mounted on aircraft may not be aligned in the flight direction. For instance, the top of the camera may be facing the tail and not the front of the aircraft, in which case the resultant photographs will be rotated 180 degrees to the flight direction. A simple tool to perform a rotation of the JPEG photographs without the lossy compression is the Jpegtran executable available on http://jpegclub.org/jpegtran/. Using it is easy, as shown below.



  1. In a Windows Command Prompt, type in the following:

    C:> jpegtran -rotate 180 input.jpg output.jpg

    The input.jpg image is rotated by 180 degrees.

No comments:

Related Posts with Thumbnails