Encapsulated PostScript
Line 3: | Line 3: | ||
|subcat=Graphics | |subcat=Graphics | ||
|extensions={{ext|eps}}, {{ext|epsf}}, {{ext|epsi}} | |extensions={{ext|eps}}, {{ext|epsf}}, {{ext|epsi}} | ||
− | |pronom={{PRONOM|fmt/124}}, others | + | |pronom={{PRONOM|fmt/122}}, {{PRONOM|fmt/123}}, {{PRONOM|fmt/124}}, others |
}} | }} | ||
− | + | [[Encapsulated PostScript]] ('''EPS''') is a format based on [[PostScript]], designed to be more like an image format than a page description language. | |
− | + | == Preview formats == | |
+ | An EPS file may contain a "preview" version of the image, intended to be used, for example, by document editors when displaying the image on the screen. This has a surprisingly large effect on the format. The varieties of EPS are best categorized based on the type of preview image. | ||
− | == | + | Also, be aware that some image viewers may display only the preview image, instead of the full-quality main image. |
− | + | ||
− | + | === No preview === | |
− | + | We'll call an EPS file with no preview image a "plain EPS" file, to distinguish it from the other EPS varieties. | |
− | + | ||
− | + | Plain EPS is a subformat of PostScript. It is a plain text file. | |
− | + | ||
− | + | === EPSI === | |
− | |- | + | EPSI (Encapsulated PostScript Interchange) is the same as plain EPS, except that it has a preview image inside it. The preview uses a simple raster image format. EPSI format can be identified by the presence of a line beginning with "<code>%%BeginPreview</code>". |
− | + | ||
− | + | === PICT preview === | |
+ | This variety is only relevant to the Macintosh platform. It contains a [[PICT]] file in the [[Resource Fork]], and a plain EPS file in the data fork. | ||
+ | |||
+ | === TIFF/WMF preview === | ||
+ | This is a wrapper format containing an embedded [[TIFF]] or [[Windows Metafile|WMF]] file, and an embedded plain EPS file. The file begins with a 32-byte binary header. | ||
+ | |||
+ | == Identification == | ||
+ | Files with a TIFF or WMF preview image begin with signature bytes <code>C5 D0 D3 C6</code>. | ||
+ | |||
+ | All other EPS formats begin with ASCII text "<code>%!PS-Adobe-x.x EPSF-x.x</code>" (where each <code>x</code> is a single digit). | ||
== Specifications == | == Specifications == | ||
Line 25: | Line 35: | ||
== Software == | == Software == | ||
− | * [http://pages.cs.wisc.edu/~ghost/ Ghostscript] | + | * [http://pages.cs.wisc.edu/~ghost/ Ghostscript]: A free PostScript interpreter |
− | * [http://pages.cs.wisc.edu/~ghost/ Ghostview and GSview] | + | * [http://pages.cs.wisc.edu/~ghost/ Ghostview and GSview]: Viewers based on Ghostscript |
+ | * [http://epsviewer.org/ EPS Viewer] | ||
== Sample files == | == Sample files == | ||
* http://aminet.net/pix/eps | * http://aminet.net/pix/eps | ||
+ | * http://cd.textfiles.com/clipart1996/HOUSEH/OTHER/ | ||
+ | * http://cd.textfiles.com/clipart1996/SCIMED/OTHER/ | ||
== Links == | == Links == | ||
* [[Wikipedia:Encapsulated PostScript|Wikipedia article]] | * [[Wikipedia:Encapsulated PostScript|Wikipedia article]] | ||
* {{EGFF|eps|Encapsulated PostScript File Format Summary}}, from the [[Encyclopedia of Graphics File Formats]] | * {{EGFF|eps|Encapsulated PostScript File Format Summary}}, from the [[Encyclopedia of Graphics File Formats]] |
Revision as of 23:46, 11 February 2014
Encapsulated PostScript (EPS) is a format based on PostScript, designed to be more like an image format than a page description language.Contents |
Preview formats
An EPS file may contain a "preview" version of the image, intended to be used, for example, by document editors when displaying the image on the screen. This has a surprisingly large effect on the format. The varieties of EPS are best categorized based on the type of preview image.
Also, be aware that some image viewers may display only the preview image, instead of the full-quality main image.
No preview
We'll call an EPS file with no preview image a "plain EPS" file, to distinguish it from the other EPS varieties.
Plain EPS is a subformat of PostScript. It is a plain text file.
EPSI
EPSI (Encapsulated PostScript Interchange) is the same as plain EPS, except that it has a preview image inside it. The preview uses a simple raster image format. EPSI format can be identified by the presence of a line beginning with "%%BeginPreview
".
PICT preview
This variety is only relevant to the Macintosh platform. It contains a PICT file in the Resource Fork, and a plain EPS file in the data fork.
TIFF/WMF preview
This is a wrapper format containing an embedded TIFF or WMF file, and an embedded plain EPS file. The file begins with a 32-byte binary header.
Identification
Files with a TIFF or WMF preview image begin with signature bytes C5 D0 D3 C6
.
All other EPS formats begin with ASCII text "%!PS-Adobe-x.x EPSF-x.x
" (where each x
is a single digit).
Specifications
Software
- Ghostscript: A free PostScript interpreter
- Ghostview and GSview: Viewers based on Ghostscript
- EPS Viewer
Sample files
- http://aminet.net/pix/eps
- http://cd.textfiles.com/clipart1996/HOUSEH/OTHER/
- http://cd.textfiles.com/clipart1996/SCIMED/OTHER/