Make box with signs.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Tue, 27 Jan 2015 01:36:59 +0200
changeset 1676 cb6a89ad2210
parent 1675 7e5ff3a96f2d
child 1677 3d2d4e6062f3
Make box with signs.
image.rst
--- a/image.rst	Sun Jan 25 21:13:16 2015 +0200
+++ b/image.rst	Tue Jan 27 01:36:59 2015 +0200
@@ -42,9 +42,24 @@
   $ convert *.png -append sprites.png  # vertically
   $ convert *.png +append sprites.png  # horizontally
 
-Make box::
+Make box (with auto size)::
+
+  $ montage -background transparent --geometry 16x16  *.png sprites.png
+
+Make box with signs::
+
+  $ montage -font Bitstream-Vera-Sans-Mono -pointsize 8 -set label '%f\n%wx%h' \
+            -background white --geometry 16x16  *.png sprites.png
 
-  $ montage -background transparent --geometry 16x16 *.png sprites.png
+To get list of available font names::
+
+  $ identify -list font
+
+Make box with selected width or height::
+
+  $ montage -tile 2x *.png sprites.png
+  $ montage -tile x3 *.png sprites.png
+  $ montage -tile 3x4 *.png sprites.png
 
 Remove EXIF data.
 =================