AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2003.09.24 02:00 "[Tiff] text to image", by
2003.09.27 07:50 "[Tiff] text to image", by Andrey Kiselev

2003.09.27 07:50 "[Tiff] text to image", by Andrey Kiselev

On Wed, Sep 24, 2003 at 11:00:05AM +0900, handy@maltech.ne.jp wrote: > > What do you mean as a text file? The text in human readable language or > > an array of ASCII numbers representing a pixel values?

I meant text file of human readable language (i.e. body of email), I need to rasterize/render it into array representing pixels to be fed into TIFFWriteEncodedStrip, to create a .tiff file..

It is not libtiff related problem. What do you need is a typesetting engine and you can choose from the simplest ones (enscript, a2ps) or advanced systems (groff, lout, TeX). As soon as you get typesetted layout in PostScript format you can rasterize it with Ghostscript. GS has its own TIFF writer, but if you need more advanced TIFF features like Group 4 compression or custom tag set you can use libtiff as the second pass on GS output.

Regards,
Andrey

--
Andrey V. Kiselev

Home phone: +7 812 5274898 ICQ# 26871517