For Programmers: Free Programming Magazines  


Home > Archive > PostScript > June 2005 > Re: Converting postscript to ASCII









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Converting postscript to ASCII
Roger Willcocks

2005-06-09, 8:57 am


<dbtung@berkeley.edu> wrote in message
news:1118275597.619112.47670@f14g2000cwb.googlegroups.com...
> Hi,
>
> I'm looking for a program (or how to write a program) that will change
> a postscript file to ASCII. I've looked at the ps2ascii script that
> comes packaged with Ghostscript, and its output is acceptable on many
> postscript files. However, I find that it runs into problems when I
> encounter files with figures in them. Is there a way to filter out the
> figures from the postscript file before I start processing it? Or a
> different program that I should try? Otherwise, any advice on how I
> could write a program to attack this problem?
>
> -DT
>


Render the file to a bitmap and use OCR software.

--
Roger


Lee Sau Dan

2005-06-09, 3:58 pm

>>>>> "Roger" =3D=3D Roger Willcocks <rkww@rops.org> writes:
[color=darkred]

Roger> Render the file to a bitmap and use OCR software.

And you expect that to be better than ps2ascii?




--=20
Lee Sau Dan =A7=F5=A6u=B4=B0 ~=
{@nJX6X~}

E-mail: danlee@informatik.uni-freiburg.de
Home page: http://www.informatik.uni-freiburg.de/~danlee
Rod Dorman

2005-06-09, 8:57 pm

In article <87zmtz7ctn.fsf@informatik.uni-freiburg.de>,
Lee Sau Dan <danlee@informatik.uni-freiburg.de> wrote:
> ...
> Roger> Render the file to a bitmap and use OCR software.
>
>And you expect that to be better than ps2ascii?


You could also print it out and give it to a TA to transscribe.

Oh wait... the same question aplies :-)

--
-- Rod --
rodd(at)polylogics(dot)com
Lee Sau Dan

2005-06-10, 8:57 am

>>>>> "Rod" =3D=3D Rod Dorman <rodd@panix.com> writes:

Rod> In article <87zmtz7ctn.fsf@informatik.uni-freiburg.de>,
Rod> Lee Sau Dan <danlee@informatik.uni-freiburg.de> wrote:[color=darkred]
Roger> Render the file to a bitmap and use OCR software.[color=darkred]

Rod> You could also print it out and give it to a TA to
Rod> transscribe.

My boss used to do something like that: If he finds a nice figure in a
book (physical) and wants to use it in his lecture slides
(PowerPoint), he tells his secretary to scan it in for him. We have
also taught the secretary to use XFig, so that she can produce
vector-graphic figures for the boss's in LaTeX-formatted papers.

I'm not sure which is more expensive: an experienced secretary or a
TA.


--=20
Lee Sau Dan =A7=F5=A6u=B4=B0 ~=
{@nJX6X~}

E-mail: danlee@informatik.uni-freiburg.de
Home page: http://www.informatik.uni-freiburg.de/~danlee
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com