AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

1998.05.25 13:12 "LibTiff and ASCII2TIFF Conversion", by John Daley
1998.05.26 07:32 "Re: LibTiff and ASCII2TIFF Conversion", by Rob Tillaart
1998.05.26 11:13 "Re: LibTiff and ASCII2TIFF Conversion", by Frank D. Cringle

1998.05.26 07:32 "Re: LibTiff and ASCII2TIFF Conversion", by Rob Tillaart

As far as I can see, LibTiff does not provide a tool to convert ASCII to TIFF.

Can someone please give a pointer to a DOS or Windows utility (preferably a DLL) that can do the conversion? I have already found a few printer drivers that allow you to print to a TIFF file but I would like something that can be called from another program without user intervention or the inconvenience of sending key codes,

I don't know any direct conversion-tool but a possible solution could be a pipe/batch of the following:

an ascii_to_ps filter like genscript.
then GhostScript to produce ppm
finally in the libtiff there's a ppm2tiff tool

genscript: http://www.ngs.fi/mtr/genscript/index.html GhostScript: http://www.gnu.org/software/ghostscript/ghostscript.html

Can't garantuee any performance :)

regards,
Rob vd Tillaart
Oce Technologies BV

E-mail: rvdt@oce.nl                Dept:  R&D
Tel:    (+31) 77 359 4076          Mail:  P.O. Box 101, 5900MA, Venlo
Fax:    (+31) 77 359 5450          Visit: St. Urbanusweg 43, Venlo
----------------------------------------------------------------------------
This note does not necessarily represent the position of Oce-
technologies B.V. Therefore no liability or responsibility for
whatever will be accepted.