Editing EPS Files With TIFF Or Metafile Heade

DocumentID: 601702
Revision Date: 29-Feb-96 1:28:46 PM

The information in this document applies to:
WordPerfect® 5.1 for DOS

Problem

Solutions: Many graphics programs export EPS files with a Preview header. The preview header is another graphics image in TIFF or Metafile format. The header allows applications that cannot read PostScript to display a representation of the image from an easy-to-read format. Many graphics applications will place the header on the EPS file using TIFF version 5. WordPerfect 5.1 for DOS and Windows does not currently support TIFF version 5. Many graphics, especially from the Macintosh, will place Metafile headers on the EPS image. WP DOS and WPWin version 5.1 do not currently support this header. It is possible in some programs to save the EPS file without the Preview header. If the program has no option to do this, and the customer feels comfortable editing the file, the removal of the header can be done in WordPerfect. To edit the EPS file, import the file as a DOS text file (to the document screen). You will see a series of garbage characters followed by the EPS text (see example below). The garbage characters are the preview header. To remove the header, delete the garbage characters from the top and bottom of the file. Note that there may not be garbage characters at the bottom of the file (they may all be at the top). The first line of the EPS file is similar to "%%PS-Adobe-2.0 EPSF-1.2" or "%!PS-Adobe-2.0 EPSF-2.0". All garbage before the first line should be deleted. There usually garbage at the end of the file as well. The garbage will appear Directly after the last command of the EPS information. Notice in the example that the TIFF header information does not begin on its own line. EPS files do not need to have each command on a separate line. Because of the fact that some files are one long string of information, finding the end of the text is difficult. One good trick to use in finding the end of EPS information is move to the bottom of the file and search backwards for a "%". The "%" and "%%" are comments in EPS. Most EPS files have "%%EOF", "%%EndDocument", or "%%Trailer" near the end of the EPS information. Another option is to search for "MM*" or "II*". If the EPS contains a TIFF header, the "MM*" or "II*" would be the start of the TIFF information. This text, and all garbage afterward should be deleted. For Metafiles, The garbage could begin with ^A^@, ^B^@, or the line draw characters "+=|". These characters and everything afterward need to be deleted. After all garbage characters have been deleted, save the remaining EPS information as a DOS text file. The customer should be able to use this file. EXAMPLE EPS FILE WITH TIFF HEADER: +--|^_|_= %!PS-Adobe-2.0 EPSF-1.2 %%Creator:Adobe Illustrator™ 1.2d4 %%For:Judy %%Title:Baseball.EPS %%CreationDate:11/17/87 10:19 AM %%DocumentProcSets:Adobe_Illustrator_1.2d1 0 0 %%DocumentSuppliedProcSets:Adobe_Illustrator_1.2d1 0 0 %%DocumentFonts:Courier %%BoundingBox:-60 -31 115 90 %%TemplateBox:288 -360 288 -360 %%EndComments %%BeginProcSet:Adobe_Illustrator_1.2d1 0 0 % Copyright © 1987 Adobe Systems Incorporated. % All Rights Reserved. % Adobe Illustrator is a trademark of Adobe Systems Incorporated. /Adobe_Illustrator_1.2d1 dup 100 dict def load begin /Version 0 def/Revision 0 def % definition operators /bdef {bind def} bind def /ldef {load def} bdef /xdef {exch def} bdef % graphic state operators /_K . . . %%Trailer _E endMM*^H^AOm^AOOm^AOr^A*=|*^Aj^A^A|*|^A . . . (Usually lots of garbage from here on)

Answer:

Details:

Product specifications, packaging, technical support and information (*Specifications*) refer to theUnited States retail English version only. Specifications for other versions may vary. All Specifications, claims, features, representations, and/or comparisons provided are correct to the best of our knowledge of the date of publication, but are subject to change without notice.OUR MAXIMUM AGGREGATE LIABILITY TO YOU AND THAT OF OUR DEALERS AND SUPPLIERS IS LIMITED. IT SHALL NOTEXCEED THE AMOUNT YOU PAID TO ACCESS THE INFORMATION. SEE LEGAL DISCLAIMER.