Article View: adobe.postscript.programming
Article #33Re: How to extract text and image information from postscript file
From: Paperino
Date: Sat, 07 Feb 2009 00:09
Date: Sat, 07 Feb 2009 00:09
18 lines
2242 bytes
2242 bytes
"Dov Isaacs" ha scritto > First of all, PostScript is not a "text" file. It can and often does > contain binary data. Since PostScript streams often contain > nested procedures, unless you process the procedure definitions > and can "execute" them, you cannot simply "scan" a file to get > what you want. No, I can't talk about this in detail since it is quite > complex. > [PLRM] Look that over and you will have a fairly healthy respect > as to the task involved. Moreover, there can be text that is perfectly readable for an human being but very, *very* difficult to extract as such, if it's possible at all: if you do a "convert text to curves" in any graphics program you'd understand what i'm talking of. In those cases, the only way to *try* to read some text would be to convert the PS to a raster image and pass it to an OCR. Bye, G.
Technical Details
Message-ID:
<gmijfr$ia3$1@news.motzarella.org>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!feeder.news-service.com!news.motzarella.org!motzarella.org!news.motzarella.org!not-for-mailReferences:
<59b7c9f2.-1@webcrossing.la2eafNXanI> <59b7c9f2.2@webcrossing.la2eafNXanI> <59b7c9f2.4@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: 10c61a,1ea3827647f4e51e X-Google-Attributes: gid10c61a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!feeder.news-service.com!news.motzarella.org!motzarella.org!news.motzarella.org!not-for-mail From: "Paperino" <non_te@lo.dico.invalid> Newsgroups: adobe.postscript.programming Subject: Re: How to extract text and image information from postscript file Date: Sat, 7 Feb 2009 01:09:31 +0100 Organization: A noiseless patient Spider Lines: 20 Message-ID: <gmijfr$ia3$1@news.motzarella.org> References: <59b7c9f2.-1@webcrossing.la2eafNXanI> <59b7c9f2.2@webcrossing.la2eafNXanI> <59b7c9f2.4@webcrossing.la2eafNXanI> Reply-To: "Paperino" <gaetano_d@hotmail.com> X-Trace: news.eternal-september.org U2FsdGVkX1/FAStRls/aX9i9Ja4IOs5Yn+qHDhf1OKzJHT8GrcwdNLVuDI1OrWyw31GuqmgXgKNwyVW7L+4CUhpEQ2bJpmWwD23GoSE4azU9s3ZSbcdzmk1FPUVgGD859g6UMq0fRek= X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers NNTP-Posting-Date: Sat, 7 Feb 2009 00:09:31 +0000 (UTC) X-RFC2646: Format=Flowed; Original X-Newsreader: Microsoft Outlook Express 6.00.2900.5512 X-Auth-Sender: U2FsdGVkX19mare3Z8AC/FBvh9ZYRKh6QoKl/wWfktv0iUBCCzVAdg== Cancel-Lock: sha1:b+x0mCC93kW14OAxdsy4vpnmWv4= X-Priority: 3 X-MSMail-Priority: Normal X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.5579