From: Foley, Brian (Galway) (Brian.P.Foley at domain compaq.com)
Date: Mon 17 Jul 2000 - 15:00:07 IST
> Hi all,
> Anyone know of a program that'll convert eps files to plain old
> Also, I want to extract the text information from the eps/ps file. Any
> easy way to do this?
> Thanks in advance,
> William Murphy
> alias at domain eircom.net
An EPS file is just a PostScript document that conforms to Adobe's Document
Structuring Convention. It has comments in it that can include a preview
bitmap picture, all the resources needed by the PS file to print, prologue,
epilogue, and certain restrictions on how certain PS operators can be used.
IE all EPS files are PS files, but not all PS files are EPS.
To extract text from a PS document I think your best bet is to use one of
the utilites in ghostscript that goes through most of the steps of printing
the document, but instead of producing an image, it just looks at any
operator that produces text, and puts all the resulting text into a text
file. I think the utility is called ps2text, but I could be wrong.
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:06:53 GMT