This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
Mathematica Import/Export Format

EPS (.eps, .epsf)

MIME types: application/postscript, application/eps, application/x-eps, image/eps, image/x-eps
EPS page description language and file format.
Commonly used in 2D vector graphics and page layout applications.
Self-contained PostScript fragment, suitable for inclusion in other documents.
EPS is an acronym derived from Encapsulated PostScript.
Plain text format.
Stores text and vector graphics using the PostScript language.
Can include fonts and embedded raster graphics.
Supports various color encodings, including monochrome, grayscale, RGB, and CMYK.
Precursor to PDF.
PostScript was introduced in 1984 by Adobe.
  • Export generally creates PostScript level 2 files, and includes certain level 3 features if appropriate.
  • Export["file.eps", expr] exports an arbitrary text string, vector graphics, Notebook or Cell expression to EPS.
  • Mathematica fonts and other non-standard fonts are by default embedded in the exported file if necessary.
  • Export["file.eps", expr, elem] creates an EPS file by treating expr as specifying element elem.
  • The export format can be explicitly specified with the command Export["file", expr, "EPS"].
  • See the reference pages for full general information on Export.
  • In the notebook front end, Save As exports the active notebook as an EPS file.
  • Save Selection As exports the selected part of a notebook to EPS.
  • Data representation elements:
"Graphics"arbitrary 2D graphics
  • Export uses the "Graphics" element by default.
  • General options:
BackgroundAutomaticbackground color shown in transparent image regions
ImageSizeAutomaticoverall image size
"EmbeddedFonts"Truewhether to include nonstandard fonts
"PreviewFormat"Noneformat of the image preview to be included
  • Possible settings for "PreviewFormat" are:
Noneno embedded preview
"Interchange"device-independent preview (EPSI)
"Metafile"Windows metafile preview (WMF)
"TIFF"TIFF raster image
Export vector graphics to EPS:
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
 
Export a function plot to EPS:
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
 
When converting output containing characters to EPS, Mathematica by default includes all non-standard fonts in the exported document:
In[1]:=
Click for copyable input
Out[1]=
 
This exports a Cell expression to EPS:
In[1]:=
Click for copyable input
Out[1]=
 
This converts a Notebook expression to EPS:
In[1]:=
Click for copyable input
Out[1]=
 
Create an EPSI file:
In[1]:=
Click for copyable input
Out[1]=