This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
fuss:imagemagick [2014/12/05 22:48] – office | fuss:imagemagick [2022/04/19 08:28] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Convert Font to Images ====== | ||
+ | |||
+ | Given a font file called '' | ||
+ | |||
+ | <code bash> | ||
+ | for i in {a..z} {A..Z} {0..9}; do convert -font font.ttf -pointsize 72 label:$i $i.gif; done | ||
+ | </ | ||
+ | |||
+ | ====== Identify an Image ====== | ||
+ | |||
+ | Using the '' | ||
+ | |||
+ | <code bash> | ||
+ | identify empty.gif | ||
+ | </ | ||
+ | |||
+ | with the sample output: | ||
+ | < | ||
+ | empty.gif GIF 1x1 1x1+0+0 8-bit PseudoClass 2c 26B 0.000u 0:00.000 | ||
+ | </ | ||
+ | |||
+ | ====== Flip and Image Vertically or Horizontally ====== | ||
+ | |||
+ | Flipping an image vertically or horizontally can be done with the '' | ||
+ | |||
+ | <code bash> | ||
+ | mogrify -flip image.png # to flip vertically | ||
+ | mogrify -flop image.png # to flip horizontally | ||
+ | </ | ||
+ | |||
+ | |||