ImageMagick
(→Format cross-reference) |
m (→Format cross-reference) |
||
| (20 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | { | + | {| |
| − | | | + | |[[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''' 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. | ||
| − | There is a fork of ImageMagick called [http://www.graphicsmagick.org/ GraphicsMagick], which is more stable but less frequently updated. | + | 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 == | ||
| − | * [ | + | * [https://www.imagemagick.org/ ImageMagick web site] |
| + | * [https://github.com/ImageMagick Source code at GitHub] | ||
| + | * [https://github.com/ImageMagick/ImageMagick/discussions Discussion forum] | ||
| + | * [https://www.imagemagick.org/discourse-server/ Old forums] | ||
== Examples == | == Examples == | ||
Converting from one format to another is usually as simple as typing something like: | 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 | |
| + | |||
| + | == 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 == | ||
| Line 39: | Line 58: | ||
|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 49: | Line 68: | ||
|CUR || RW || Microsoft icon || [[CUR]] | |CUR || RW || Microsoft icon || [[CUR]] | ||
|- | |- | ||
| − | |CUT || R || DR Halo || [[Dr. Halo]] | + | |CUT || R || DR Halo || [[Dr. Halo CUT]] |
|- | |- | ||
|DCM || R || Digital Imaging and Communications in Medicine image || [[DICOM]] | |DCM || R || Digital Imaging and Communications in Medicine image || [[DICOM]] | ||
| Line 60: | Line 79: | ||
|- | |- | ||
|EPS2, EPS3 || W || Encapsulated PostScript || [[Encapsulated PostScript]] | |EPS2, EPS3 || W || Encapsulated PostScript || [[Encapsulated PostScript]] | ||
| + | |- | ||
| + | |EPT, EPT2, EPT3 || RW || Encapsulated PostScript with TIFF preview || [[Encapsulated PostScript]] | ||
| + | |- | ||
| + | |FARBFELD || RW || Farbfeld || [[farbfeld]] | ||
|- | |- | ||
|FITS, FTS || RW || Flexible Image Transport System || [[Flexible Image Transport System]] | |FITS, FTS || RW || Flexible Image Transport System || [[Flexible Image Transport System]] | ||
| + | |- | ||
| + | |FL32 || RW || FilmLight || [[FL32 (FilmLight)]] | ||
|- | |- | ||
|G3, FAX || RW || Group 3 FAX || [[CCITT Group 3]] | |G3, FAX || RW || Group 3 FAX || [[CCITT Group 3]] | ||
| Line 91: | Line 116: | ||
|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 113: | Line 142: | ||
|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 138: | Line 167: | ||
|- | |- | ||
|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 154: | Line 185: | ||
|- | |- | ||
|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]] | ||
| Line 167: | Line 200: | ||
|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]] | ||
Latest revision as of 13:09, 29 October 2022
| 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 |
[edit] External links
[edit] 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
[edit] Related formats
[edit] 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 CUT |
| 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 |
| FARBFELD | RW | Farbfeld | farbfeld |
| FITS, FTS | RW | Flexible Image Transport System | Flexible Image Transport System |
| FL32 | RW | FilmLight | FL32 (FilmLight) |
| 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 |