Encapsulated PostScript

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(sample.eps with 32-byte header)
m (Change telparia.com samples link to template)
 
(9 intermediate revisions by 6 users not shown)
Line 32: Line 32:
  
 
== Specifications ==
 
== Specifications ==
* [http://partners.adobe.com/public/developer/en/ps/5002.EPSF_Spec.pdf Encapsulated PostScript Version 3.0]
+
* [https://web.archive.org/web/19970704051627/http://www3.adobe.com/supportservice/devrelations/PDFS/TN/5002.EPSF_Spec_v3.0.pdf Encapsulated PostScript Version 3.0]
  
 
== Software ==
 
== Software ==
 
* [http://pages.cs.wisc.edu/~ghost/ Ghostscript]: A free PostScript interpreter
 
* [http://pages.cs.wisc.edu/~ghost/ Ghostscript]: A free PostScript interpreter
 
* [http://pages.cs.wisc.edu/~ghost/ Ghostview and GSview]: Viewers based on Ghostscript
 
* [http://pages.cs.wisc.edu/~ghost/ Ghostview and GSview]: Viewers based on Ghostscript
 +
* [[ImageMagick]] (requires Ghostscript)
 +
* [[XnView]] (requires Ghostscript)
 
* [http://epsviewer.org/ EPS Viewer]
 
* [http://epsviewer.org/ EPS Viewer]
 +
* CorelDRAW
  
 
== Sample files ==
 
== Sample files ==
Line 44: Line 47:
 
* https://example-files.online-convert.com/vector%20image/eps/example.eps
 
* https://example-files.online-convert.com/vector%20image/eps/example.eps
 
* http://file.fyicenter.com/b/sample.eps
 
* http://file.fyicenter.com/b/sample.eps
 +
* {{DexvertSamples|image/eps}}
  
 
== References ==
 
== References ==
''Die PostScript- Acrobat-Bibel'' by Thomas Merz, 1996, ISBN 3-9804943-0-6
+
* ''Die PostScript- Acrobat-Bibel'' by Thomas Merz, 1996, ISBN 3-9804943-0-6
 
* [http://www.file-extensions.org/ept-file-extension Information about '.ept' on File-Extensions.org]
 
* [http://www.file-extensions.org/ept-file-extension Information about '.ept' on File-Extensions.org]
  
Line 52: Line 56:
 
* [[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]]
 +
* [https://www.fireeye.com/blog/threat-research/2015/12/the_eps_awakens.html FireEye blog post about vulnerability in Microsoft's EPS implementation in 2015] (and [https://www.fireeye.com/blog/threat-research/2015/12/the-eps-awakens-part-two.html part 2])
 +
* [{{ForensicsWikiURL|encapsulated_postscript_%28eps%29}} ForensicsWiki entry] (all information already copied over)
 +
* [https://support.apple.com/en-us/HT213250 Apple dropping support in MacOS Ventura]
  
 
[[Category:Adobe]]
 
[[Category:Adobe]]
 
[[Category:TIFF]]
 
[[Category:TIFF]]

Latest revision as of 05:15, 28 December 2023

File Format
Name Encapsulated PostScript
Ontology
Extension(s) .eps, .epsf, .epsi, .epi, .ept
PRONOM fmt/122, fmt/123, fmt/124
Encapsulated PostScript (EPS) is a format based on PostScript, designed to be more like an image format than a page description language.

Contents

[edit] 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.

[edit] 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.

[edit] 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".

[edit] 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.

[edit] TIFF/WMF preview

This is a wrapper format containing an embedded TIFF or WMF file, and an embedded plain EPS file. It is sometimes called DOS EPS Binary. It begins with a 30-byte or a 32-byte binary header. In most cases then the EPS text comes and finally the preview image. For the variant with the TIFF preview image sometimes the file extension ept is used.

[edit] 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).

[edit] Specifications

[edit] Software

[edit] Sample files

[edit] References

[edit] Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox