个人工具

“UbuntuHelp:Photos/RotatingPhotos”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
 
(未显示同一用户的2个中间版本)
第3行: 第3行:
 
#title Rotating Photos
 
#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.
 
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.
# Open a photo in the ''image viewer'' by double-clicking it
+
<ol><li>Open a photo in the ''image viewer'' by double-clicking it
# Press '''Left''' or '''Right''' to rotate the photo
+
</li><li>Press '''Left''' or '''Right''' to rotate the photo
# Press '''File''' -> '''Save As...''' to save the photo
+
</li><li>Press '''File''' -> '''Save As...''' to save the photo
# Choose a new file name and press '''Save'''
+
</li><li>Choose a new file name and press '''Save'''</li></ol>
 +
 
 
=== Using F-Spot Photo Manager ===
 
=== Using F-Spot Photo Manager ===
# Open ''F-Spot Photo Manager'' and find the photo you want to rotate
+
<ol><li>Open ''[[UbuntuHelp:F-Spot|F-Spot]] Photo Manager'' and find the photo you want to rotate
# Click the photo to select it
+
</li><li>Click the photo to select it
# Press '''Rotate Left''' or '''Rotate Right''' to rotate the photo
+
</li><li>Press '''Rotate Left''' or '''Rotate Right''' to rotate the photo</li></ol>
 +
 
 
=== Using the GIMP Image Editor ===
 
=== Using the GIMP Image Editor ===
# Open the image in the ''GIMP Image Editor''
+
<ol><li>Open the image in the ''GIMP Image Editor''
# Press '''Image''' -> '''Transform''' -> '''Rotate 90 degrees CW''' to rotate the image to the right (clockwise)
+
</li><li>Press '''Image''' -> '''Transform''' -> '''Rotate 90 degrees CW''' to rotate the image to the right (clockwise)
# Press '''Image''' -> '''Transform''' -> '''Rotate 90 degrees ACW''' to rotate the image to the left (anticlockwise)
+
</li><li>Press '''Image''' -> '''Transform''' -> '''Rotate 90 degrees ACW''' to rotate the image to the left (anticlockwise)
# Press '''File''' -> '''Save As...''' to save the photo
+
</li><li>Press '''File''' -> '''Save As...''' to save the photo
# Choose a new file name and press '''Save'''
+
</li><li>Choose a new file name and press '''Save'''</li></ol>
 +
 
 
=== Using the Command Line ===
 
=== Using the Command Line ===
 
Rotating photos using the command line requires the ''imagemagick'' package to be installed.
 
Rotating photos using the command line requires the ''imagemagick'' package to be installed.
# Press '''Applications''' -> '''Accessories''' -> '''Terminal''' to open the ''Terminal''
+
<ol><li>Press '''Applications''' -> '''Accessories''' -> '''Terminal''' to open the ''Terminal''
# 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.
+
</li><li>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.</li></ol>
#* <code><nowiki>convert original.jpg -rotate -90 new.jpg</nowiki></code> - Rotate the image to the left (anticlockwise)
+
 
#* <code><nowiki>convert original.jpg -rotate 90 new.jpg</nowiki></code> - Rotate the image to the right (clockwise)
+
* <code><nowiki>convert original.jpg -rotate -90 new.jpg</nowiki></code> - Rotate the image to the left (anticlockwise)
 +
* <code><nowiki>convert original.jpg -rotate 90 new.jpg</nowiki></code> - Rotate the image to the right (clockwise)
 
See the [http://www.imagemagick.org/script/command-line-options.php#rotate ImageMagick documentation] for more information.
 
See the [http://www.imagemagick.org/script/command-line-options.php#rotate ImageMagick documentation] for more information.
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2008年10月20日 (一) 00:18的最新版本

  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.