AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2004.12.13 11:35 "[Tiff] doubt regarding text in a tiff file", by Meenatchi Raja Rajeshwari
2004.12.14 20:20 "Re: [Tiff] doubt regarding text in a tiff file", by Andrey Kiselev

2004.12.14 20:20 "Re: [Tiff] doubt regarding text in a tiff file", by Andrey Kiselev

On Mon, Dec 13, 2004 at 05:05:14PM +0530, Meenatchi Raja Rajeshwari wrote:

  i want write a text in a tiff file.
 How to do that?

You should render your text and save resulting image in TIFF file. Text may be rendered using different ways. For example, you can use typesetting engine to get a PostScript output and use GhostScript to render it to file. There are number of simple typesetting systems (a2ps, enscript) and complex ones (TeX, groff, lout). You can even try to write PostScript file yourself, without any engines.

You can choose simpler way: just use one of the libraries/utilities which are able to render text into image themselves. These are ImageMagick/GraphicsMagick, NetPBM, GD library, PIL (Python Imaging Library) and likely many other free tools.

Andrey

--
Andrey V. Kiselev

Home phone: +7 812 5970603 ICQ# 26871517