ImageMagick
Software | > | Graphics software | > | ImageMagick |
ImageMagick is an open source image processing toolkit. It supports a fairly large number of image file formats, and is useful as a format conversion tool.
ImageMagick includes an "identify" utility that can reveal a lot of information about the file format, and other characteristics of an image.
There is a fork of ImageMagick called GraphicsMagick, which is more stable, but less frequently updated.
Contents |
External links
Examples
Converting from one format to another is usually as simple as typing something like:
$ convert example.png example.jpg
For ImageMagick v7+, you may have to use magick
, or magick convert
, instead of convert
.
A more advanced example, to convert to a portable BMP file:
$ convert example.png -alpha remove -compress none BMP3:example.bmp
For information about an image file:
$ identify -verbose example.png
For a list of supported formats:
$ convert -list format
Related formats
Format cross-reference
This is not a complete list of ImageMagick's formats and pseudo-formats, but it is intended to include at least the portable image file formats that ImageMagick natively supports.
The "RW" column indicates read support (R), write support (W), or both (RW).
Format | RW | Description | Refer to |
---|---|---|---|
AAI | RW | AAI Dune image | AAI |
ART | RW | PFS: 1st Publisher Clip Art | ART (PFS: First Publisher) |
AVS | RW | AVS X image | AVS X image |
BMP, BMP2, BMP3 | RW | Microsoft Windows bitmap image | BMP |
BRF | W | BRF ASCII Braille format | BRF |
CALS, CAL | RW | Continuous Acquisition and Life-cycle Support Type 1 | CALS raster |
CIN | RW | Cineon Image File | Cineon |
CIP | W | Cisco IP phone image format | Cisco IP Phone image |
CUR | RW | Microsoft icon | CUR |
CUT | R | DR Halo | Dr. Halo |
DCM | R | Digital Imaging and Communications in Medicine image | DICOM |
DCX | RW | ZSoft IBM PC multi-page Paintbrush | DCX |
DDS, DXT1, DXT5 | RW | Microsoft DirectDraw Surface | DirectDraw Surface |
DPX | RW | SMPTE 268M-2003 (DPX 2.0) | DPX |
EPS2, EPS3 | W | Encapsulated PostScript | Encapsulated PostScript |
EPT, EPT2, EPT3 | RW | Encapsulated PostScript with TIFF preview | Encapsulated PostScript |
FITS, FTS | RW | Flexible Image Transport System | Flexible Image Transport System |
G3, FAX | RW | Group 3 FAX | CCITT Group 3 |
GIF, GIF87 | RW | CompuServe graphics interchange format | GIF |
GROUP4 | RW | Raw CCITT Group4 | CCITT Group 4 |
HDR | RW | Radiance RGBE image format | Radiance HDR |
HRZ | RW | Slow Scan TeleVision | Slow-scan television |
ICO, ICON | RW | Microsoft icon | ICO |
IPL | RW | IPL Image Sequence | |
ISOBRL | W | ISO/TR 11548-1 format | |
JNG | RW | JPEG Network Graphics | JNG |
JNX | R | Garmin tile format | |
JPEG, JPG, PJPEG | RW | Joint Photographic Experts Group JFIF format | JPEG, JFIF |
MAC | R | MAC Paint | MacPaint |
MIFF | RW | Magick Image File Format | MIFF |
MNG | RW | Multiple-image Network Graphics | MNG |
MPC | RW | Magick Persistent Cache image format | Magick Persistent Cache |
MTV | RW | MTV Raytracing image format | MTV ray tracer bitmap |
MVG | RW | Magick Vector Graphics | MVG |
OTB | RW | On-the-air bitmap | OTA bitmap |
PALM | RW | Palm pixmap | Palm bitmap |
PAM | RW | Common 2-dimensional bitmap format | PAM (Portable Arbitrary Map) |
PBM, PGM, PPM, PNM | RW | Portable bitmap, ... | Netpbm formats |
PCD, PCDS | RW | Photo CD | Photo CD |
PCX | RW | ZSoft IBM PC Paintbrush | PCX |
PDB | RW | Palm Database ImageViewer Format | Palm Database ImageViewer |
PES | R | Embrid Embroidery Format | PES |
PFM | RW | Portable float format | PFM (Portable Float Map) |
PICT, PCT | RW | Apple Macintosh QuickDraw/PICT | PICT |
PIX | R | Alias/Wavefront RLE image format | Alias PIX, Vivid IMG |
PNG, PNG8, ... | RW | Portable Network Graphics | PNG |
PS2, PS3 | W | PostScript | PostScript |
PSB | RW | Adobe Large Document Format | PSB |
PSD | RW | Adobe Photoshop bitmap | PSD |
RAS, SUN | RW | SUN Rasterfile | Sun Raster |
RGF | RW | LEGO Mindstorms EV3 Robot Graphic Format | |
RLA | R | Alias/Wavefront image | RLA |
RLE | R | Utah Run length encoded image | Utah RLE |
SCR | R | ZX-Spectrum SCREEN$ | SCR (ZX Spectrum) |
SCT | R | Scitex HandShake | Scitex CT |
SFW, PWP | R | Seattle Film Works | Seattle FilmWorks |
SGI | RW | Irix RGB image | SGI (image file format) |
SIX, SIXEL | RW | DEC SIXEL Graphics Format | Sixel |
TGA, ICB, VDA, VST | RW | Truevision Targa image | TGA |
TIFF, PTIF | RW | Tagged Image File Format | TIFF |
TIFF64 | RW | Tagged Image File Format (64-bit) | BigTIFF |
TIM | R | PSX TIM | TIM (PlayStation graphics) |
UBRL | W | Unicode Text format | |
UIL | W | X-Motif UIL table | |
VICAR | RW | VICAR rasterfile format | VICAR |
VIFF, XV | RW | Khoros Visualization image | VIFF |
VIPS | RW | VIPS image | VIPS |
WBMP | RW | Wireless Bitmap (level 0) image | WBMP |
WPG | R | Word Perfect Graphics | WordPerfect Graphics |
XBM | RW | X Windows system bitmap | XBM |
XCF | R | GIMP image | XCF |
XPM | RW | X Windows system pixmap | XPM |
XWD | RW | X Windows system window dump | XWD |
Format | RW | Refer to |
---|---|---|
A, B, C, CMYK, CMYKA, G, GRAY, K, M, MONO, O, PAL, R, RGB, RGBA, RGBO, UYVY, Y, YCbCr, YCbCrA, YUV | RW | Raw bitmap |