The Transparent color space behaves uniquely in that it perserves the matte channel of the image if it exists.
-comment "%m:%f %wx%h"
rectangle circle polygon color matte text image
-draw 'circle 100,100 150,150'
point replace floodfill reset
-draw 'text 100,100 "%m:%f %wx%h"'
Use image to composite an image with another image. Follow the image coordinates with the filename of an image.
annotates the image with MIFF:bird.miff 512x480 for an image titled bird.miff and whose width is 512 and height is 480.
You can set the primitive color, font color, and font bounding box color with -pen, -font, and -box respectively. Options are processed in command line order so be sure to use -pen before the -draw option.
Convert contacts an X server to obtain the font. If an X server is not available, a Postscript font is used instead. You can set the pointsize with -pointsize.
-label "%m:%f %wx%h"
uniform
gaussian
multiplicative
impulse
laplacian
poisson
Letter 612x 792
Tabloid 792x1224
Ledger 1224x 792
Legal 612x1008
Statement 396x 612
Executive 540x 720
A3 842x1190
A4 595x 842
A5 420x 595
B4 729x1032
B5 516x 729
Folio 612x 936
Quarto 610x 780
10x14 720x1008
To position a GIF image, use -page +LEFT+TOP (e.g. -page +100+200).
mogrify -colors 32 cockatoo.miff -colors 16 macaw.miff
The fuzzy c-Means algorithm can be summarized as follows:
For additional information see:
Young Won Lim, Sang Uk Lee, "On The Color Image Segmentation Algorithm Based on the Thresholding and the Fuzzy c-Means Techniques", Pattern Recognition, Volume 23, Number 9, pages 935-952, 1990.
Paul Raveling, USC Information Sciences Institute. The spacial subdivision color reduction algorithm is based on his Img software.