Raster Image Formats

Mathematica can export anything it displays—graphics, text, formulas, notebooks—to any standard raster image format. It can also import from such formats to give Mathematica symbolic graphics, arrays of values, or metadata in various forms.

ReferenceReference

"GIF" GIF and animated GIF (.gif)

"JPEG" JPEG (.jpeg, .jpg)

"TIFF" TIFF including fax etc. (.tiff, .tif)

"PNG" PNG format (.png)

"JPEG2000" JPEG 2000 / JP2 format (.jp2, .j2k)

"OpenEXR" theatrical film raster image format (.exr)

"ICC" color profile format (.icc, .icm)

System-Specific General Formats

"BMP" Microsoft bitmap format (.bmp)

"PICT" Macintosh PICT format (.pict)

"WMF", "EMF" Windows metafile and enhanced metafile formats

System Support Formats

"ACO" Adobe color palette format (.aco)

"XBM" X bitmap format (suitable for C source code) (.xbm)

"CUR", "ICO" cursor, icon Windows resource formats

"ICNS" Macintosh icon package format (.icns)

"PCX" Windows paintbrush format (.pcx)

Image & Rendering Formats

"PBM", "PGM", "PPM", "PNM" ASCII portable bitmap formats

"PXR" Pixar raster format (.pxr)

"TGA" TrueVision Targa format (.tga)

Printing-Related Formats

"SCT" Scitex CT prepress format (.sct)

Geospatial Raster Formats

"GeoTIFF" annotated TIFF raster file (.tif, .tiff)

Scientific & Medical Image Formats »

"FITS" FITS astronomical image format (.fit, .fits)

"DICOM" DICOM medical image format (.dcm, .dic)

"HDF", "HDF5", "NASACDF", "NetCDF" scientific data and image formats

Raw Formats

"RawBitmap" pure binary bitmap data, with type and dimensions specified separately

Common Data Elements

graphics object that displays as the image

array of numbers or lists giving numerical color values

array of RGBColor objects

rules for all elements

all available elements

Options

ImageSize ▪ ImageResolution ▪ Background

ArrayPlot generate graphics from an array of color or grayscale levels

Rasterize convert any Mathematica output to a raster representation

New to Mathematica? Find your learning path »
Have a question? Ask support »