The EPS file format

Encapsulated PostScript (EPS) is a standard file format for importing and exporting PostScript files. It is usually a single page PostScript program that describes an illustration or an entire page. The purpose of an EPS file is to be included in other pages. Sometimes EPS files are called EPSF files. EPSF simply stands for Encapsulated PostScript Format.

An EPS file can contain any combination of text, graphics and images. Since it is actually a PostScript file, it is the most versatile file format that is available. EPS-files usually contain a small preview image that is used to visualize the content of the file. This is done so that applications don’t need a PostScript interpreter to display the content of the EPS file. Even office applications such as Microsoft Word can display the preview image. If an EPS file is sent to a printer that doesn’t support PostScript, it is once again this preview image that is printed. The quality will not equal that of the read EPS artwork but at least there is an image on the print-out. There are millions of people working with *.eps files without realising how complex the artwork they are using really is.

EPS files can be generated by all drawing applications as well as most layout applications. Image manipulation programs like Adobe Photoshop can also save bitmap images as EPS-files. Some printer drivers are also capable of generating EPS-files as well as PostScript files.

General information

An EPS file must conform to the Adobe Document Structuring Conventions (DSC). These are a set of rules that define how PostScript data should be organized.

At a minimum, it must include a header comment, %!PS-Adobe-3.0 EPSF-3.0, and a bounding box comment, %%BoundingBox: llx lly urx ury, that describes the bounds of the illustration. (The specification does not require the EPSF version, but many programs will reject a file that does not have it.)

The EPS program must not use operators that initialize or permanently change the state of the machine in a manner that cannot be undone by the enclosing application’s use of save and restore (e.g.. the operators starting with “init” like initgraphics). As a special case, the EPS program may use the showpage operator. The importing application is responsible for disabling the normal effects of showpage. The EPS program should make no environment-sensitive decisions (the importing application may be trying to attain some special effect, and the EPS program shouldn’t screw this up), although it can use some device-dependent tricks to improve appearance such as a snap-to-pixel algorithm.

There are some operators that should not be used within an EPS file: banddevice, cleardictstack, copypage, erasepage, exitserver, framedevice, grestoreall, initclip, initgraphics, initmatrix, quit, renderbands, setglobal, setpagedevice, setshared and startjob. These also include operators from statusdict and userdict operators like legal, letter, a4, b5, etc. There are some operators that should be carefully used: nulldevice, setgstate, sethalftone, setmatrix, setscreen, settransfer and undefinefont.

EPS files can be encoded using 7-bits (ASCII, like PostScript data usually are) as well as 8-bits (binary, which is virtually always done on Macintosh because it decreases the size of the file significantly). 8 bit EPS-files cannot be handled properly by all operating systems or applications.

The image preview

EPS files can optionally contain a bitmapped image preview, so that systems that can’t render PostScript directly can at least display a crude representation of what the graphic will look like.

There are 4 preview formats:

  • PICT, mainly used in files generated on Macs. The PICT file is stored in the resource fork of the EPS file, while the actual PostScript data are stored in the data fork. PICT is the default file format of QuickDraw, the graphics model that is used by MacOS 7/8/9 applications to generate the screen display.
  • TIFF: Most EPS files created by Windows applications contain a TIFF file for preview purposes.
  • Metafile: Some EPS files originating on PC contain a Windows Metafile preview. WMF or Windows Metafile is the PC equivalent of the Macintosh PICT file format.
  • EPSI which is an EPS file with a platform device independent preview. EPSI is an all ASCII (no binary data or headers) version of EPS. EPSI provides for a hexadecimal encoded preview representation of the image that will be displayed or printed. EPSI files were documented by Adobe as a means of providing a preview for EPS files which would be cross-platform. In reality though DOS machines and Windows favour embedding TIFF or even Windows Metafiles in the PostScript. EPSI is mainly used on Unix systems.

It is also possible to have an EPS file without a preview though. In this case the imported file is usually displayed as a greyed out box or a box with diagonal lines running through it.

The preview image has a fixed resolution, which is usually 72 dpi. If you enlarge an EPS file in a document, the preview image is stretched and may become ‘blocky’ and lacking of detail. This does not necessarily mean that the EPS-data themselves will degrade in quality. As long as the EPS-file only contains text and vector graphics, scaling it does not affect its quality.

If you print a file containing an EPS-image on a non-PostScript printer, it is usually the preview image that gets printed. The preview image is ignored when you print to a PostScript device.

Remarks

Although an EPS file contains PostScript data, you cannot always sent it straight to a printer to have it printed. Some interpreters cannot handle the preview data that may be included in the EPS file. Others don’t output the file because the ’showpage” operator is missing. It can also happen that the printer does process the job but outputs a blank page because the content of the EPS-file was located outside the printable area.

EPS-files can contain PostScript level 2 operators that make it impossible to output the file on an old PostScript level 1 device.

The future of the EPS file format

EPS is rapidly becoming an outdated file format which is being replaced by PDF just like PostScript itself is also being phased out and replaced by PDF. Don’t just take my word on this. Here is what Dov Isaacs from Adobe said in a discussion on a PrintPlanet forum about the future of PostScript: “ …Adobe will continue to support EPS as a legacy graphics format for import of non-color managed, opaque graphical data into Adobe applications (such as InDesign and Illustrator). Although we certain do not recommend that new graphical content be stored in EPS format (except to satisfy the need to import data into page layout programs that aren’t quite PDF-centric — no need to mention names here!), our user base should feel comfortable that there is no need to worry about a need to convert their very sizable libraries of EPS-based graphic assets.”

Specsheet

Name: EPS
Developer: Adobe
Release date: mid 80’s
Type of data: vector, bitmap & fonts
Number of colours: unlimited
Colour spaces: ?
Compression algorithms: ?
Ideal use: information exchange between prepress applications
Extension on PC-platform: .EPS
Macintosh file type : EPSF (sometimes TEXT)
Special features: -
Remarks: manual available here

65 Comments to “The EPS file format”

  1. I use Adobe Illustrator CS2 to create EPS graphics imported into Adobe FrameMaker 7.2. I then make a high-end PDF to have it professionally printed. Why shouldn’t I save the graphic files as AI instead; they’re smaller files. Is there any information lost? What are the advantages of using EPS files over AI files?

  2. As far as I know, no information is lost working with AI.
    I think the main difference is one of ‘prinicpals’. EPS is a universal file format - you can use such files in any application that supports this standard file format. AI is a proprietary Adobe file format, mainly compatible with Adobe applications themselves. It is Adobe’s way of making sure you stick with their software and leave other products untouched. As long as your are happy with that: no problemo!

  3. how can i see these format file was .eps files

  4. I would like to more about EPS

  5. You can see that a file is an EPS file by looking at its extension, which should be .eps

    If the extension got lost in file transfer or is not shown, the only other alternative that I know is to open the file with an editor or word processor and look at the first lines of text. They should indicate that this is an EPS-file. This first line could for instance be: %!PS-Adobe-2.0 EPSF-1.2 or something similar - with EPSF clearly indicating that this is an EPS file. One of the subsequent lines tells you which application was used to create the file.

    Also check out http://www.quite.com/ps/eps1.htm

  6. Regarding the use of AI versus EPS: it was discussed in one of the prepress forums of PrintPlanet recently. Here is what one user had to say:

    Illustrator files with transparency that are never saved as an EPS file and passed to a prepress department (usually as a PDF saved from Illustrator) are well known to present significant issues when it comes to ripping and printing.

    These issues simply don’t come into play if the file has been saved as an EPS at some point.

    If you want to work solely in Illustrator, at least provide the prepress department your working ai file and all linked and embedded images (and fonts of course). We will save it as an EPS for you or whatever else needs to be done to make sure your file prints accurately.

    Illustrator as the final file ???? - JUST NOT THE REALITY OF PRINTING.

  7. How can i open .EPS file? can u tell me an appropriate software also?]
    i got a >EPS file from someone , but when i tried to open it, its not opening, pls kindlt help me ASAP
    daisy18jan2002@gmail.com

  8. http://www.brothersoft.com/graphics_design/viewers/viewer_download_42230.html

    you can view the files by downloading the above.

  9. EPS-files are a bit like PDF files. They can be viewed, inserted in other documents but it is not really a file format that is meant to be edited. If you need to open an EPS file to edit it, drawing programs such as Adobe Illustrator or Corel Draw are probably your best bet. This may work but there is no guarantee that it does. The best approach is to get hold of the original source file, correct it and then generate a new EPS-file.

  10. How can I convert a .bmp or .jpg file to a .eps or .ai file? I do not have Photoshop or Corel draw.

  11. There are conversion tools such as GraphicConverter that can do this. Googling “bmp eps conversion” brings up a ton of other alternatives for both Mac and PC.

  12. thank you

  13. Interesting site!
    Actually, i am trying to include preview in eps file that does not contain one, in order to be able to visualize them in a navigator. I’m working on a linux laptop. Do you have an idea on how to include this preview (i already try epstool without success)?
    Thanks.

  14. I am not a linux user anymore so I don’t know any of the tools. One thing you might try is creating an EPS with preview (using GIMP or so?) and then COPY and PASTE the preview image in your other file using an editor. I once wanted to create a prank EPS-file like that, with the lady in the image that is printed being slightly less dressed than the one shown on screen. This was before the internet was available and I never stumbled upon two images that could be used for this. By the time the net was available, I had already grown up :-)

  15. how to open eps file? plz

  16. pls give a source to open .eps files

  17. EPS files are “vector” files. AI is just to open your project up in “Abobe Illustartor”.
    One important tip.
    If in your project you use a special font (i would suggest doing this with any font what so ever) CONVERT IT TO “OUTLINES”
    to do this select your text input then do this (in CS3)–>Object/Create outlines

    this will enable you to not loose the font when opening it on another computer. Plus if you only need vectors for your files you need to convert it into outlines too- because Text Input is Art input not VECTOR.

    chers

  18. Thanks Jeremy for jumping in. Allow me to add to your comment that EPS files are usually vector files but can also be bitmap images. If the advise to use Adobe Illustrator does not work, try Photoshop. In my first comment from August 29, I explained how to see which application originally was used to create the file. That might help.

  19. I have included EPS images on a website which are visible on some machines but show as an error on others. Am I doing something wrong when creating the image or is it a glitch with Internet Explorer?

  20. Did you actually use EPS-images on a web page? The file format is completely unsuitable for that type of usage and you can only hope the software can convert everything into a format that all browsers can digest. Don’t blame Internet Explorer - stay away from EPS for web publishing.

    In fact, try to stay away from EPS at all.

    I’ve added an interesting comment from Adobe to the end of my article on the history of PostScript. In it Dov Isaacs clearly states: “…Adobe will continue to support EPS as a legacy graphics format for import of non-color managed, opaque graphical data into Adobe applications (such as InDesign and Illustrator). Although we certain do not recommend that new graphical content be stored in EPS format (except to satisfy the need to import data into page layout programs that aren’t quite PDF-centric — no need to mention names here!), our user base should feel comfortable that there is no need to worry about a need to convert their very sizable libraries of EPS-based graphic assets.”

    In shoart: EPS is a legacy file format. PDF is the way to go when it comes to printed matter. For web publishing, I think PNG is the most suitable bitmap format while Flash or SVG are more suitable for vector graphics.

  21. how to deal with eps files ??

  22. That is a very generic question and a lot of stuff is already covered on this page. What exactly ido you want to do with EPS-files?

  23. How do I convert a PDF to an EPS?

  24. If you have Acrobat Professional: open the document, select ‘Save as’ and choose EPS as the file format.

    Whether there is actually still a need to convert EPS files to PDF is an entirely different issue. I can only imagine that this is needed when working with old software packages that cannot cope with PDF yet.

    Take into account that the conversion from PDF to EPS may not be flawless: if the source file contained transparency, that will be flattened. The quality of blends may suffer and in some rare cases, people have reported issues with fonts (characters being replaced by weird characters or spaces)

  25. i work at class on a mac that uses illustrator cs2. i use cs3 windows. i hate now knowing which file to save work as when i use a particular program like illustrator. what file type do i save an ill file as if i need to take my jumpdrive to class and open it on mac but still be able to work on it there on the school’s mac computer??? and photoshop for that matter as well???

    this is extremely frustrating for me. extremely!!!

  26. Hi, does anyone know a way of converting a word document into an eps file?

  27. Converting a Word document to eps? Yuck…

    One work-around that I am aware of is exporting the Word file as a PDF and then either exporting each page from that PDF as an EPS using a tool like Acrobat Professional or placing each page of the PDF in a layout application that is capable of generating EPS files.

    Another solution would be to import the Word file in a lay-out or drawing application, tweak the layout until it fits your needs and then export to EPS.

  28. I recieved a cd which contains alot of EPS files.
    When i open these files all i get is a box with diagonal lines in it. What can i do?
    Please reply asap.

    Thanks
    Justin

  29. I was looking for advice on colorspace assciated with eps format files. What happens if I try and include PMS defined colors in an eps file? Are they automatically converted to CMYK or RGB, or are they left unchanged?

  30. Spot colors can be maintained in an eps file. The application creating the eps file usually includes alternative RGB or CMYK values of the spot colors in the eps data.

    It is up to the operator of the prepress system that processes the file to determine what will be done with the spot color.

    A system such as Agfa ApogeeX allows a user to
    - output the spot color as a separate plate
    - use the color values supplied in the eps to convert the color to CMYK
    - do a conversion to CMYK based on the Lab values found in its spot color library
    - do a conversion to CMYK based on custom values that can be entered in an exception dictionary

  31. Many thanks for that

  32. i have some eps file and i want to import them into a word document. i can convert them to pdf format and take a snapshot of them with adobe acrobat. but while converting this word document into the pdf, the images havent the first quality. how i can import this documents without quality losses?
    thanks alot…

  33. I’m having a problem viewing some .eps files in Word.

    When I insert an .eps file into Word (such as my company logo), I have no problem viewing it in Word. (Although the preview is not crisp, it prints beautifully.)

    However, when I create something in Illustrator myself, save it as an .eps, and insert it into Word, I can’t view it. All I get is a blank white “placeholder” box.

    Obviously I’m missing a step somewhere. Does anyone know if there’s a specific setting? I want to keep it as an .eps file (not the “save for MS Word” option that makes it a .png file.

    Any advice is appreciated. I can’t figure it out!

  34. Saving from CS2 as an Illustrator 8 file does the trick on my system - I can import the file and get a preview in Word 2003.

    I hope this also answers Habib’s question: don’t try to convert the EPS file but import them as an EPS in Word. Even if the preview is blank, the output on a PostScript printer should still be fine. It is obviously your conversion to a screen capture in Acrobat which causes the quality loss.

  35. I was just wondering if anyone had any suggestions on what program I need to purchase to create some things in .eps format. What I need to create is a layout for a box that will be printed out and assembled. I need a program that I can draw the flat box out in scale and use Pantone colors. I have looked into a few like Corel Draw and Adobe Illustrator, but I was just wondering if anyone could give me any suggestions or opinions. Any feedback would be greatly appreciated.

  36. EPSQLPlugIn is a QuickLook plugin for Mac OS X Leopard to extend QuickLooks functionality to be able to display previews and thumbnails for eps files.

    http://www.eternalstorms.at/utilities/epsqlplg/index.html

  37. when I create labels for CDs and send them to the printer I save as eps in photoshop, but theres 2 to choose from, DCS 0.1 and DCS 0.2, sometimes they can’t open the file, is it because I chose the wrong one and if so which one should I choose?

  38. Unless your labels contain spot colors there is no point in using DCS, as discussed on this page:
    http://www.prepressure.com/library/file-formats/eps-dcs

    Are you sure your printer doesn’t prefer another file format?

    I am not aware of any issues with DCS 1 or DCS2 files giving problems with opening them. You might try asking around on http://forums.b4print.com - maybe one of those guys knows about this.

  39. Please forgive an odd question, but is it legal to use non-adobe programs to export .eps files? Specifically open-source programs? I’ve been searching for an answer to this about several adobe formats. (.ai, .psd, .eps) I haven’t been able to get an answer from Adobe.
    Any help would be much appreciated.

  40. Software companies who produce applications which can export to those formats have already entered into a licensing agreement with the copyright holder. You need not concern yourself about such issues as they are not yours to worry about.
    If you own a legal copy of the software you use to export these file types, then you are legally covered.

  41. Maybe the question is really about writing such a program yourself? In that case there are indeed some pitfalls as some of the compression algorithms used in PostScript are proprietary. Understanding the legal consequences of font embedding would also be useful, especially for TrueType fonts that can have a flag to indicate that they should never be embedded. I have never read or encountered any info on this topic so I cannot really point to better sources of information.

  42. Thank you for your feedback. I’m most concerned about using existing open source programs, not making the programs myself. (Though I can see how I didn’t make that clear.)

  43. I deleted a message from Scott who posted a cryptic message using an incorrect e-mail address. Please use a valid e-mail address if you post comments on these pages.

    As for the occasional smutty ‘joke’-messages: this server logs IP-addresses and a simple search tells me which school you are from. Go play somewhere else.

  44. http://indesignsecrets.com/my-100-eps-challenge.php

  45. Hi,
    I have created ai and eps files for people to download from my website and cut on their vinyl cutters. I am having a terrible time with our eps files. They test fine on my computer…but don’t work on others. From what I read above, it probably has to do with the 8 bit way I am saving the file. How can I lower the file size in corel draw…I have found that the file name has something to do with how it works as well…any exact format as to how a file name should read. I really appreciate any help.

  46. I have somewhat of an opposite question from the few I read (I didn’t read all the comments though, I gave up). I need to know how to convert an .eps graphics file into a .jpg or a bitmap file, is that possible and how can I do it?

  47. A number of drawing applications like Adobe Illustrator or Corel Draw can open EPS-files and save the data as a bitmap file. If you only need a low resolution bitmap, placing an EPS in an application like InDesign, selecting the best possible preview quality and then creating a screen capture is another possibility. You could do the same thing by opening the EPS in Acrobat professional.

  48. Hi, I am trying to better understand the overall EPS document structure. Namely, if there are any plain text included in the document as plain text, not image, is there a way I can parse through the document and identify these texts? I noticed that some labels are surrounded with [( and )]?
    Any thoughts greatly appreciated!
    -dK

  49. We are required to have EPS images of our sponsor logos in order to use them on our fundraising posters. We use Publisher to create posters. We are unable to see the EPS images when doing this. Is Adobe Illustrator more compatible?

  50. Cynthia, I don’t have Publisher at my disposal to test things out but here iswhat is likely happening: for display purposes, EPS-images contain a small embedded preview or thumbnail image. This image can be either PC-style or Mac-style. Since graphic arts works mostly with Macs, most EPS-files have a Mac-style preview image embedded. Most professional layout applications can display both PC and Mac style previews. There are however applications that cannot handle both types of previews. I suspect Publisher is one of them.

    There are two possible solutions for your problem:
    - convert the EPS-files to PC-style EPS files. There are Mac tools that can do this but a quick search didn’t pop up any PC equivalents (which are bound to exist somewhere)
    - Move to a professional lay-out application, in which case Adobe Illustrator wuld indeed do the trick.

  51. Daniel, it’s been ages since I looked at PostScript code. Text can indeed be plain readable text (I remember fixing a typo this way ages ago) but I don’t know any longer how it is identified.

  52. When using eps formatted files to store .dxf and .dwg type documents from CAD, what is the best program to use in order to preview the eps file in its highest resolution?

  53. I need to send our logo for some screen printing and they want an eps file with vector lines. Te instruction they give me doesn’t work. I have saved them as photoshop eps files, then opened them in illustrator, and they look ok. When I place them into a blank illustrator document they look horrible.
    I use Photoshop 7 and Illustrator 10.

  54. Hi, im trying to open an EPS file using Corel draw and all i can see is a greyed out box with a few lines of text in it, can someboby please help me open this so i can use it in my marketing project.

    Regards Dave

  55. Unfortunately there are two things about the EPS file format that make this a pretty difficult issue to tackle:

    EPS is not really an intermediate format that is meant for editing. Adobe Illustrator can use it in this fashion by adding lots of Illustrator-specific data in the EPS-files that it creates but that is just a clever way of using the technology.

    There is also no cheap universal EPS-editing tool that can be used to open any EPS-file and edit it. There are high-end editing applications from vendors like OneVision that might pull this off but more affordable packages like Corel Draw or Adobe Illustrator really only excel at handling EPS-files written by themselves. You could always try converting your file to PDF and trying to edit the PDF data.

  56. Hi, I’m trying to automate screening eps files before they go to the printer for things like fonts that weren’t converted to outlines, image size, colorspace not CMYK. Can anyone recommend a tool to extract/valiadte information from a eps file in a Unix scripting environment?

  57. Hi I have a question. I recently purchased a vinyl cutter that will be here soon. I have some line art I made that I would like to make into vinyl decals. I have adobe ps cs2. What file format should I save these files under to use with SignGo Pro?

    Just trying to get my ducks in a row before the cutter arrives.

    Thanks in advance for any help!

  58. To View EPS Files Do this

    1. Go here and install this
    http://www.irfanview.net/

    2. Go here and Install this
    http://sourceforge.net/project/showfiles.php?group_id=1897&package_id=1845&release_id=417781

    For Step Two Make sure you Download the file for your O.S and CPU

    KTHXBYE!

  59. I saved my EPS logo file created in CS2 on my MAC for my client who uses Word on his PC. I tried saving it as Tiff-8 bit, and he can’t insert it. I read from above responses that I could save it down to Illustrator 8, but I don’t have the native Illustator 8 on my Mac anymore, so I won’t be able to convert it for PC user once I have saved down to 8….please instruct what to do.

    Do saving my eps as pdf will solve the problem for my client? He needs the logo for high quality printing. And how about if the logo has transparency, how does a pdf addresses that on my client’s machine. Thanks much.

  60. my client has Word 2005, and his word can’t preview the EPS file i created in CS2 (I have saved it down to Illustrator 8). Does anyone know how to resolve this problem?

    thanks.

  61. I am trying to load .eps files into Illustrator CS2 V.11. I am getting an error message that reads “either not enough memory or file is too complex” and loads the file in black and white. I need to extract one colour out of the CMYK file and add it as a 5th colour. The eps files are exported from ArcGIS 9.2

  62. I received an artwork in jpg format from my client, however I need a vector file in ai. for printing plates processing. how can I convert jpg into ai or esp?
    Thanks a lot.

  63. You can use the outline tools from Illustrator itself to do this.

  64. Hi,
    If I had to submit a design (it has both images and un-rasterized texts) I did in photoshop CS2 in both EPS and PDF formats, what should be the ideal setting for each? Could you help me? Thanks…

  65. Hi

    I have been sent an EPS file that I can open in Photoshop but I can’t open in Corel where I actually need it. I need to print it on my vinyl cutter. How can I open it or save it as curves.

Add a Comment