This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

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.
  • Import and Export generally create PostScript level 2 files, and include certain level 3 features if appropriate.
  • Import imports an EPS file, returning its content as graphics.
  • Export exports an arbitrary text string, vector graphics, Notebook, or Cell expression to EPS.
  • Mathematica fonts and other nonstandard fonts are by default embedded in the exported file if necessary.
  • Import converts an EPS file to Mathematica vector graphics.
  • Import gives a plain text version of an EPS file.
  • Export creates an EPS file by treating expr as specifying element elem.
  • The export format can be explicitly specified with the command Export.
  • Import imports the specified element from an EPS file.
  • Import imports multiple elements.
  • Export creates an EPS file by treating expr as specifying element elem.
  • Export treats each as specifying the corresponding .
  • Export exports expr with the specified option elements taken to have the specified values.
  • Export uses rules to specify the elements to be exported.
  • 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
"Plaintext"textual content given as a string
"Image"raster image
"Preview"embedded preview image
  • General options:
BackgroundAutomaticbackground color shown in transparent image regions
ImageSizeAutomaticoverall image size
ImageResolution72image resolution for rasterization in dpi
"AllowRasterization"Automaticwhether to rasterize graphics that require advanced versions of PDF
"EmbeddedFonts"Truewhether to include nonstandard fonts
"PreviewFormat"Noneformat of the image preview to be included
  • Possible settings for are:
None no embedded preview
"Interchange" device-independent preview (EPSI)
"Metafile" Windows metafile preview (WMF)
"TIFF" TIFF raster image
  • Possible settings for :
Automatic automatically chooses the most suitable rendering method
True rasterize graphics that require advanced versions of PDF
False use vector graphics
Import an EPS file as vector graphics:
Export vector graphics to EPS:
Export a function plot to EPS:
When converting output containing characters to EPS, Mathematica by default includes all nonstandard fonts in the exported document:
This exports a Cell expression to EPS:
This converts a Notebook expression to EPS:
Create an EPSI file:
Import an EPS file as vector graphics:
In[1]:=
Click for copyable input
Out[1]=
 
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 nonstandard 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]=