Difference between revisions of "ImageMagick/Cheatsheet"
Jump to navigation
Jump to search
(6 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
This is a collection of commands thought to be useful. |
This is a collection of commands thought to be useful. |
||
{| class="wikitable sortable collpsible" |
{| class="wikitable sortable collpsible" |
||
! Description !! Command |
! Keyword !! Description !! Command |
||
|- |
|- |
||
| Adjust || Automatically adjust gamma values || <tt>convert <span class="input"><InputImage></span> -auto-gamma <span class="input"><OutputImage></span></tt> |
|||
| List available fonts || <tt>convert -list font</tt> |
|||
|- |
|- |
||
| Adjust || Automatically adjust levels || <tt>convert <span class="input"><InputImage></span> -auto-level <span class="input"><OutputImage></span></tt> |
|||
⚫ | |||
|- |
|- |
||
| |
| Fonts || List available fonts || <tt>convert -list font</tt> |
||
|- |
|||
⚫ | |||
|- |
|||
| Grayscale || Convert to grayscale || <tt>convert <span class="input"><InputImage></span> -type grayscale <span class="input"><OutputImage></span></tt> |
|||
|- |
|||
| Mirror || Mirror vertically || <tt>convert <span class="input"><InputImage></span> -flip <span class="input"><OutputImage></span></tt> |
|||
|- |
|||
| Mirror || Mirror horizontally || <tt>convert <span class="input"><InputImage></span> -flop <span class="input"><OutputImage></span></tt> |
|||
|- |
|||
| Montage || Create an image index or collage || <tt>montage <span class="input"><InputImages></span> -geometry <span class="input"><Width></span>x<span class="input"><Height></span> <span class="input"><OutputImage></span></tt> |
|||
|- |
|||
| Rotate || Auto rotate photos using [http://en.wikipedia.org/wiki/Exchangeable_image_file_format EXIF] tags || <tt>mogrify -auto-orient <span class="input"><Image></span></tt> |
|||
|- |
|||
| Rotate || Rotate Image clockwise by '''N''' degrees || <tt>convert <span class="input"><InputImage></span> -rotate <span class="input">+90</span> <span class="input"><OutputImage></span></tt> |
|||
|- |
|||
| Rotate || Rotate Image counter clockwise by '''N''' degrees || <tt>convert <span class="input"><InputImage></span> -rotate <span class="input">-90</span> <span class="input"><OutputImage></span></tt> |
|||
|- |
|- |
||
|} |
|} |
Latest revision as of 09:22, 17 July 2012
This is a collection of commands thought to be useful.
Keyword | Description | Command |
---|---|---|
Adjust | Automatically adjust gamma values | convert <InputImage> -auto-gamma <OutputImage> |
Adjust | Automatically adjust levels | convert <InputImage> -auto-level <OutputImage> |
Fonts | List available fonts | convert -list font |
Formats | List supported formats | convert -list format |
Grayscale | Convert to grayscale | convert <InputImage> -type grayscale <OutputImage> |
Mirror | Mirror vertically | convert <InputImage> -flip <OutputImage> |
Mirror | Mirror horizontally | convert <InputImage> -flop <OutputImage> |
Montage | Create an image index or collage | montage <InputImages> -geometry <Width>x<Height> <OutputImage> |
Rotate | Auto rotate photos using EXIF tags | mogrify -auto-orient <Image> |
Rotate | Rotate Image clockwise by N degrees | convert <InputImage> -rotate +90 <OutputImage> |
Rotate | Rotate Image counter clockwise by N degrees | convert <InputImage> -rotate -90 <OutputImage> |