<metaname="description"content="Use ImageMagick® to create, edit, compose, and convert bitmap images. Resize an image, crop it, change its shades and colors, add captions, and more."/>
<pclass="text-center"><ahref="formats.html#colorspace">A Word about Colorspaces</a> • <ahref="formats.html#supported">Supported Formats</a> • <ahref="formats.html#pseudo">Pseudo Formats</a> • <ahref="formats.html#builtin-images">Built-in Images</a> • <ahref="formats.html#builtin-patterns">Built-in Patterns</a> • <ahref="formats.html#embedded">Embedded Profiles</a></p>
<pclass="lead magick-description">ImageMagick uses an ASCII string known as <var>convert</var> (e.g. <code>GIF</code>) to identify file formats, algorithms acting as formats, built-in patterns, and embedded profile types. Support for some of the formats are delegated to libraries or external programs. The Installation Guide describes where to find these distributions and any special configuration options required.</p>
<p>To get a complete listing of which image formats are supported on your system, type</p>
<preclass="highlight"><code>identify -list format
</code></pre>
<p>On some platforms, ImageMagick automagically processes these extensions: .gz for Zip compression, .Z for Unix compression, .bz2 for block compression, and .pgp for PGP encryption. For example, a PNM image called image.pnm.gz is automagically uncompressed.</p>
<h2><aclass="anchor"id="colorspace"></a>A Word about Colorspaces</h2>
<p>A majority of the image formats assume an sRGB
colorspace (e.g. JPEG, PNG, etc.). A few support only linear RGB (e.g. EXR,
DPX, CIN, HDR) or only linear GRAY (e.g. PGM). A few formats support CMYK.
Then there is the occasional format that also supports LAB (that is CieLAB)
(e.g. TIFF, PSD, JPG, JP2). To determine the colorspace of your image, use
<td>Note, you must use an explicit image format specifier to read an APNG (<code>apng:myImage.apng</code>) image sequence, otherwise it assumes a PNG image and only reads the first frame.</td>
</tr>
<tr>
<td>ART</td>
<td>RW</td>
<td>PFS: 1st Publisher</td>
<td>Format originally used on the Macintosh (MacPaint?) and later used for PFS: 1st Publisher clip art.</td>
</tr>
<tr>
<td>ARW</td>
<td>R</td>
<td>Sony Digital Camera Alpha Raw Image Format</td>
<td>Set <code>-define dng:use-camera-wb=true</code> to use the RAW-embedded color profile for Sony cameras. You can also set these options: <code>use-auto-wb</code>, <code>use-auto-bright</code>, and <code>output-color</code>.</td>
<td>Use <ahref="command-line-options.html#quality">-quality</a> to specify the image compression quality. To meet the requirements of BPG, the quality argument divided by 2 (e.g. -quality 92 assigns 46 as the BPG compression.</td>
<td>By default the BMP format is version 4. Use BMP3 and BMP2 to write versions 3 and 2 respectively. Use <code>-define bmp:ignore-filesize</code> to ignore the filesize check.</td>
<td>Use <ahref="command-line-options.html#set">-set</a> to specify the image gamma or black and white points (e.g. <code>-set gamma 1.7</code>, <code>-set reference-black 95</code>, <code>-set reference-white 685</code>). Properties include cin:file.create_date, cin:file.create_time, cin:file.filename, cin:file.version, cin:film.count, cin:film.format, cin:film.frame_id, cin:film.frame_position, cin:film.frame_rate, cin:film.id, cin:film.offset, cin:film.prefix, cin:film.slate_info, cin:film.type, cin:image.label, cin:origination.create_date, cin:origination.create_time, cin:origination.device, cin:origination.filename, cin:origination.model, cin:origination.serial, cin:origination.x_offset, cin:origination.x_pitch, cin:origination.y_offset, cin:origination.y_pitch, cin:user.data.</td>
</tr>
<tr>
<td>CIP</td>
<td>W</td>
<td>Cisco IP phone image format</td>
<td></td>
</tr>
<tr>
<td>CMYK</td>
<td>RW</td>
<td>Raw cyan, magenta, yellow, and black samples</td>
<td>Use <ahref="command-line-options.html#size">-size</a> and <ahref="command-line-options.html#depth">-depth</a> to specify the image width, height, and depth. To specify a single precision floating-point format, use <code>-define quantum:format=floating-point</code>. Set the depth to 32 for single precision floats, 64 for double precision, and 16 for half-precision.</td>
</tr>
<tr>
<td>CMYKA</td>
<td>RW</td>
<td>Raw cyan, magenta, yellow, black, and alpha samples</td>
<td>Use <ahref="command-line-options.html#size">-size</a> and <ahref="command-line-options.html#depth">-depth</a> to specify the image width, height, and depth. To specify a single precision floating-point format, use <code>-define quantum:format=floating-point</code>. Set the depth to 32 for single precision floats, 64 for double precision, and 16 for half-precision.</td>
</tr>
<tr>
<td>CR2</td>
<td>R</td>
<td>Canon Digital Camera Raw Image Format</td>
<td>Requires an explicit image format otherwise the image is interpreted as a TIFF image (e.g. cr2:image.cr2).</td>
<td>Cube Color lookup table converted to a HALD image</td>
<td>Select levels like this: cube:Vibrant.cube[8] for level 8</td>
</tr>
<tr>
<td>CUR</td>
<td>R</td>
<td>Microsoft Cursor Icon</td>
<td></td>
</tr>
<tr>
<td>CUT</td>
<td>R</td>
<td>DR Halo</td>
<td></td>
</tr>
<tr>
<td>DCM</td>
<td>R</td>
<td>Digital Imaging and Communications in Medicine (DICOM) image</td>
<td>Used by the medical community for images like X-rays. ImageMagick sets the initial display range based on the Window Center (0028,1050) and Window Width (0028,1051) tags. Use <ahref="command-line-options.html#define">-define dcm:display-range=reset</a> to set the display range to the minimum and maximum pixel values. Use <ahref="command-line-options.html#define">-define dcm:rescale=true</a> to enable interpretation of the rescale slope and intercept settings in the file. Use <ahref="command-line-options.html#define">-define dcm:window=centerXwidth</a> to override the center and width settings in the file with your own values.</td>
<td>Use <ahref="command-line-options.html#define">-define</a> to specify the compression (e.g. <code>-define dds:compression={dxt1, dxt5, none}</code>). Other defines include <code>dds:cluster-fit={true,false}</code>, <code>dds:weight-by-alpha={true,false}</code>, <code>dds:fast-mipmaps={true,false}</code>, and use <code>dds:mipmaps</code> to set the number of mipmaps (use <code>fromlist</code> to use the image list).</td>
</tr>
<tr>
<td>DIB</td>
<td>RW</td>
<td>Microsoft Windows Device Independent Bitmap</td>
<td>DIB is a <ahref="formats.html#BMP">BMP</a> file without the <ahref="formats.html#BMP">BMP</a> header. Used to support embedded images in compound formats like WMF.</td>
<td>Requires an explicit image format otherwise the image is interpreted as a TIFF image (e.g. dng:image.dng).</td>
</tr>
<tr>
<td><ahref="http://www.graphviz.org">DOT</a></td>
<td>R</td>
<td>Graph Visualization</td>
<td>Use <ahref="command-line-options.html#define">-define</a> to specify the layout engine (e.g. <code>-define dot:layout-engine=twopi</code>).</td>
</tr>
<tr>
<td><ahref="motion-picture.html">DPX</a></td>
<td>RW</td>
<td>SMPTE Digital Moving Picture Exchange 2.0 (SMPTE 268M-2003)</td>
<td>Use <ahref="command-line-options.html#set">-set</a> to specify the image gamma or black and white points (e.g. <code>-set gamma 1.7</code>, <code>-set reference-black 95</code>, <code>-set reference-white 685</code>).</td>
</tr>
<tr>
<td>EMF</td>
<td>R</td>
<td>Microsoft Enhanced Metafile (32-bit)</td>
<td>Only available under Microsoft Windows. Use <ahref="command-line-options.html#size">-size</a> command line option to specify the maximum width and height.</td>
<td>Requires <ahref="http://www.cs.wisc.edu/%7Eghost">Ghostscript</a> to read.</td>
</tr>
<tr>
<td>EPT</td>
<td>RW</td>
<td>Adobe Encapsulated PostScript Interchange format with <ahref="formats.html#TIFF">TIFF</a> preview</td>
<td>Requires <ahref="http://www.cs.wisc.edu/%7Eghost">Ghostscript</a> to read.</td>
</tr>
<tr>
<td><ahref="http://www.openexr.org">EXR</a></td>
<td>RW</td>
<td>High dynamic-range (HDR) file format developed by Industrial Light & Magic</td>
<td>See <ahref="high-dynamic-range.html">High Dynamic-Range Images</a> for details on this image format. To specify the output color type, use <code>-define exr:color-type={RGB,RGBA,YC,YCA,Y,YA,R,G,B,A}</code>. Use <ahref="command-line-options.html#sampling-factor">-sampling-factor</a> to specify the sampling rate for YC(A) (e.g. <code>2x2 or 4:2:0</code>). Requires the <ahref="http://www.openexr.org/">OpenEXR</a> delegate library.</td>
</tr>
<tr>
<td>FARBFELD</td>
<td>RW</td>
<td>Farbfeld lossless image format</td>
<td>sRGB 16-bit RGBA lossless image format</td>
</tr>
<tr>
<td>FAX</td>
<td>RW</td>
<td>Group 3 TIFF</td>
<td>This format is a fixed width of 1728 as required by the standard. See <ahref="formats.html#TIFF">TIFF</a> format. Note that FAX machines use non-square pixels which are 1.5 times wider than they are tall but computer displays use square pixels so FAX images may appear to be narrow unless they are explicitly resized using a resize specification of <code>100x150%</code>.</td>
<td>To specify a single-precision floating-point format, use <code>-define quantum:format=floating-point</code>. Set the depth to 64 for a double-precision floating-point format.</td>
</tr>
<tr>
<td>FL32</td>
<td>RW</td>
<td>FilmLight floating point image format</td>
<td></td>
</tr>
<tr>
<td><ahref="https://flif.info/">FLIF</a></td>
<td>RW</td>
<td>Free Lossless Image Format</td>
<td></td>
</tr>
<tr>
<td>FPX</td>
<td>RW</td>
<td>FlashPix Format</td>
<td>FlashPix has the option to store mega- and giga-pixel images at various resolutions in a single file which permits conservative bandwidth and fast reveal times when displayed within a Web browser. Requires the <ahref="https://download.imagemagick.org/ImageMagick/download/delegates">FlashPix SDK</a>. Specify the FlashPix viewing parameters with the <ahref="command-line-options.html#define">-define fpx:view</a>.</td>
<td>8-bit RGB PseudoColor with up to 256 palette entries. Specify the format <code>GIF87</code> to write the older version 87a of the format. Use <ahref="command-line-options.html#transparent-color">-transparent-color</a> to specify the GIF transparent color (e.g. <code>-transparent-color wheat</code>).</td>
</tr>
<tr>
<td>GPLT</td>
<td>R</td>
<td>Gnuplot plot files</td>
<td>Requires <ahref="http://www.gnuplot.info/">gnuplot4.0.tar.Z</a> or later.</td>
</tr>
<tr>
<td>GRAY</td>
<td>RW</td>
<td>Raw gray samples</td>
<td>Use <ahref="command-line-options.html#size">-size</a> and <ahref="command-line-options.html#depth">-depth</a> to specify the image width, height, and depth. To specify a single precision floating-point format, use <code>-define quantum:format=floating-point</code>. Set the depth to 32 for single precision floats, 64 for double precision, and 16 for half-precision. For signed pixel data, use <code>-define quantum:format=signed</code>.</td>
</tr>
<tr>
<td>GRAYA</td>
<td>RW</td>
<td>Raw gray and alpha samples</td>
<td>Use <ahref="command-line-options.html#size">-size</a> and <ahref="command-line-options.html#depth">-depth</a> to specify the image width, height, and depth. To specify a single precision floating-point format, use <code>-define quantum:format=floating-point</code>. Set the depth to 32 for single precision floats, 64 for double precision, and 16 for half-precision.</td>
<td>Uses juxtaposition of 6-dot braille patterns (thus 6x2 dot matrices) to reproduce images, using the ISO/TR 11548-1 Braille encoding.</td>
</tr>
<tr>
<td>JBIG</td>
<td>RW</td>
<td>Joint Bi-level Image experts Group file interchange format</td>
<td>Also known as <code>BIE</code> and <code>JBG</code>. Requires <ahref="http://www.cl.cam.ac.uk/~mgk25/jbigkit/">jbigkit-1.6.tar.gz</a>.</td>
</tr>
<tr>
<td><ahref="http://www.libmng.com/">JNG</a></td>
<td>RW</td>
<td>Multiple-image Network Graphics</td>
<td>JPEG in a PNG-style wrapper with transparency. Requires libjpeg and libpng-1.0.11 or later, <ahref="http://www.libpng.org/pub/png/libpng.html">libpng-1.2.5</a> or later recommended.</td>
<td>Specify the encoding options with the <ahref="command-line-options.html#define">-define</a> option. See <ahref="jp2.html">JP2 Encoding Options</a> for more details.</td>
<td>Specify the encoding options with the <ahref="command-line-options.html#define">-define</a> option See <ahref="jp2.html">JP2 Encoding Options</a> for more details.</td>
<td>Specify the encoding options with the <ahref="command-line-options.html#define">-define</a> option See <ahref="jp2.html">JP2 Encoding Options</a> for more details.</td>
<td>Specify the encoding options with the <ahref="command-line-options.html#define">-define</a> option See <ahref="jp2.html">JP2 Encoding Options</a> for more details.</td>
</tr>
<tr>
<td><ahref="http://www.jpeg.org/">JPEG</a></td>
<td>RW</td>
<td>Joint Photographic Experts Group JFIF format</td>
<td>Note, JPEG is a lossy compression. In addition, you cannot create black and white images with JPEG nor can you save transparency.<br/><br/> Requires <ahref="http://www.ijg.org/files/">jpegsrc.v8c.tar.gz</a>. You can set quality scaling for luminance and chrominance separately (e.g. <ahref="command-line-options.html#quality">-quality</a> 90,70). You can optionally define the DCT method, for example to specify the float method, use <ahref="command-line-options.html#define">-define jpeg:dct-method=float</a>. By default we compute optimal Huffman coding tables. Specify <ahref="command-line-options.html#define">-define jpeg:optimize-coding=false</a> to use the default Huffman tables. Two other options include <ahref="command-line-options.html#define">-define jpeg:block-smoothing</a> and <ahref="command-line-options.html#define">-define jpeg:fancy-upsampling</a>. Set the sampling factor with <ahref="command-line-options.html#define">-define jpeg:sampling-factor</a>. You can size the image with <code>jpeg:size</code>, for example <ahref="command-line-options.html#define">-define jpeg:size=128x128</a>. To restrict the maximum file size, use <code>jpeg:extent</code>, for example <ahref="command-line-options.html#define">-define jpeg:extent=400KB</a>. To define one or more custom quantization tables, use <ahref="command-line-options.html#define">-define jpeg:q-table=<i>filename</i></a>. These values are multiplied by <ahref="command-line-options.html#quality">-quality</a> argument divided by 100.0. To avoid reading a particular associated image profile, use <ahref="command-line-options.html#define">-define profile:skip=<i>name</i></a> (e.g. profile:skip=ICC).</td>
<td>Requires the <ahref="https://jxrlib.codeplex.com/">jxrlib</a> delegate library. Put the JxrDecApp and JxrEncApp applications in your execution path. </td>
</tr>
<tr>
<td><ahref="http://www.json.org">JSON</a></td>
<td>W</td>
<td>JavaScript Object Notation, a lightweight data-interchange format</td>
<td>Include additional attributes about the image with these defines: <ahref="command-line-options.html#define">-define json:locate</a>, <ahref="command-line-options.html#define">-define json:limit</a>, <ahref="command-line-options.html#define">-define json:moments</a>, or <ahref="command-line-options.html#define">-define json:features</a>. Specify the JSON model schema version with <ahref="command-line-options.html#define">-define json:version</a>. The current version is 1.0. Any version less than 1.0, returns the original JSON output which included misspelled labels.</td>
<td>Requires the <ahref="https://github.com/google/brunsli">brunsli</a> delegate library.</td>
</tr>
<tr>
<td>KERNEL</td>
<td>W</td>
<td>Morphology kernel format</td>
<td>format suitable for a morphology kernel</td>
</tr>
<tr>
<td>MAN</td>
<td>R</td>
<td>Unix reference manual pages</td>
<td>Requires that GNU groff and Ghostcript are installed.</td>
</tr>
<tr>
<td>MAT</td>
<td>R</td>
<td>MATLAB image format</td>
<td></td>
</tr>
<tr>
<td><ahref="miff.html">MIFF</a></td>
<td>RW</td>
<td>Magick image file format</td>
<td>This format persists all image attributes known to ImageMagick. To specify a single precision floating-point format, use <code>-define quantum:format=floating-point</code>. Set the depth to 32 for single precision floats, 64 for double precision, and 16 for half-precision.</td>
</tr>
<tr>
<td>MONO</td>
<td>RW</td>
<td>Bi-level bitmap in least-significant-byte first order</td>
<td>A PNG-like Image Format Supporting Multiple Images, Animation and Transparent JPEG. Requires libpng-1.0.11 or later, <ahref="http://www.libpng.org/pub/png/libpng.html">libpng-1.2.5</a> or later recommended. An interframe delay of 0 generates one frame with each additional layer composited on top. For motion, be sure to specify a non-zero delay.</td>
</tr>
<tr>
<td><ahref="http://www.ffmpeg.org/">M2V</a></td>
<td>RW</td>
<td>Motion Picture Experts Group file interchange format (version 2)</td>
<td>The most efficient data processing pattern is a write-once, read-many-times pattern. The image is generated or copied from source, then various analyses are performed on the image pixels over time. MPC supports this pattern. MPC is the native <var>in-memory</var> ImageMagick uncompressed file format. This file format is identical to that used by ImageMagick to represent images in memory and is read by mapping the file directly into memory. The MPC format is not portable and is not suitable as an archive format. It is suitable as an intermediate format for high-performance image processing. The MPC format requires two files to support one image. Image attributes are written to a file with the extension <code>.mpc</code>, whereas, image pixels are written to a file with the extension <code>.cache</code>.</td>
</tr>
<tr>
<td>MPR</td>
<td>RW</td>
<td>Magick Persistent Registry</td>
<td>This format permits you to write to and read images from memory. The image persists until the program exits. For example, let's use the MPR to create a checkerboard:
<td>Set <code>-define dng:use-camera-wb=true</code> to use the RAW-embedded color profile for Sony cameras.</td>
</tr>
<tr>
<td>MSL</td>
<td>RW</td>
<td>Magick Scripting Language</td>
<td>MSL is the XML-based scripting language supported by the <ahref="conjure.html">conjure</a> utility. MSL requires the <ahref="http://xmlsoft.org/">libxml2</a> delegate library.</td>
<td>The maximum resolution written is 768x512 pixels since larger images require huffman compression (which is not supported). Use <ahref="command-line-options.html#bordercolor">-bordercolor</a> to specify the border color (e.g. <code>-bordercolor black</code>).</td>
</tr>
<tr>
<td>PCDS</td>
<td>RW</td>
<td>Photo CD</td>
<td>Decode with the sRGB color tables.</td>
</tr>
<tr>
<td>PCL</td>
<td>W</td>
<td>HP Page Control Language</td>
<td>Use <ahref="command-line-options.html#define">-define</a> to specify fit to page option (e.g. <code>-define pcl:fit-to-page=true</code>).</td>
<td>Requires <ahref="http://www.cs.wisc.edu/%7Eghost">Ghostscript</a> to read. By default, ImageMagick sets the page size to the MediaBox. Some PDF files, however, have a CropBox or TrimBox that is smaller than the MediaBox and may include white space, registration or cutting marks outside the CropBox or TrimBox. To force ImageMagick to use the CropBox or TrimBox rather than the MediaBox, use <ahref="command-line-options.html#define">-define</a> (e.g. <code>-define pdf:use-cropbox=true</code> or <code>-define pdf:use-trimbox=true</code>). Use <ahref="command-line-options.html#density">-density</a> to improve the appearance of your PDF rendering (e.g. -density 300x300). Use <ahref="command-line-options.html#alpha">-alpha remove </a> to remove transparency. To specify direct conversion from Postscript to PDF, use <code>-define delegate:bimodel=true</code>. Use <code>-define pdf:fit-page=true</code> to scale to the page size. To immediately stop processing upon an error, set <code>-define pdf:stop-on-error</code> to <code>true</code>. To set the page direction preferences to right-to-left, try <code>-define pdf:page-direction=right-to-left</code>. Use <ahref="command-line-options.html#alpha">-alpha remove </a> to remove transparency. When writing to a PDF, thumbnails are included by default. To skip generating thumbnails, <code>-define pdf:thumbnail=false</code>. To enable interpolation when rendering, use <code>-define pdf:interpolate=true</code>.</td>
</tr>
<tr>
<td>PEF</td>
<td>R</td>
<td>Pentax Electronic File</td>
<td>Requires an explicit image format otherwise the image is interpreted as a TIFF image (e.g. pef:image.pef).</td>
<td>Requires libpng-1.0.11 or later, <ahref="http://www.libpng.org/pub/png/libpng.html">libpng-1.2.5</a> or later recommended. The PNG specification does not support pixels-per-inch units, only pixels-per-centimeter. To avoid reading a particular associated image profile, use <ahref="command-line-options.html#define">-define profile:skip=<i>name</i></a> (e.g. profile:skip=ICC).</td>
<td>PNM is a family of formats supporting portable bitmaps (PBM) , graymaps (PGM), and pixmaps (PPM). There is no file format associated with pnm itself. If PNM is used as the output format specifier, then ImageMagick automagically selects the most appropriate format to represent the image. The default is to write the binary version of the formats. Use <ahref="command-line-options.html#compress">-compress none</a> to write the ASCII version of the formats.</td>
<td>Requires <ahref="http://www.cs.wisc.edu/%7Eghost">Ghostscript</a> to read. To force ImageMagick to respect the crop box, use <ahref="command-line-options.html#define">-define</a> (e.g. <code>-define eps:use-cropbox=true</code>). Use <ahref="command-line-options.html#density">-density</a> to improve the appearance of your Postscript rendering (e.g. -density 300x300). Use <ahref="command-line-options.html#alpha">-alpha remove </a> to remove transparency. To specify direct conversion from PDF to Postscript, use <code>-define delegate:bimodel=true</code>.</td>
</tr>
<tr>
<td>PS2</td>
<td>RW</td>
<td>Adobe Level II PostScript file</td>
<td>Requires <ahref="http://www.cs.wisc.edu/%7Eghost">Ghostscript</a> to read.</td>
</tr>
<tr>
<td>PS3</td>
<td>RW</td>
<td>Adobe Level III PostScript file</td>
<td>Requires <ahref="http://www.cs.wisc.edu/%7Eghost">Ghostscript</a> to read.</td>
<td>Use <ahref="command-line-options.html#define">-define psd:alpha-unblend=off</a> to disable alpha blenning in the merged image. Use <ahref="command-line-options.html#define">-define psd:additional-info=all|selective</a> to transfer additional information from the input PSD file to output PSD file. The 'selective' option will preserve all additional information that is not related to the geometry of the image. The 'all' option should only be used when the geometry of the image has not been changed. This option is helpful when transferring non-simple layers, such as adjustment layers from the input PSD file to the output PSD file. This define is available as of Imagemagick version 6.9.5-8. Use <ahref="command-line-options.html#define">-define psd:preserve-opacity-mask=true</a> to preserve the opacity mask of a layer and add it back to the layer when the image is saved.</td>
<td>Requires that <i>ra_ppm</i> from the Radiance software package be installed.</td>
</tr>
<tr>
<td>RAF</td>
<td>R</td>
<td>Fuji CCD-RAW Graphic File</td>
<td></td>
</tr>
<tr>
<td>RGB</td>
<td>RW</td>
<td>Raw red, green, and blue samples</td>
<td>Use <ahref="command-line-options.html#size">-size</a> and <ahref="command-line-options.html#depth">-depth</a> to specify the image width, height, and depth. To specify a single precision floating-point format, use <code>-define quantum:format=floating-point</code>. Set the depth to 32 for single precision floats, 64 for double precision, and 16 for half-precision.</td>
</tr>
<tr>
<td>RGB565</td>
<td>R</td>
<td>Raw red, green, blue pixels in the 5-6-5 format</td>
<td>Use <ahref="command-line-options.html#size">-size</a> to specify the image width and height.</td>
</tr>
<tr>
<td>RGBA</td>
<td>RW</td>
<td>Raw red, green, blue, and alpha samples</td>
<td>Use <ahref="command-line-options.html#size">-size</a> and <ahref="command-line-options.html#depth">-depth</a> to specify the image width, height, and depth. To specify a single precision floating-point format, use <code>-define quantum:format=floating-point</code>. Set the depth to 32 for single precision floats, 64 for double precision, and 16 for half-precision.</td>
<td>Hypertext Markup Language client-side image map</td>
<td>Used to write HTML clickable image maps based on a the output of <ahref="montage.html">montage</a> or a format which supports tiled images such as <ahref="formats.html#MIFF">MIFF</a>.</td>
</tr>
<tr>
<td>SID, MrSID</td>
<td>R</td>
<td>Multiresolution seamless image</td>
<td>Requires the <ahref="http://www.lizardtech.com/downloads/downloads.html?dl=/download/files/lin/geoexpress_commandlineutils_linux.tgz">mrsidgeodecode</a> command line utility that decompresses MG2 or MG3 SID image files.</td>
</tr>
<tr>
<td>SPARSE-COLOR</td>
<td>W</td>
<td>Raw text file</td>
<td>Format compatible with the <ahref="command-line-options.html#sparse-color">-sparse-color</a> option. Lists only non-fully-transparent pixels.</td>
<td>ImageMagick utilizes <ahref="http://www.inkscape.org/">inkscape</a> if its in your execution path otherwise <ahref="http://developer.gnome.org/rsvg/">RSVG</a>. If neither are available, ImageMagick reverts to its internal SVG renderer. The default resolution is 96 DPI. Use <ahref="command-line-options.html#size">-size</a> command line option to specify the maximum width and height. If you want to render a very large SVG and you trust the source, enable this option: <code>-define svg:xml-parse-huge=true</code>.</td>
</tr>
<tr>
<td>TEXT</td>
<td>R</td>
<td>text file</td>
<td>Requires an explicit format specifier to read, e.g. text:README.txt.</td>
</tr>
<tr>
<td>TGA</td>
<td>RW</td>
<td>Truevision Targa image</td>
<td>Also known as formats <code>ICB</code>, <code>VDA</code>, and <code>VST</code>.</td>
<td>Also known as <code>TIF</code>. Requires <ahref="http://www.libtiff.org/">tiff-v3.6.1.tar.gz</a> or later. Use <ahref="command-line-options.html#define">-define</a> to specify the rows per strip (e.g. <code>-define tiff:rows-per-strip=8</code>). To define the tile geometry, use for example, <code>-define tiff:tile-geometry=128x128</code>. To specify a <var>signed</var> format, use <code>-define quantum:format=signed</code>. To specify a single-precision floating-point format, use <code>-define quantum:format=floating-point</code>. Set the depth to 64 for a double-precision floating-point format. Use <code>-define quantum:polarity=min-is-black</code> or <code>-define quantum:polarity=min-is-white</code> toggle the photometric interpretation for a bilevel image. Specify the extra samples as associated or unassociated alpha with, for example, <code>-define tiff:alpha=unassociated</code>. Set the fill order with <code>-define tiff:fill-order=msb|lsb</code>. Set the TIFF endianness with <code>-define tiff:endian=msb|lsb</code>. Use <code>-define tiff:exif-properties=false</code> to skip reading the EXIF properties. You can set a number of TIFF software attributes including document name, host computer, artist, timestamp, make, model, software, and copyright. For example, <ahref="command-line-options.html#set">-set tiff:software "My Company"</a>. If you want to ignore certain TIFF tags, use this option: <code>-define tiff:ignore-tags=comma-separated-list-of-tag-IDs</code>. Since version 6.9.1-4 there is support for reading photoshop layers in TIFF files, this can be disabled with <code>-define tiff:ignore-layers=true</code>. To preserve compression of the source image, use: <code>-define tiff:preserve-compression=true</code>.</td>
<td>Requires <ahref="http://www.freetype.org/">freetype 2</a>. Opening as file returns a preview image. Use <ahref="command-line-options.html#set">-set</a> if you do not want to hint glyph outlines after their scaling to device pixels (e.g. <code>-set type:hinting off</code>).</td>
</tr>
<tr>
<td>TXT</td>
<td>RW</td>
<td>Raw text file</td>
<td>Use <ahref="command-line-options.html#define">-define</a> to specify the color compliance (e.g. <code>-define txt:compliance=css</code>).</td>
<td>Uses juxtaposition of 6-dot braille patterns (thus 6x2 dot matrices) to reproduce images, using the Unicode Braille encoding.</td>
</tr>
<tr>
<td>UIL</td>
<td>W</td>
<td>X-Motif UIL table</td>
<td></td>
</tr>
<tr>
<td>UYVY</td>
<td>RW</td>
<td>Interleaved YUV raw image</td>
<td>Use <ahref="command-line-options.html#size">-size</a> and <ahref="command-line-options.html#depth">-depth</a> command line options to specify width and height. Use <ahref="command-line-options.html#sampling-factor">-sampling-factor</a> to set the desired subsampling (e.g. -sampling-factor 4:2:2).</td>
<td>Requires the <ahref="https://jxrlib.codeplex.com/">jxrlib</a> delegate library. Put the JxrDecApp and JxrEncApp applications in your execution path. </td>
<td>Requires the <ahref="https://developers.google.com/speed/webp/download">WEBP</a> delegate library. Specify the encoding options with the <ahref="command-line-options.html#define">-define</a> option See <ahref="webp.html">WebP Encoding Options</a> for more details.</td>
<td>Requires <ahref="http://sourceforge.net/projects/wvware/">libwmf</a>. By default, renders WMF files using the dimensions specified by the metafile header. Use the -density option to adjust the output resolution, and thereby adjust the output size. The default output resolution is 72DPI so <code>-density 144</code> results in an image twice as large as the default. Use <code>-background color</code> to specify the WMF background color (default white) or <code>-texture filename</code> to specify a background texture image.</td>
<td>display or import an image to or from an X11 server</td>
<td>Use <ahref="command-line-options.html#define">-define</a> to obtain the image from the root window (e.g. <code>-define x:screen=true</code>). Set <code>x:silent=true</code> to turn off the beep when importing an image.</td>
<td>Used by the X Windows System to save/display screen dumps.</td>
</tr>
<tr>
<td>X3F</td>
<td>R</td>
<td>Sigma Camera RAW Picture File</td>
<td></td>
</tr>
<tr>
<td>YCbCr</td>
<td>RW</td>
<td>Raw Y, Cb, and Cr samples</td>
<td>Use <ahref="command-line-options.html#size">-size</a> and <ahref="command-line-options.html#depth">-depth</a> to specify the image width, height, and depth.</td>
</tr>
<tr>
<td>YCbCrA</td>
<td>RW</td>
<td>Raw Y, Cb, Cr, and alpha samples</td>
<td>Use <ahref="command-line-options.html#size">-size</a> and <ahref="command-line-options.html#depth">-depth</a> to specify the image width, height, and depth.</td>
</tr>
<tr>
<td>YUV</td>
<td>RW</td>
<td>CCIR 601 4:1:1</td>
<td>Use <ahref="command-line-options.html#size">-size</a> and <ahref="command-line-options.html#depth">-depth</a> command line options to specify width, height, and depth. Use <ahref="command-line-options.html#sampling-factor">-sampling-factor</a> to set the desired subsampling (e.g. -sampling-factor 4:2:2).</td>
<p>ImageMagick supports a number of image format specifications which refer to images prepared via an algorithm, or input/output targets. The following table lists these pseudo-image formats:</p>
<td>Image sequence laid out in continuous irregular courses</td>
<td>By default, a reasonable canvas size and border width is determined relative to the image collection you provide. You can explicitedly set the canvas size and border width by appending to the filename, e.g. <code>ashlar:canvas.png[1024x768+4+4]</code>. By default, alignment is along the left edge. Use <code>-define ashlar:best-fit=true</code> to align on both the left and right edges. You can label the image tiles with, for example, <code>-label %f</code>.</td>
</tr>
<tr>
<td>CANVAS</td>
<td>R</td>
<td>Canvas image of specified color</td>
<td>Useful to create solid color <var>canvas</var> images. Use
<ahref="command-line-options.html#size">-size</a> and <a
href="command-line-options.html#depth" >-depth</a> to specify the
image width, height, and depth. Example canvas color specifications
include <code>canvas:red</code> and <code>canvas:#FF0000</code>.<br/>
If no color is specified a '<code>white</code>' canvas image is
generated. If no <ahref="command-line-options.html#size">-size</a> is specified
a single pixel image of the specified color is generated.</td>
</tr>
<tr>
<td>CAPTION</td>
<td>R</td>
<td>Image caption</td>
<td></td>
</tr>
<tr>
<td>CLIP</td>
<td>RW</td>
<td>Clip path of image</td>
<td></td>
</tr>
<tr>
<td>CLIPBOARD</td>
<td>RW</td>
<td>Windows Clipboard</td>
<td>Only available under Microsoft Windows.</td>
</tr>
<tr>
<td>FRACTAL</td>
<td>R</td>
<td>Plasma fractal image</td>
<td></td>
</tr>
<tr>
<td>GRADIENT</td>
<td>R</td>
<td>Gradual passing from one shade to another</td>
<td>Returns a rendered linear top-to-bottom <ahref="gradient.html">gradient image</a> using the specified image size.</td>
</tr>
<tr>
<td>HALD</td>
<td>R</td>
<td>Identity Hald CLUT Image</td>
<td>Select levels like this: hald:[8] for level 8.</td>
</tr>
<tr>
<td>HISTOGRAM</td>
<td>W</td>
<td>Histogram of the image</td>
<td>The histogram includes the unique colors of the image as an image comment. If you have no need for the unique color list, use <code>-define histogram:unique-colors=false</code> to forego this expensive operation.</td>
</tr>
<tr>
<td>INLINE</td>
<td>RW</td>
<td>Base64-encoded inline image</td>
<td>The inline image look similar to <code>inline:data:;base64,/9j/4AAQSk...knrn//2Q==</code>. If the inline image exceeds 5000 characters, reference it from a file (e.g. <code>inline:inline.txt</code>). You can also write a base64-encoded image. Embed the mime type in the filename, for example, <code>convert myimage inline:jpeg:myimage.txt</code>.</td>
</tr>
<tr>
<td>LABEL</td>
<td>R</td>
<td>Text image format</td>
<td>Specify the desired text as the filename (e.g. <code>label:"This a label"</code>).</td>
</tr>
<tr>
<td>MAP</td>
<td>RW</td>
<td>Colormap intensities and indices</td>
<td>Set -depth to set the sample size of the intensities; indices are 16-bit if colors > 256.</td>
</tr>
<tr>
<td>MASK</td>
<td>RW</td>
<td>Image mask</td>
<td></td>
</tr>
<tr>
<td>MATTE</td>
<td>W</td>
<td>MATTE format</td>
<td>Write only.</td>
</tr>
<tr>
<td>NULL</td>
<td>RW</td>
<td>NULL image</td>
<td>Useful for creating blank tiles with <ahref="montage.html">montage</a> (use <code>NULL:</code>). Also useful as an output format when evaluating image read performance.</td>
</tr>
<tr>
<td>PANGO</td>
<td>R</td>
<td>Image caption</td>
<td>You can configure the caption layout with these defines: <code>-define pango:auto-dir=</code><var>true/false</var>, <code>-define pango:ellipsize=</code><var>start/middle/end</var>, <code>-define pango:gravity-hint=</code><var>natural/strong/line</var>, <code>-define pango:hinting=</code><var>none/auto/full</var>, <code>-define pango:indent=</code><var>points</var>, <code>-define pango:justify=</code><var>true/false</var>, <code>-define pango:language=</code><var>en_US/etc</var>, <code>-define pango:markup=</code><var>true/false</var>, <code>-define pango:single-paragraph=</code><var>true/false</var>, <code>-define pango:wrap=</code><var>word/char/word-char</var> and <code>-define pango:align=</code><var>left/center/right</var>.</td>
</tr>
<tr>
<td>PLASMA</td>
<td>R</td>
<td>Plasma fractal image</td>
<td></td>
</tr>
<tr>
<td>PREVIEW</td>
<td>W</td>
<td>Show a preview an image enhancement, effect, or f/x</td>
<td>Creates a preview montage of images prepared over a parametric range in order to assist with parameter selection. Specify the desired
preview type via the -preview option).</td>
</tr>
<tr>
<td>PRINT</td>
<td>W</td>
<td>Send image to your computer printer</td>
<td>Unix users may set the PRINTER (for 'lpr') or LPDEST (for 'lp') environment variables to select the desired printer.</td>
</tr>
<tr>
<td>SCAN</td>
<td>R</td>
<td>Import image from a scanner device</td>
<td>Requires <ahref="http://www.sane-project.org/">SANE</a> Specify the device name and path as the filename (e.g. <code>scan:'hpaio:/usb/Officejet_6200_series?serial=CN4ATCE3G20453'</code>).</td>
</tr>
<tr>
<td>RADIAL_GRADIENT</td>
<td>R</td>
<td>Gradual radial passing from one shade to another</td>
<td>Returns a rendered radial top-to-bottom <ahref="gradient.html">gradient image</a> using the specified image size.</td>
</tr>
<tr>
<td>SCANX</td>
<td>R</td>
<td>Import image from the default scanner device</td>
<td></td>
</tr>
<tr>
<td>SCREENSHOT</td>
<td>R</td>
<td>an image that shows the contents of a computer display</td>
<td></td>
</tr>
<tr>
<td>STEGANO</td>
<td>R</td>
<td>Steganographic image</td>
<td>Use <ahref="command-line-options.html#size">-size</a> command line option to specify width, height, and offset of the steganographic image</td>
</tr>
<tr>
<td>TILE</td>
<td>R</td>
<td>Tiled image</td>
<td>Create a tiled version of an image at by tiling a image. Use <ahref="command-line-options.html#size">-size</a> to specify the tiled image size. Tiles are composited on an image background and therefore is responsive to the <ahref="command-line-options.html#compose">-compose</a> option. The image is specified similar to
<code>TILE:image.miff</code>.</td>
</tr>
<tr>
<td>UNIQUE</td>
<td>W</td>
<td>Write only unique pixels to the image file.</td>
<td></td>
</tr>
<tr>
<td>VID</td>
<td>RW</td>
<td>Visual Image Directory</td>
<td>Used to create a thumbnailed directory (tiled thumbnails) of a set of images which may be used to select images to view via the <ahref="display.html">display</a> program, or saved to a <ahref="formats.html#MIFF">MIFF</a> or <ahref="formats.html#SHTML">SHTML</a> file.</td>
</tr>
<tr>
<td>WIN</td>
<td>RW</td>
<td>Select image from or display image to your computer screen</td>
<td>Only supported under Microsoft Windows.</td>
</tr>
<tr>
<td>X</td>
<td>RW</td>
<td>Select image from or display image to your X server screen</td>
<td>Also see the <ahref="import.html">import</a> and <ahref="display.html">display</a>
programs.</td>
</tr>
<tr>
<td>XC</td>
<td>R</td>
<td>Canvas image of specified color</td>
<td>An backward compatible alias for the '<code>canvas:</code>'
psuedo-file format, used to create a solid color <var>canvas</var> image.
<p>ImageMagick includes a number of built-in (embedded) images which may be referenced as if they were an image file. The <code>convert:</code> format tag may be used via the syntax <code>magick:</code><var>name</var> to request an embedded image (e.g. <code>magick:logo</code>). For backwards compatibility, the image specifications <code>GRANITE:</code>, <code>LOGO:</code>, <code>NETSCAPE:</code>, and <code>ROSE:</code> may also be used to request images with those names.</p>
<td>image using colors in Netscape 216 (6x6x6 ) color cube, 216x144</td>
<td>Most commonly used with the <ahref="convert.html">convert</a> and <ahref="mogrify.html">magick mogrify</a> programs with the <ahref="command-line-options.html#map">-map</a> option to create <var>web safe</var> images.</td>
<p>ImageMagick includes a number of built-in (embedded) patterns which may be referenced as if they were an image file. The <code>pattern:</code> format tag may be used via the syntax <code>pattern:</code><var>name</var> to request an embedded pattern (e.g. <code>pattern:checkerboard</code>). The pattern size is controlled with the <ahref="command-line-options.html#size">-size</a> command line option.</p>
<p>ImageMagick provides a number of format identifiers which are used to add, remove, and save embedded profiles for images which can support embedded profiles. Image types which may contain embedded profiles are TIFF, JPEG, and PDF.</p>