ImageMagick

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Format cross-reference)
m
(21 intermediate revisions by one user not shown)
Line 1: Line 1:
{{FormatInfo
+
{|
|formattype=electronic
+
|[[Software]]
|subcat=Graphics
+
| >
}}
+
|[[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''' 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 [http://www.graphicsmagick.org/ GraphicsMagick], which is more stable, but less frequently updated.
  
 
== External links ==
 
== External links ==
* [http://www.imagemagick.org/ ImageMagick web site]
+
* [https://www.imagemagick.org/ ImageMagick web site]
 +
* [https://github.com/ImageMagick Source code at GitHub]
 +
* [https://www.imagemagick.org/discourse-server/ Forums]
  
 
== Examples ==
 
== 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 <code>magick</code>, or <code>magick convert</code>, instead of <code>convert</code>.
 +
 +
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:
 
For a list of supported formats:
  $ convert -list format
+
$ convert -list format
 +
 
 +
== Related formats ==
 +
* [[MIFF|MIFF (Magick Image File Format)]]
 +
* [[Magick Persistent Cache|MPC (Magick Persistent Cache)]]
 +
* [[MVG|MVG (Magick Vector Graphics)]]
  
 
== Format cross-reference ==
 
== Format cross-reference ==
This is not a complete list of ImageMagick's formats and pseudo-formats. It is intended to include at least the portable image file formats that ImageMagick natively supports.
+
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).
 
The "RW" column indicates ''read'' support (R), ''write'' support (W), or both (RW).
Line 31: Line 57:
 
|BMP, BMP2, BMP3 || RW || Microsoft Windows bitmap image || [[BMP]]
 
|BMP, BMP2, BMP3 || RW || Microsoft Windows bitmap image || [[BMP]]
 
|-
 
|-
|BRF ||  W || BRF ASCII Braille format ||
+
|BRF ||  W || BRF ASCII Braille format || [[BRF]]
 
|-
 
|-
 
|CALS, CAL || RW || Continuous Acquisition and Life-cycle Support Type 1 || [[CALS raster]]
 
|CALS, CAL || RW || Continuous Acquisition and Life-cycle Support Type 1 || [[CALS raster]]
Line 63: Line 89:
 
|HDR || RW || Radiance RGBE image format || [[Radiance HDR]]
 
|HDR || RW || Radiance RGBE image format || [[Radiance HDR]]
 
|-
 
|-
|HRZ || RW || Slow Scan TeleVision ||
+
|HRZ || RW || Slow Scan TeleVision || [[Slow-scan television]]
 
|-
 
|-
 
|ICO, ICON || RW || Microsoft icon || [[ICO]]
 
|ICO, ICON || RW || Microsoft icon || [[ICO]]
Line 83: Line 109:
 
|MNG || RW || Multiple-image Network Graphics || [[MNG]]
 
|MNG || RW || Multiple-image Network Graphics || [[MNG]]
 
|-
 
|-
|MTV || RW || MTV Raytracing image format || [[MTV ray tracer]]
+
|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]]
 
|OTB || RW || On-the-air bitmap || [[OTA bitmap]]
Line 89: Line 119:
 
|PALM || RW || Palm pixmap || [[Palm bitmap]]
 
|PALM || RW || Palm pixmap || [[Palm bitmap]]
 
|-
 
|-
|PAM || RW || Common 2-dimensional bitmap format || [[Netpbm formats]]
+
|PAM || RW || Common 2-dimensional bitmap format || [[PAM (Portable Arbitrary Map)]]
 
|-
 
|-
|PBM, PGM, PPM, PNM || RW || Portable bitmap/... || [[Netpbm formats]]
+
|PBM, PGM, PPM, PNM || RW || Portable bitmap, ... || [[Netpbm formats]]
 
|-
 
|-
 
|PCD, PCDS || RW || Photo CD || [[Photo CD]]
 
|PCD, PCDS || RW || Photo CD || [[Photo CD]]
Line 101: Line 131:
 
|PES || R  || Embrid Embroidery Format || [[PES]]
 
|PES || R  || Embrid Embroidery Format || [[PES]]
 
|-
 
|-
|PFM || RW || Portable float format || [[PFM]]
+
|PFM || RW || Portable float format || [[PFM (Portable Float Map)]]
 
|-
 
|-
 
|PICT, PCT || RW || Apple Macintosh QuickDraw/PICT || [[PICT]]
 
|PICT, PCT || RW || Apple Macintosh QuickDraw/PICT || [[PICT]]
 
|-
 
|-
|PIX || R  || Alias/Wavefront RLE image format || [[Alias PIX]]
+
|PIX || R  || Alias/Wavefront RLE image format || [[Alias PIX]], [[Vivid IMG]]
 
|-
 
|-
 
|PNG, PNG8, ... || RW || Portable Network Graphics || [[PNG]]
 
|PNG, PNG8, ... || RW || Portable Network Graphics || [[PNG]]
Line 127: Line 157:
 
|SCT || R  || Scitex HandShake || [[Scitex CT]]
 
|SCT || R  || Scitex HandShake || [[Scitex CT]]
 
|-
 
|-
|SFW, PWP || R  || Seattle Film Works ||
+
|SFW, PWP || R  || Seattle Film Works || [[Seattle FilmWorks]]
 
|-
 
|-
 
|SGI || RW || Irix RGB image || [[SGI (image file format)]]
 
|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]]
 
|TGA, ICB,  VDA, VST || RW || Truevision Targa image || [[TGA]]
Line 146: Line 178:
 
|-
 
|-
 
|VIFF, XV || RW || Khoros Visualization image || [[VIFF]]
 
|VIFF, XV || RW || Khoros Visualization image || [[VIFF]]
 +
|-
 +
|VIPS || RW || VIPS image || [[VIPS]]
 
|-
 
|-
 
|WBMP || RW || Wireless Bitmap (level 0) image || [[WBMP]]
 
|WBMP || RW || Wireless Bitmap (level 0) image || [[WBMP]]
 
|-
 
|-
|WPG || R  || Word Perfect Graphics ||
+
|WPG || R  || Word Perfect Graphics || [[WordPerfect Graphics]]
 
|-
 
|-
 
|XBM || RW || X Windows system bitmap || [[XBM]]
 
|XBM || RW || X Windows system bitmap || [[XBM]]
Line 159: Line 193:
 
|XWD || RW || X Windows system window dump || [[XWD]]
 
|XWD || RW || X Windows system window dump || [[XWD]]
 
|}
 
|}
 +
 +
{| class="wikitable"
 +
! 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]]
 +
|}
 +
 +
[[Category:Software]]
 +
[[Category:Graphics]]
 +
[[Category:File Format Identification]]

Revision as of 19:59, 19 July 2018

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
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
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox