How to convert TeX files to tiff images

I have 3 test .tex files and could not create Image (png or Tif) images of each.
using my desktop application.
Do you have an example to read disk file and output an image?

First of all, if your files use LaTeX format then you can’t typeset them anyway since there’s no LaTeX support in libraries yet, but is coming up soon. If your files use the Plain TeX format then you can typeset them using the code similar to https://docs.aspose.com/tex/net/latex-to-image/ (section “LaTeX to PNG”) where you should replace the XpsDevice class with ImageDevice and appropriate SaveOptions.

@elumicor, The library does support LaTeX format now.