AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
February 1998

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

1998.02.13 18:19 "Text to tiff?", by Randy Myers
1998.02.13 21:44 "Re: Text to tiff?", by Alberto Accomazzi
1998.02.14 01:12 "Re: Text to tiff?", by Gary M Hewitt

1998.02.13 21:44 "Re: Text to tiff?", by Alberto Accomazzi

In message <3.0.1.32.19980213131938.00299e70@tidybo>, Randy Myers writes:

> Greetings, all.
> 
> I wish to annotate an existing bitonal TIFF with text, under Unix.
> 
> I'm prepared to merge TIFFs made from text with existing images, but I'd
> certainly welcome any knowledge of a tool that is intended for annotation.
> 
> Are there alternatives to netpbm tools for rendering text as a TIFF graphic?
> I need multi-line, multi-font capabilities and some scalability or a
> reasonable
> selection of sizes; and it would be nice if I could just state the resolution
> I want in the target image.  Proportional and exotic fonts are not required.

Randy,

your best bet is to let ghostscript (http://www.cs.wisc.edu/~ghost)
do the job in terms of rendering the text and createing a TIFF G4 file.
Assuming you can have the textual information in a snipped to postscript
code, you can then let ghostscript encapsulate it and then output a 
tiff file including only what's in the postscript bounding box.  

You could even take this a step further, by converting the original
image (the one to be annotated) to postscript (as a bitmap), let 
ghostscript rasterize it, overlay the annotation on it, and then write
it out as a TIFF G4 file.  May be a bit obstruse, but it should work.


-- Alberto


****************************************************************************
Alberto Accomazzi                 NASA Astrophysics Data System / SIMBAD USA
aaccomazzi@cfa.harvard.edu             Smithsonian Astrophysical Observatory
v/f: 617-495-7076/617-496-7577                60 Garden Street, Mail Stop 83
http://cfa-www.harvard.edu/~alberto                 Cambridge, MA 02138  USA
****************************************************************************