特殊:Badtitle/NS100:Photos/RotatingPhotos:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
(未显示同一用户的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. | ||
<ol><li>Open a photo in the ''image viewer'' by double-clicking it | |||
</li><li>Press '''Left''' or '''Right''' to rotate the photo | |||
</li><li>Press '''File''' -> '''Save As...''' to save the photo | |||
</li><li>Choose a new file name and press '''Save'''</li></ol> | |||
=== Using F-Spot Photo Manager === | === Using F-Spot Photo Manager === | ||
<ol><li>Open ''[[UbuntuHelp:F-Spot|F-Spot]] Photo Manager'' and find the photo you want to rotate | |||
</li><li>Click the photo to select it | |||
</li><li>Press '''Rotate Left''' or '''Rotate Right''' to rotate the photo</li></ol> | |||
=== Using the GIMP Image Editor === | === Using the GIMP Image Editor === | ||
<ol><li>Open the image in the ''GIMP Image Editor'' | |||
</li><li>Press '''Image''' -> '''Transform''' -> '''Rotate 90 degrees CW''' to rotate the image to the right (clockwise) | |||
</li><li>Press '''Image''' -> '''Transform''' -> '''Rotate 90 degrees ACW''' to rotate the image to the left (anticlockwise) | |||
</li><li>Press '''File''' -> '''Save As...''' to save the photo | |||
</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. | ||
<ol><li>Press '''Applications''' -> '''Accessories''' -> '''Terminal''' to open the ''Terminal'' | |||
</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) | |||
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的最新版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/Photos/RotatingPhotos }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:Photos/RotatingPhotos | UbuntuHelp:Photos/RotatingPhotos | {{#if: | :}}Photos/RotatingPhotos}}/af | • {{#if: UbuntuHelp:Photos/RotatingPhotos|Afrikaans| [[::Photos/RotatingPhotos/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Photos/RotatingPhotos | UbuntuHelp:Photos/RotatingPhotos | {{#if: | :}}Photos/RotatingPhotos}}/ar | • {{#if: UbuntuHelp:Photos/RotatingPhotos|العربية| [[::Photos/RotatingPhotos/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Photos/RotatingPhotos | UbuntuHelp:Photos/RotatingPhotos | {{#if: | :}}Photos/RotatingPhotos}}/az | • {{#if: UbuntuHelp:Photos/RotatingPhotos|azərbaycanca| [[::Photos/RotatingPhotos/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Photos/RotatingPhotos | UbuntuHelp:Photos/RotatingPhotos | {{#if: | :}}Photos/RotatingPhotos}}/bcc | • {{#if: UbuntuHelp:Photos/RotatingPhotos|جهلسری بلوچی| [[::Photos/RotatingPhotos/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Photos/RotatingPhotos | UbuntuHelp:Photos/RotatingPhotos | {{#if: | :}}Photos/RotatingPhotos}}/bg | • {{#if: UbuntuHelp:Photos/RotatingPhotos|български| [[::Photos/RotatingPhotos/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Photos/RotatingPhotos | UbuntuHelp:Photos/RotatingPhotos | {{#if: | :}}Photos/RotatingPhotos}}/br | • {{#if: UbuntuHelp:Photos/RotatingPhotos|brezhoneg| [[::Photos/RotatingPhotos/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Photos/RotatingPhotos | UbuntuHelp:Photos/RotatingPhotos | {{#if: | :}}Photos/RotatingPhotos}}/ca | • {{#if: UbuntuHelp:Photos/RotatingPhotos|català| [[::Photos/RotatingPhotos/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Photos/RotatingPhotos | UbuntuHelp:Photos/RotatingPhotos | {{#if: | :}}Photos/RotatingPhotos}}/cs | • {{#if: UbuntuHelp:Photos/RotatingPhotos|čeština| [[::Photos/RotatingPhotos/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Photos/RotatingPhotos | UbuntuHelp:Photos/RotatingPhotos | {{#if: | :}}Photos/RotatingPhotos}}/de | • {{#if: UbuntuHelp:Photos/RotatingPhotos|Deutsch| [[::Photos/RotatingPhotos/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Photos/RotatingPhotos | UbuntuHelp:Photos/RotatingPhotos | {{#if: | :}}Photos/RotatingPhotos}}/el | • {{#if: UbuntuHelp:Photos/RotatingPhotos|Ελληνικά| [[::Photos/RotatingPhotos/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Photos/RotatingPhotos | UbuntuHelp:Photos/RotatingPhotos | {{#if: | :}}Photos/RotatingPhotos}}/es | • {{#if: UbuntuHelp:Photos/RotatingPhotos|español| [[::Photos/RotatingPhotos/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Photos/RotatingPhotos | UbuntuHelp:Photos/RotatingPhotos | {{#if: | :}}Photos/RotatingPhotos}}/fa | • {{#if: UbuntuHelp:Photos/RotatingPhotos|فارسی| [[::Photos/RotatingPhotos/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Photos/RotatingPhotos | UbuntuHelp:Photos/RotatingPhotos | {{#if: | :}}Photos/RotatingPhotos}}/fi | • {{#if: UbuntuHelp:Photos/RotatingPhotos|suomi| [[::Photos/RotatingPhotos/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Photos/RotatingPhotos | UbuntuHelp:Photos/RotatingPhotos | {{#if: | :}}Photos/RotatingPhotos}}/fr | • {{#if: UbuntuHelp:Photos/RotatingPhotos|français| [[::Photos/RotatingPhotos/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Photos/RotatingPhotos | UbuntuHelp:Photos/RotatingPhotos | {{#if: | :}}Photos/RotatingPhotos}}/gu | • {{#if: UbuntuHelp:Photos/RotatingPhotos|ગુજરાતી| [[::Photos/RotatingPhotos/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Photos/RotatingPhotos | UbuntuHelp:Photos/RotatingPhotos | {{#if: | :}}Photos/RotatingPhotos}}/he | • {{#if: UbuntuHelp:Photos/RotatingPhotos|עברית| [[::Photos/RotatingPhotos/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Photos/RotatingPhotos | UbuntuHelp:Photos/RotatingPhotos | {{#if: | :}}Photos/RotatingPhotos}}/hu | • {{#if: UbuntuHelp:Photos/RotatingPhotos|magyar| [[::Photos/RotatingPhotos/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Photos/RotatingPhotos | UbuntuHelp:Photos/RotatingPhotos | {{#if: | :}}Photos/RotatingPhotos}}/id | • {{#if: UbuntuHelp:Photos/RotatingPhotos|Bahasa Indonesia| [[::Photos/RotatingPhotos/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Photos/RotatingPhotos | UbuntuHelp:Photos/RotatingPhotos | {{#if: | :}}Photos/RotatingPhotos}}/it | • {{#if: UbuntuHelp:Photos/RotatingPhotos|italiano| [[::Photos/RotatingPhotos/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Photos/RotatingPhotos | UbuntuHelp:Photos/RotatingPhotos | {{#if: | :}}Photos/RotatingPhotos}}/ja | • {{#if: UbuntuHelp:Photos/RotatingPhotos|日本語| [[::Photos/RotatingPhotos/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Photos/RotatingPhotos | UbuntuHelp:Photos/RotatingPhotos | {{#if: | :}}Photos/RotatingPhotos}}/ko | • {{#if: UbuntuHelp:Photos/RotatingPhotos|한국어| [[::Photos/RotatingPhotos/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Photos/RotatingPhotos | UbuntuHelp:Photos/RotatingPhotos | {{#if: | :}}Photos/RotatingPhotos}}/ksh | • {{#if: UbuntuHelp:Photos/RotatingPhotos|Ripoarisch| [[::Photos/RotatingPhotos/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Photos/RotatingPhotos | UbuntuHelp:Photos/RotatingPhotos | {{#if: | :}}Photos/RotatingPhotos}}/mr | • {{#if: UbuntuHelp:Photos/RotatingPhotos|मराठी| [[::Photos/RotatingPhotos/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Photos/RotatingPhotos | UbuntuHelp:Photos/RotatingPhotos | {{#if: | :}}Photos/RotatingPhotos}}/ms | • {{#if: UbuntuHelp:Photos/RotatingPhotos|Bahasa Melayu| [[::Photos/RotatingPhotos/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Photos/RotatingPhotos | UbuntuHelp:Photos/RotatingPhotos | {{#if: | :}}Photos/RotatingPhotos}}/nl | • {{#if: UbuntuHelp:Photos/RotatingPhotos|Nederlands| [[::Photos/RotatingPhotos/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Photos/RotatingPhotos | UbuntuHelp:Photos/RotatingPhotos | {{#if: | :}}Photos/RotatingPhotos}}/no | • {{#if: UbuntuHelp:Photos/RotatingPhotos|norsk| [[::Photos/RotatingPhotos/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Photos/RotatingPhotos | UbuntuHelp:Photos/RotatingPhotos | {{#if: | :}}Photos/RotatingPhotos}}/oc | • {{#if: UbuntuHelp:Photos/RotatingPhotos|occitan| [[::Photos/RotatingPhotos/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Photos/RotatingPhotos | UbuntuHelp:Photos/RotatingPhotos | {{#if: | :}}Photos/RotatingPhotos}}/pl | • {{#if: UbuntuHelp:Photos/RotatingPhotos|polski| [[::Photos/RotatingPhotos/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Photos/RotatingPhotos | UbuntuHelp:Photos/RotatingPhotos | {{#if: | :}}Photos/RotatingPhotos}}/pt | • {{#if: UbuntuHelp:Photos/RotatingPhotos|português| [[::Photos/RotatingPhotos/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Photos/RotatingPhotos | UbuntuHelp:Photos/RotatingPhotos | {{#if: | :}}Photos/RotatingPhotos}}/ro | • {{#if: UbuntuHelp:Photos/RotatingPhotos|română| [[::Photos/RotatingPhotos/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Photos/RotatingPhotos | UbuntuHelp:Photos/RotatingPhotos | {{#if: | :}}Photos/RotatingPhotos}}/ru | • {{#if: UbuntuHelp:Photos/RotatingPhotos|русский| [[::Photos/RotatingPhotos/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Photos/RotatingPhotos | UbuntuHelp:Photos/RotatingPhotos | {{#if: | :}}Photos/RotatingPhotos}}/si | • {{#if: UbuntuHelp:Photos/RotatingPhotos|සිංහල| [[::Photos/RotatingPhotos/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Photos/RotatingPhotos | UbuntuHelp:Photos/RotatingPhotos | {{#if: | :}}Photos/RotatingPhotos}}/sq | • {{#if: UbuntuHelp:Photos/RotatingPhotos|shqip| [[::Photos/RotatingPhotos/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Photos/RotatingPhotos | UbuntuHelp:Photos/RotatingPhotos | {{#if: | :}}Photos/RotatingPhotos}}/sr | • {{#if: UbuntuHelp:Photos/RotatingPhotos|српски / srpski| [[::Photos/RotatingPhotos/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Photos/RotatingPhotos | UbuntuHelp:Photos/RotatingPhotos | {{#if: | :}}Photos/RotatingPhotos}}/sv | • {{#if: UbuntuHelp:Photos/RotatingPhotos|svenska| [[::Photos/RotatingPhotos/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Photos/RotatingPhotos | UbuntuHelp:Photos/RotatingPhotos | {{#if: | :}}Photos/RotatingPhotos}}/th | • {{#if: UbuntuHelp:Photos/RotatingPhotos|ไทย| [[::Photos/RotatingPhotos/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Photos/RotatingPhotos | UbuntuHelp:Photos/RotatingPhotos | {{#if: | :}}Photos/RotatingPhotos}}/tr | • {{#if: UbuntuHelp:Photos/RotatingPhotos|Türkçe| [[::Photos/RotatingPhotos/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Photos/RotatingPhotos | UbuntuHelp:Photos/RotatingPhotos | {{#if: | :}}Photos/RotatingPhotos}}/vi | • {{#if: UbuntuHelp:Photos/RotatingPhotos|Tiếng Việt| [[::Photos/RotatingPhotos/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Photos/RotatingPhotos | UbuntuHelp:Photos/RotatingPhotos | {{#if: | :}}Photos/RotatingPhotos}}/yue | • {{#if: UbuntuHelp:Photos/RotatingPhotos|粵語| [[::Photos/RotatingPhotos/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Photos/RotatingPhotos | UbuntuHelp:Photos/RotatingPhotos | {{#if: | :}}Photos/RotatingPhotos}}/zh | • {{#if: UbuntuHelp:Photos/RotatingPhotos|中文| [[::Photos/RotatingPhotos/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Photos/RotatingPhotos | UbuntuHelp:Photos/RotatingPhotos | {{#if: | :}}Photos/RotatingPhotos}}/zh-hans | • {{#if: UbuntuHelp:Photos/RotatingPhotos|中文(简体)| [[::Photos/RotatingPhotos/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Photos/RotatingPhotos | UbuntuHelp:Photos/RotatingPhotos | {{#if: | :}}Photos/RotatingPhotos}}/zh-hant | • {{#if: UbuntuHelp:Photos/RotatingPhotos|中文(繁體)| [[::Photos/RotatingPhotos/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:Photos/RotatingPhotos|:Photos/RotatingPhotos|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :Photos/RotatingPhotos/zh | | {{#ifexist: Photos/RotatingPhotos/zh | | {{#ifeq: {{#titleparts:Photos/RotatingPhotos|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:Photos/RotatingPhotos|1|-1|}} | zh | | }}
- 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.
- Open a photo in the image viewer by double-clicking it
- Press Left or Right to rotate the photo
- Press File -> Save As... to save the photo
- Choose a new file name and press Save
Using F-Spot Photo Manager
- Open F-Spot Photo Manager and find the photo you want to rotate
- Click the photo to select it
- Press Rotate Left or Rotate Right to rotate the photo
Using the GIMP Image Editor
- Open the image in the GIMP Image Editor
- 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)
- Press File -> Save As... to save the photo
- 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.
- 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.
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.