AVS - AVS X image file.
BMP - Microsoft Windows bitmap image file.
CMYK - Raw cyan, magenta, yellow, and black bytes.
EPS - Adobe Encapsulated PostScript file.
EPSF - Adobe Encapsulated PostScript file.
EPSI - Adobe Encapsulated PostScript Interchange format.
FAX - Group 3.
FITS - Flexible Image Transport System.
GIF - Compuserve Graphics image file.
GIF87 - Compuserve Graphics image file (version 87a).
GRAY - Raw gray bytes.
HDF - Hierarchical Data Format.
HISTOGRAM
HTML - Hypertext Markup Language.
JBIG - Joint Bi-level Image experts Group file interchange format.
JPEG - Joint Photographic Experts Group file interchange format.
MAP - colormap intensities and indices.
MATTE - Raw matte bytes.
MIFF - Magick image file format.
MPEG - Motion Picture Experts Group file interchange format.
MTV -
NULL - NULL image.
PCD - Photo CD.
PCX - ZSoft IBM PC Paintbrush file.
PDF - Portable Document Format.
PICT - Apple Macintosh QuickDraw/PICT file.
PNG - Portable Network Graphics.
PNM - Portable bitmap.
PS - Adobe PostScript 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.
RLE - Utah Run length encoded image file; read only.
SGI - Irix RGB image file.
SUN - SUN Rasterfile.
TEXT - raw text file; read only.
TGA - Truevision Targa image file.
TIFF - Tagged Image File Format.
TILE - tile image with a texture.
VICAR - read only.
VID - Visual Image Directory.
VIFF - Khoros Visualization image file.
X - select image from X server screen.
XC - constant image of X server color.
XBM - X11 bitmap file.
XPM - X11 pixmap file.
XWD - X Window System window dump image file.
YUV - CCIR 601 1:1:1 file.
YUV3 - CCIR 601 2:1:1 files.
Support for some of these formats require additional programs or libraries. README tells where to find this software.
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.
image%02d.miff
converts files image00.miff, image01.miff, etc.
convert cockatoo.miff sun:cockatoo.ras
convert -monochrome document.ps fax:page
convert -page A4+0+0 image.tiff document.ps
convert -size 768x512+128 gray:raw image.pgm
convert -size 1536x1024 img0009.pcd image.tiff convert img0009.pcd[4] image.tiff
convert 'vid:*.jpg' directory.miff
convert -font 12x24 -pen blue -geometry +100+100 -annoate "Cockatoo" bird.jpg bird.miff
convert -size 640x480 tile:bumps.jpg tiled.png
convert -mattecolor #697B8F -frame 6x6 bird.jpg icon.png
convert file.jpg histogram:file.histogram display file.histogram
convert file.jpg histogram:- | display -
-annotate "%m:%f %wx%h"
You can set the text position, font, font color, and bounding box color with -geometry, -font, and -pen respectively. Options are processed in command line order so be sure to use -geometry, -font, -pen, or -box before the -annotate option.
Note, options -dither, -colorspace, and -treedepth affect the color reduction algorithm.
The -colors or -monochrome option is required for this option to take effect.
-comment "%m:%f %wx%h"
rectangle circle polygon
-draw "circle 100,100 150,150"
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.
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.
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
See X(1) for details about the color specification.
192x128 384x256 768x512 1536x1024 3072x2048
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.