个人工具

UbuntuHelp:Photos/RotatingPhotos

来自Ubuntu中文

跳转至: 导航, 搜索
  1. title Rotating Photos

You may find that you have some photos which are the wrong way up. It's easy to rotate photos so that they're the right way up again.

  1. Open a photo in the image viewer by double-clicking it
  2. Press Left or Right to rotate the photo
  3. Press File -> Save As... to save the photo
  4. Choose a new file name and press Save

Using F-Spot Photo Manager

  1. Open F-Spot Photo Manager and find the photo you want to rotate
  2. Click the photo to select it
  3. Press Rotate Left or Rotate Right to rotate the photo

Using the GIMP Image Editor

  1. Open the image in the GIMP Image Editor
  2. Press Image -> Transform -> Rotate 90 degrees CW to rotate the image to the right (clockwise)
  3. Press Image -> Transform -> Rotate 90 degrees ACW to rotate the image to the left (anticlockwise)
  4. Press File -> Save As... to save the photo
  5. Choose a new file name and press Save

Using the Command Line

Rotating photos using the command line requires the imagemagick package to be installed.

  1. Press Applications -> Accessories -> Terminal to open the Terminal
  2. Type one of the following commands and then press the Return key to rotate an image. Replace original.jpg with the filename of the photo you want to rotate and new.jpg with the name you want the rotated photo to have.
  • convert original.jpg -rotate -90 new.jpg - Rotate the image to the left (anticlockwise)
  • convert original.jpg -rotate 90 new.jpg - Rotate the image to the right (clockwise)

See the ImageMagick documentation for more information.