AVS - AVS X image file.
BIE+ - Joint Bi-level Image experts Group file interchange format.
BMP+ - Microsoft Windows bitmap image file.
BMP24+ - Microsoft Windows 24-bit bitmap image file.
CGM - Computer Graphics Metafile.
CMYK - Raw cyan, magenta, yellow, and black bytes.
DCX+ - ZSoft IBM PC multi-page Paintbrush file.
DIB - Microsoft Windows bitmap image file.
DICOM - Medical image file.
EPDF - Encapsulated Portable Document Format.
EPI - Adobe Encapsulated PostScript Interchange format.
EPS - Adobe Encapsulated PostScript file.
EPS2 - Adobe Level II Encapsulated PostScript file.
EPSF - Adobe Encapsulated PostScript file.
EPSI - Adobe Encapsulated PostScript Interchange format.
EPT - Adobe Encapsulated PostScript Interchange format with TIFF preview.
FAX+ - Group 3.
FIG - TransFig image format.
FITS - Flexible Image Transport System.
FPX - FlashPix Format.
GIF - CompuServe graphics interchange format; 8-bit color.
GIF87 - CompuServe graphics interchange format; 8-bit color (version 87a).
GRAY - Raw gray bytes.
GRADATION - gradual passing from one shade to another. Specify the
desired shading with the filename (e.g. gradation:red-blue).
GRANITE - granite texture.
HDF+ - Hierarchical Data Format.
HISTOGRAM
HPGL - HP-GL plotter language.
HTML - Hypertext Markup Language a with client-side image map.
JBIG+ - Joint Bi-level Image experts Group file interchange format.
JPEG - Joint Photographic Experts Group JFIF format; compressed 24-bit color.
ICO - Microsoft icon.
LABEL - text image.
MAP - colormap intensities and indices.
MIFF+ - Magick image file format.
MNG+ - Multiple-image Network Graphics.
MONO - Bi-level bitmap in least-significant-byte (LSB) first order.
MPEG+ - Motion Picture Experts Group file interchange format.
MTV+ -
M2V+ - Motion Picture Experts Group file interchange format (version 2).
NETSCAPE - Netscape 216 color cube.
NULL - NULL image.
PBM+ - Portable bitmap format (black and white).
PCD - Photo CD. The maximum resolution written is 512x768 pixels.
PCDS - Photo CD. Decode with the sRGB color table.
PCL - Page Control Language.
PCX - ZSoft IBM PC Paintbrush file.
PDF+ - Portable Document Format.
PGM+ - Portable graymap format (gray scale).
PICT - Apple Macintosh QuickDraw/PICT file.
PIX - Alias/Wavefront RLE image format.
PLASMA - plasma fractal image. Specify the base color as the
filename (e.g. plasma:gray). Use fractal to initialize to
a random value (e.g. plasma:fractal).
PNG - Portable Network Graphics.
PNM+ - Portable anymap.
PPM+ - Portable pixmap format (color).
PS+ - Adobe PostScript file.
PSD - Adobe PhotoShop bitmap file.
PS2+ - Adobe Level II PostScript file.
RAD - Radiance image file.
RGB - Raw red, green, and blue bytes.
RGBA - Raw red, green, blue, and matte bytes.
RLA - Alias/Wavefront image file; read only.
RLE - Utah Run length encoded image file; read only.
SGI+ - Irix RGB image file.
SHTML - Hypertext Markup Language a with client-side image map.
SUN+ - SUN Rasterfile.
TEXT - raw text file; read only.
TGA+ - Truevision Targa image file.
TIFF+ - Tagged Image File Format.
TIFF24+ - 24-bit Tagged Image File Format.
TILE - tile image with a texture.
TIM - PSX TIM file.
TTF - TrueType font file.
UIL - X-Motif UIL table.
VICAR - read only.
VID - Visual Image Directory.
VIFF+ - Khoros Visualization image file.
WIN - select image from or display image to your computer screen.
X - select image from or display image to your X server screen.
XC - constant image of X server color. Specify the image color
as the filename (e.g. xc:yellow).
XBM - X Windows system bitmap, black and white only.
XPM - X Windows system pixmap file (color).
XWD - X Windows system window dump file (color).
YUV+ - CCIR 601 4:1:1 file.
Support for some of these formats require additional programs or libraries. README tells where to find this software.
Note, a format delineated with + means that if more than one image is specified, it is combined into a single multi-image file. Use +adjoin if you want a single image produced for each frame.
Raw images are expected to have one byte per pixel unless ImageMagick is compiled in 16-bit mode. Here, the raw data is expected to be stored two bytes per pixel in most-significant-byte-first order.
Note, options -dither, -colorspace, and -treedepth affect the color reduction algorithm.
The Transparent color space behaves uniquely in that it preserves the matte channel of the image if it exists.
The -colors or -monochrome option is required for this option to take effect.
%b file size
%d directory
%e filename extention
%f filename
%h height
%m magick
%p page number
%s scene number
%t top of filename
%w width
%x x resolution
%y y resolution
\n newline
\r carriage return
For example,
-comment "%m:%f %wx%h"
This option is useful for regulating the animation of GIF images within Netscape.. 1/100ths of a second must expire before the display of the next image. The default is no delay between each showing of the image sequence. The maximum delay is 65535.
0 No disposal specified. 1 Do not dispose between frames. 2 Overwrite frame with background color from header. 3 Overwrite with previous frame.
point
line
rectangle
fillRectangle
circle
fillCircle
ellipse
fillEllipse
polygon
fillPolygon
color
matte
text
image
-draw 'circle 100,100 150,150'
point
replace
floodfill
filltoborder
reset
-draw 'text 100,100 "%m:%f %wx%h"'
annotates the image with MIFF:bird.miff 512x480 for an image titled bird.miff and whose width is 512 and height is 480. To generate a Unicode character (TrueType fonts only), embed the code as an escaped hex string (e.g. \\0x30a3).
Use image to composite an image with another image. Follow the image coordinates with the filename of an image.
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.
Use > to change the dimensions of the image only
if its size exceeds the geometry specification. < resizes
the image only if its dimensions is less than the geometry
specification. For example, if you specify 640x480> and the
image size is 512x512, the image size does not change. However, if
the image is 1024x1024, it is resized to 640x480.
Use < to change the dimensions of the image only
if its size exceeds the geometry specification. > resizes
the image only if its dimensions is less than the geometry
specification. For example, if you specify 640x480> and the
image size is 512x512, the image size does not change. However, if
the image is 1024x1024, it is resized to 640x480.
There are 72 pixels per inch in PostScript coordinates.
See X(1) for details about the color specification. A pen can also
be an image. Specify the pen color as an image name preceded by a @
(e.g. @tile.gif).
Use an optional index enclosed in brackets after a file name to specify
a desired subimage of a multi-resolution image format like Photo CD
(e.g. img0001.pcd[4]) or a range for MPEG images (e.g. video.mpg[50-75]).
A subimage specification can be disjoint (e.g. image.tiff[2,7,4]).
For raw images, specify a subimage with a geometry (e.g. -size 640x512
image.rgb[320x256+50+50]).
converts files image00.miff, image01.miff, etc.
Point
Box
Triangle
Hermite
Hanning
Hamming
Blackman
Gaussian
Quadratic
Cubic
Catrom
Mitchell
Lanczos
Bessel
Sinc
-label "%m:%f %wx%h"
Uniform
Gaussian
Multiplicative
Impulse
Laplacian
Poisson
11x17 792 1224
Ledger 1224 792
Legal 612 1008
Letter 612 792
LetterSmall 612 792
ArchE 2592 3456
ArchD 1728 2592
ArchC 1296 1728
ArchB 864 1296
ArchA 648 864
A0 2380 3368
A1 1684 2380
A2 1190 1684
A3 842 1190
A4 595 842
A4Small 595 842
A5 421 595
A6 297 421
A7 210 297
A8 148 210
A9 105 148
A10 74 105
B0 2836 4008
B1 2004 2836
B2 1418 2004
B3 1002 1418
B4 709 1002
B5 501 709
C0 2600 3677
C1 1837 2600
C2 1298 1837
C3 918 1298
C4 649 918
C5 459 649
C6 323 459
Flsa 612 936
Flse 612 936
HalfLetter 396 612
Rotate
Shear
Roll
Hue
Saturation
Brightness
Gamma
Spiff
Dull
Grayscale
Quantize
Despeckle
ReduceNoise
Add Noise
Sharpen
Blur
Threshold
EdgeDetect
Spread
Shade
Raise
Segment
Solarize
Swirl
Implode
Wave
OilPaint
CharcoalDrawing
JPEG
0: none
1: sub
2: up
3: average
4: Paeth
192x128
384x256
768x512
1536x1024
3072x2048
The fuzzy c-Means algorithm can be summarized as follows:
The fuzzy c-Means technique attempts to cluster a pixel by finding the local minima of the generalized within group sum of squared error objective function. A pixel is assigned to the closest class of which the fuzzy membership has a maximum value.
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.