[NTG-context] how to get an image format flowchart

Hans Hagen ntg-context@ntg.nl
Wed, 21 Jan 2004 14:11:01 +0100


At 15:02 21/01/2004, you wrote:
>Hello,everybody,
>
>      I have a problem while using context to create some flowcharts. The 
> beginning of
>my tex source file looks like:
>
>      \setupoutput[pdftex]
>      \usemodule[chart]
>
>      Naturally I got a flowchart in pdf version. But a pdf version 
> flowchart is
>not suitable for inserting into a paper or a report. Then I try to use 
>software to convert it from pdf format into some other imgage formats. But 
>none of them was satisfied.
>I wonder how can I direct get a flowchart in some imgage formats (e.g. in 
>png, jpg format) from the source tex file. Are there some
>tricks in the settings of the tex source file?

you can try ghostscript:

   d:\gs\gs8.00\bin\gswin32c.exe -r1200x1200 -q -sDEVICE=png16 -dNOPAUSE 
-dBATCH -sOutputFile=result.png result.pdf

   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

system dependent

Hans