convert command
JPG -> GIF
JPG -> JPG
JPG -> PNG
JPG -> BMP
JPG -> EPS
...
GIF -> GIF
GIF -> JPG
GIF -> PNG
GIF -> BMP
GIF -> EPS
...
PNG -> GIF
PNG -> JPG
PNG -> PNG
PNG -> BMP
PNG -> EPS
...
BMP -> GIF
BMP -> JPG
BMP -> PNG
BMP -> BMP
BMP -> EPS
...
*ÁÖ¿ä ¿É¼Ç)
-colors value : color °ª
-depth value : À̹ÌÁö depth
-geometry geometry : °¡·Îx¼¼·Î Æø º¯°æÇÒ °æ¿ì
-scale geometry : '-geometry' ¿É¼Ç°ú ºñ½ÁÇÔ
-size geometry : '-geometry' ¿É¼Ç°ú ºñ½ÁÇÔ ex) 150x100
-verbose : detail infomation
ex)
$ convert -geometry 70% xxx.bmp xxx.jpg // °¡·Î,¼¼·Î Å©±â¸¦ 70%·Î ÁÙÀÓ
À̹ÌÁö »Ó¸¸ ¾Æ´Ï¶ó ´Ù¸¥ Æ÷¸Ë Áö¿ø...
# convert --help
Version: @(#)ImageMagick 5.2.2 00/08/15 Q:8 cristy@mystic.es.dupont.com
Copyright: Copyright (C) 2000 ImageMagick Studio
Usage: convert [options ...] file [ files... ] output_file
Where options include:
-adjoin join images into a single multi-image file
-affine matrix drawing transform matrix
-antialias remove pixel-aliasing
-append append an image sequence
-average average an image sequence
-blur order apply a filter to blur the image
-border geometry surround image with a border of color
-bordercolor color border color
-box color color for annotation bounding box
-cache threshold megabytes of memory available to the pixel cache
-charcoal order simulate a charcoal drawing
-coalesce merge a sequence of images
-colorize value colorize the image with the fill color
-colors value preferred number of colors in the image
-colorspace type alternate image colorspace
-comment string annotate image with comment
-compress type type of image compression
-contrast enhance or reduce the image contrast
-crop geometry preferred size and location of the cropped image
-cycle amount cycle the image colormap
-delay value display the next image after pausing
-deconstruct break down an image sequence into constituent parts
-density geometry vertical and horizontal density of the image
-depth value depth of the image
-despeckle reduce the speckles within an image
-display server obtain image or font from this X server
-dispose method GIF disposal method
-dither apply Floyd/Steinberg error diffusion to image
-draw string annotate the image with a graphic primitive
-edge order apply a filter to detect edges in the image
-emboss order emboss an image
-enhance apply a digital filter to enhance a noisy image
-equalize perform histogram equalization to an image
-fill color color to use when filling a graphic primitive
-filter type use this filter when resizing an image
-flip flip image in the vertical direction
-flop flop image in the horizontal direction
-font name X11 font for displaying text
-frame geometry surround image with an ornamental border
-fuzz distance colors within this distance are considered equal
-gamma value level of gamma correction
-geometry geometry perferred size or location of the image
-gaussian geometry gaussian blur an image
-gravity type vertical and horizontal text placement
-implode amount implode image pixels about the center
-intent type Absolute, Perceptual, Relative, or Saturation
-interlace type None, Line, Plane, or Partition
-label name assign a label to an image
-layer type Red, Green, Blue, Matte
-linewidth value width of line in pixels
-label name assign a label to an image
-loop iterations add Netscape loop extension to your GIF animation
-map filename transform image colors to match this set of colors
-matte store matte channel if the image has one
-median order apply a median filter to the image
-modulate value vary the brightness, saturation, and hue
-monochrome transform image to black and white
-morph value morph an image sequence
-mosaic create an mosaic from an image sequence
-negate replace every pixel with its complementary color
-noise add or reduce noise in an image
-normalize transform image to span the full range of colors
-opaque color change this color to the fill color
-page geometry size and location of an image canvas
-paint radius simulate an oil painting
-ping efficiently determine image characteristics
-pointsize value pointsize of Postscript font
-preview type image preview type
-profile filename add ICC or IPTC information profile to image
-quality value JPEG/MIFF/PNG compression level
-raise value lighten/darken image edges to create a 3-D effect
-region geometry apply options to a portion of the image
-roll geometry roll an image vertically or horizontally
-rotate degrees apply Paeth rotation to the image
-sample geometry scale image with pixel sampling
-scale geometry resize image
-scene value image scene number
-segment values segment an image
-seed value pseudo-random number generator seed value
-shade degrees shade the image using a distant light source
-sharpen order apply a filter to sharpen the image
-shear geometry slide one edge of the image along the X or Y axis
-size geometry width and height of image
-solarize threshold negate all pixels above the threshold level
-spread amount displace image pixels by a random amount
-stroke color color to use when stoking a graphic primitive
-swirl degrees swirl image pixels about the center
-texture filename name of texture to tile onto the image background
-threshold value threshold the image
-transparent color make this color transparent within the image
-treedepth value depth of the color storage_class tree
-units type Inch, Centimeter, or Undefined
-verbose print detailed information about the image
-view FlashPix viewing transforms
-wave geometry alter an image along a sine wave
By default, the image format of `file' is determined by its magic
number. To specify a particular image format, precede the filename
with an image format name and a colon (i.e. ps:image) or specify the
image type as the filename suffix (i.e. image.ps). Specify 'file' as
'-' for standard input or output.
Here is a list of image formats recognized by ImageMagick. Mode 'rw+'
means ImageMagick can read, write, and save more than one image of a
sequence to the same blob or file.
Format Mode Description
-------------------------------------------------------------------------
8BIM* rw- Photoshop resource format
AVI* r-- Audio/Visual Interleaved
AVS* rw+ AVS X image
BMP* rw+ Microsoft Windows bitmap image
BMP24* rw+ Microsoft Windows 24-bit bitmap image
DIB* rw+ Microsoft Windows bitmap image
CACHE* rw+ Magick Persistent Cache image format
CMYK* rw- Raw cyan, magenta, yellow, and black bytes
DCM* r-- Digital Imaging and Communications in Medicine image
EPT* -w- Adobe Encapsulated PostScript with TIFF preview
FAX* rw+ Group 3 FAX
G3* rw- Group 3 FAX
FITS* rw- Flexible Image Transport System
FPX* rw- FlashPix Format
GIF* rw+ CompuServe graphics interchange format
GIF87* rw- CompuServe graphics interchange format (version 87a)
GRAY* rw+ Raw gray bytes
GRADATION* r-- Gradual passing from one shade to another
HDF rw+ Hierarchical Data Format
HISTOGRAM* -w- Histogram of the image
HTM* -w- Hypertext Markup Language and a client-side image map
HTML* -w- Hypertext Markup Language and a client-side image map
SHTML* -w- Hypertext Markup Language and a client-side image map
ICM* rw- ICC Color Profile
ICO* r-- Microsoft icon
ICON* r-- Microsoft icon
IPTC* rw- IPTC Newsphoto
BIE* rw- Joint Bi-level Image experts Group interchange format
JBG* rw+ Joint Bi-level Image experts Group interchange format
JBIG* rw+ Joint Bi-level Image experts Group interchange format
JPEG24* rw- Joint Photographic Experts Group JFIF format
JPEG* rw- Joint Photographic Experts Group JFIF format
JPG* rw- Joint Photographic Experts Group JFIF format
LABEL* r-- Text image format
GRANITE* rw- Granite texture
H* rw- Internal format
LOGO* rw- ImageMagick Logo
NETSCAPE* rw- Netscape 216 color cube
MAP* rw- Colormap intensities and indices
MATTE* -w+ MATTE format
IMPLICIT* ---
MIFF* rw+ Magick image format
MONO* rw- Bi-level bitmap in least-significant-byte first order
MTV* rw+ MTV Raytracing image format
MVG* r-- Magick Vector Graphics
NULL* r-- Constant image of uniform color
PCD* rw- Photo CD
PCDS* rw- Photo CD
PCL* rw- Page Control Language
DCX* rw+ ZSoft IBM PC multi-page Paintbrush
PCX* rw- ZSoft IBM PC Paintbrush
PDB* r-- Pilot Image Format
EPDF* rw- Encapsulated Portable Document Format
PDF* rw+ Portable Document Format
PCT* rw- Apple Macintosh QuickDraw/PICT
PICT* rw- Apple Macintosh QuickDraw/PICT
PICT24* rw- 24-bit Apple Macintosh QuickDraw/PICT
PIX* r-- Alias/Wavefront RLE image format
PLASMA* r-- Plasma fractal image
MNG* rw+ Multiple-image Network Graphics
PNG* rw- Portable Network Graphics
P7* rw+ Xv thumbnail format
PBM* rw+ Portable bitmap format (black and white)
PGM* rw+ Portable graymap format (gray scale)
PNM* rw+ Portable anymap
PPM* rw+ Portable pixmap format (color)
PREVIEW* -w- Show a preview an image enhancement, effect, or f/x
EPI* rw- Adobe Encapsulated PostScript Interchange format
EPS* rw- Adobe Encapsulated PostScript
EPSF* rw- Adobe Encapsulated PostScript
EPSI* rw- Adobe Encapsulated PostScript Interchange format
PS* rw+ Adobe PostScript
EPS2* -w- Adobe Level II Encapsulated PostScript
PS2* -w+ Adobe Level II PostScript
PS3* -w+ Adobe Level III PostScript
PSD* rw- Adobe Photoshop bitmap
PWP* r-- Seattle Film Works
RGB* rw+ Raw red, green, and blue bytes
RGBA* rw+ Raw red, green, blue, and matte bytes
RLA* r-- Alias/Wavefront image
RLE* r-- Utah Run length encoded image
SCT* r-- Scitex HandShake
SGI* rw+ Irix RGB image
STEGANO* r-- Steganographic image
RAS* rw+ SUN Rasterfile
SUN* rw+ SUN Rasterfile
SVG* r-- Scalable Vector Gaphics
XML* r-- Scalable Vector Gaphics
ICB* rw+ Truevision Targa image
TGA* rw+ Truevision Targa image
VDA* rw+ Truevision Targa image
VST* rw+ Truevision Targa image
PTIF rw+ Pyramid encoded TIFF
TIF rw+ Tagged Image File Format
TIFF rw+ Tagged Image File Format
TIFF24 rw+ 24-bit Tagged Image File Format
TILE* r-- Tile image with a texture
TIM* r-- PSX TIM
TTF* r-- TrueType font
TEXT* rw+ Raw text
TXT* rw+ Raw text
UIL* -w- X-Motif UIL table
PAL* rw- 16bit/pixel interleaved YUV
UYVY* rw- 16bit/pixel interleaved YUV
VICAR* rw- VICAR rasterfile format
VID* r-- Visual Image Directory
VIFF* rw+ Khoros Visualization image
XV* rw+ Khoros Visualization image
WBMP* rw- Wireless Bitmap (level 0) image
WPG* r-- Word Perfect Graphics
X* rw- X Image
XBM* rw- X Windows system bitmap (black and white)
XC* r-- Constant image uniform color
PM* rw- X Windows system pixmap (color)
XPM* rw- X Windows system pixmap (color)
XWD* rw- X Windows system window dump (color)
YUV* rw- CCIR 601 4:1:1
* native blob support
ImageMagick uses these delegates to read or write image formats it does not
directly support:
Decode-Tag Encode-Tag Delegate
-------------------------------------------------------------------------
<= compress |/usr/bin/compress
<= show /usr/X11R6/bin/display
<= zip |/bin/gzip
browse => /usr/bin/netscape
bzip => |/usr/bin/bzip2
cgm => ralcgm
compress => |/usr/bin/uncompress
dot => dot
dvi => /usr/bin/dvips
edit => /usr/bin/X11/xterm
emf => wmftogif
eps<=>pdf /usr/bin/gs
eps<=>ps /usr/bin/gs
file => /usr/bin/wget
fig => /usr/bin/X11/fig2dev
ftp => /usr/bin/wget
gplt => /bin/echo
gs-color => /usr/bin/gs
gs-mono => /usr/bin/gs
hpgl => hp2xx
htm => html2ps
html => html2ps
http => /usr/bin/wget
ilbm => /usr/bin/ilbmtoppm
man => /usr/bin/groff
mpg => mpeg2decode
m2v => mpeg2decode
pdf<=>eps /usr/bin/gs
pdf<=>ps /usr/bin/gs
pgp => pgpv
pnm<= ilbm /usr/bin/ppmtoilbm
pnm<= launch /usr/bin/gimp
pnm<= win /usr/X11R6/bin/display
pov => povray
ps<=>eps /usr/bin/gs
ps<=>pdf /usr/bin/gs
ps<= print lpr
rad => ra_ppm
rgba<= rle /usr/X11R6/bin/mogrify
scan => /usr/bin/scanimage
shtml => html2ps
txt<=>ps /usr/bin/enscript
wmf => wmftogif
xcf => /usr/bin/xcftopnm
yuv<= m2v mpeg2encode
yuv<= mpg mpeg2encode
zip => |/bin/gzip
|