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.miffconverts 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.