man(1) Manual page archive


     TROFF2IMG(1)                                         TROFF2IMG(1)

     NAME
          troff2img - convert typesetter output to image

     SYNOPSIS
          troff2img

     DESCRIPTION
          Troff2img reads troff(1) output from standard input and con-
          verts it to image(6) format.

     EXAMPLES
          To preview a small image generated by troff for inclusion in
          a web page

               eval `{doctype table.ms} | troff2img | page

          To convert the image for viewing as a PNG image

               eval `{doctype table.ms} | troff2img |
                    topng > table.png

     SEE ALSO
          troff(1), image(6).