GNU/Linux Desktop Survival Guide by Graham Williams |
|||||
Mogrify |
The command line mogrify is excellent for modifying an image: resize, rotate, recolour, etc.
Resize an Image
$ mogrify -geometry |
Rotate an Image
$ mogrify -rotate |
Reduce Colours
$ mogrify -colors 2 <filename> |
Reduce and Dither Colours
$ mogrify -colors 4 -dither <filename> |
Monochrome
$ mogrify -monochrome <filename> |
Annotate Image
$ mogrify -comment 'My holiday highlight' <filename> |
Borders
$ mogrify -border 2x4 <filename> |
Decorative Border
$ mogrify -frame 20x20 <filename> |