# HG changeset patch # User Oleksandr Gavenko # Date 1422315419 -7200 # Node ID cb6a89ad22102928579a54a3142ddcca6d9e68a6 # Parent 7e5ff3a96f2dded4083e6895cac642336a738d46 Make box with signs. diff -r 7e5ff3a96f2d -r cb6a89ad2210 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. =================