Re[2]: module to convert text to tiff ???
by Christopher Taranto other posts by this author
Jun 23 2008 1:14AM messages near this date
view in the new Beta List Site
Re: module to convert text to tiff ???
|
templates for parsing similar documents ???
On Sun, June 22, 2008 7:23 pm, Mike Schleif wrote:
> * Jenda Krynicky <Jenda@[...].cz> [2008:06:23:02:26:17+0200] scribed:
>
> > Date sent: Sun, 22 Jun 2008 18:41:27 -0500
> > From: Mike Schleif <mds@[...].org>
> > To: perl-win32-users mailing list <perl-win32-
> > users@[...].com> Subject: module to convert text to tiff
> > ???
> >
> >
> >> I'm searching cpan; but, I do not find what we need.
> >>
> >>
> >> We want to convert text documents to tiff format.
> >>
> >>
> >> What do you think?
> >>
> >
> > Convert text documents to an image? Erm? What kind of documents? What
> > do you mean by the conversion? If you wanted to convert between different
> > image formats it would be clear, but what does it mean to convert a text
> > document to an image?
>
> This project is part of a large workflow process.
>
>
>
> There is a document management software that OCR's incoming documents.
>
>
> We take the OCR'd plain text, parse it into a fields/values hash,
> compare sku's/prices to a database, rearrange the fields/values into a
> normalized format, and pass a tif image of the resulting document back to
> the document management software for search/archival purposes.
>
>
> cpan lists many modules for converting graphics formats to tiff.
>
> Google shows several proprietary/pay binary text to tiff conversion
> tools.
>
>
> I am hoping to do this entirely in Perl.
>
You actually need to print your document with a TIFF print driver. You
can try Ghostscript which has a Postscript driver and then convert to
TIFF.
This URL goes through the process:
http://server3.nethost.co.il/set_tif.html
Ghostscript:
http://www.ghostscript.com/awki
HTH,
Christopher Taranto
_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Mike Schleif
Greg Aiken
Greg Aiken
Sisyphus
Glenn Linderman
Jenda Krynicky
Mike Schleif
Christopher Taranto
|